ghregedit is unable to detect/find Windows after sysprep is run before an image capture
search cancel

ghregedit is unable to detect/find Windows after sysprep is run before an image capture

book

Article ID: 219753

calendar_today

Updated On:

Products

Ghost Solution Suite

Issue/Introduction

Using a dual boot environment in Linux the windows partition is mounted to sda1. Before syspreping windows system the Linux command ghregedit /windows will display the version of windows installed. After sysprep and running the same ghregedit /windows the Linux command output does not display the version of windows installed. Ran the Linux command ghconfig /findactivewindows and it also not display the version of windows installed. Also ran ghconfig /windows with the same results of not displaying the version of windows installed.

Tested this with the tools from both GSS 3.3 RU4 and RU7 with same result

Environment

Release :GSS 3.3 RU4 and RU7

Resolution

In order to make ghregedit and ghconfig detect windows properly, customer may need to backup bcd before sysprep and restore after.

  1. run bcdedit /export c:\BCD_BACKUP.bcd
  2. run sysprep with switch /quit (to prevent automatic reboot or shutdown)
  3. run bcdedit /import c:\BCD_BACKUP.bcd
  4. do what is needed for syspreped machine