Unable to update the SID of the device

  • 7014367
  • 02-Jan-2014
  • 06-Feb-2014

Environment

Novell ZENworks Configuration Management 11.x Imaging
Microsoft Windows 7

Situation

The following error is seen after restoring an image:

ERROR:
Error
Unable to update the SID of the device. Restore the image of the device again. If the problem persists, disable the SIDchanger.




The following is seen in the sidChange.log created after restoring the image:
NOTE: Please see the Imaging section of TID 3418069 for information on gathering the sidChange.log

 CHANGING BCD
Partition number where Windows OS(Boot Partition) is installed : 0
Could not open BCD Hive file at partition: 0
Active Partition(System Partition) is not installed on partition 0 and is installed on partition 0:
Could not open BCD Hive file at partition: 0
Not able to open BCD hive file in Windows Partition(Now trying on Different Partitions)
Could not find any Active Partition where BCD resides
Could not open the registry hive file

Resolution

Make the image again and include the 100 MB Windows boot/restore partition in the new image.

Possible steps to prevent needing to completely re-make the image from scratch:

  1. Start with a machine known to have a working boot partition
  2. Boot to ZENworks Imaging Maintenance Mode either through PXE or the bootcd.iso
  3. Enter the command: img
  4. Select Restore Image
  5. Select Server and then Next
  6. Enter the Path to image archive
  7. Select Specify Advanced Options and then Next
  8. Select Modify Disk Partitions to open the Modify Physical Partitions dialog
  9. Leaving the 100 MB active partition, select and then delete the others
  10. Create suitably sized disk partitions for the partitions on the image
  11. Select Done
  12. In the Image Partitions section, select the second Not assigned line
  13. Select Add Assignment and add the first Available Image Partition
  14. Repeat the last two steps to assign the rest of the Image Partitions (Leaving the first as Not assigned)
  15. Select Next to start the imaging process
  16. When the imaging process is finished, verify that the device boots properly
  17. Re-run SYSPREP and make an image that includes all the partitions on the device
NOTE: This process may or may not work. If it does, it will save some time in re-making a working image.

Cause

In this case, an image was made that didn't include the Windows boot/restore partition. The BCD (Boot Configuration Data) was not found because it wasn't part of the image that was restored.