View Single Post
Old 02-27-2008   #4 (permalink)
ejmichaud


 
 

Re: Vista Startup Script problem (loading registry hive issue)

On Feb 27, 7:38*am, jamesvdm <james...@xxxxxx>
wrote:
Quote:

> There's a lot of info here that may help you work around the issue -
>
> http://www.boot-land.net/forums/Runn...der-Vista-to-l...
>
> Good luck.
>
> James
I reviewed the information on the link above and found no useful
solution to this problem I have run into. I have tried this on
several Vista machines, all with exactly the same results.

Here is what I did in detail:
1) Install Vista (Windows Vista Business edition), computer added to
Domain
2) From Local group policy (gpedit.msc) set the startup script to run
the following code:
REG load HKU\DefUser C:\Users\Default\ntuser.dat
Pause
3) From Local group policy set "Computer Configuration\Administrative
Templates\System\Logon\Always wait for the network at computer startup
and logon" = Enabled
4) From Local group policy set "Computer Configuration\Administrative
Templates\System\Scripts\Run startup scripts asynchronously" =
Disabled
5) From Local group policy set "Computer Configuration\Administrative
Templates\System\Scripts\Run startup scripts visible" = Enabled
6) Reboot

On boot I see the following consistently on all VISTA computers I have
tested:
---- Start of output ----
C:\windows\system32\GroupPolicy\Machine\Scripts\Startup>reg load HKU
\DefUser C:\Users\Default\ntuser.dat
ERROR: A required privilege is not held by the client.

C:\windows\system32\GroupPolicy\Machine\Scripts\Startup>pause
Press any key to continue . . .
---- End of output ----

After logging in, if I run the same script (Run as Administrator) it
loads the hive as expected.

There seems to be some permission or privilege that the SYSTEM account
doesn't have that is required to load a registry hive with a startup
script on a VISTA machine.
My System SpecsSystem Spec