Skip navigation

JSI Tip 3876. Sysprep 1.1 causes insufficient rights error?

After running Sysprep (Microsoft System Preparation tool), some applications may issue:

You do not have sufficient rights to perform this task. Please make sure that you have Local Administrator rights on this computer before attempting this task again.

The Sysprep tool adds a comma after the Explorer.exe registry entry that defines the shell.

NOTE: If Windows 2000 Service Pack 1 or later had been installed prior to running Sysprep, this error will not occur.

To resolve this issue:

1. Use Regedt32 to navigate to HKEY_LOCAL_MACHINE\Software\Microsoft\WindowsNT\CurrentVersion\Winlogon.

2. Double-click the Shell value name and remove the comma from the end of the string. If the string is C:\Winnt\Explorer.exe,, change it to C:\Winnt\Explorer.exe

NOTE: If you do not want the image to be updated with a service pack, you can edit the Sysprep.inf file to include a Cmdlines.txt entry to remove the comma from the registry. See Q248257.

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.