Skip navigation

JSI Tip 3022. Windows 2000 error occurred while trying to update your registry?

When you start Sysprep.exe (System Preparation Tool version 1.1) using an answer file, you can receive:

An error occurred while trying to update your registry.

Unable to continue.

When you press OK, Sysprep.exe does not start?

If there is a mistake in the Sysprep.inf, most likely in the \[SysprepMassStorage\] section, this error message will occur.

Here is a sample \[SysprepMassStorage\] section:

PCI\VEN_8086&DEV_1222 = "%windir%\inf\mshdc.inf"
PCI\VEN_8086&DEV_1230 = "%windir%\inf\mshdc.inf"
PCI\VEN_8086&DEV_7010 = "%windir%\inf\mshdc.inf"
PCI\VEN_8086&DEV_7111 = "%windir%\inf\mshdc.inf" 
PCI\VEN_8086&DEV_2411 = "%windir%\inf\mshdc.inf"
PCI\VEN_8086&DEV_2421 = "%windir%\inf\mshdc.inf"
PCI\VEN_8086&DEV_7199 = "%windir%\inf\mshdc.inf"
PCI\VEN_9004&DEV_8178 = "%windir%\inf\scsi.inf"
PCI\VEN_101E&DEV_9060 = "%windir%\inf\scsi.inf"
. Make sure that your format is correct and that the .inf files exist.

If this was supplied by an OEM, make sure that the description matches the Txtsetup.oem description, that the path to the .inf is correct, and that the disk tag and ID match.

To troubleshoot this issue, comment out the 2nd - nth line and run Sysprep.exe -noreboot. If this fails, the first line is wrong. If it succeeds, comment out the first line and enable the second line and try again. Eventually, you will find the line in error.

NOTE: Sysprep 1.1 has the ability to apply images to other computers, even when the mass-storage device on the target computer does not match the master. To determine the version you are running, run Sysprep.exe without any switches.

To download Sysprep 1.1, visit

Hide comments


  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.