Re: startup script on winxp
From: Torgeir Bakken (MVP) (Torgeir.Bakken-spam_at_hydro.com)
Date: 03/15/04
- Next message: Peter: "Re: GPO for Allowing/Disallowing internet access for Users (2000 or 2003)"
- Previous message: Fred Lee: "Weird Microsoft Issue? Deployed application objects disappeared."
- In reply to: BoomStick: "Re: startup script on winxp"
- Next in thread: BoomStick: "Re: startup script on winxp"
- Reply: BoomStick: "Re: startup script on winxp"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 15 Mar 2004 20:31:40 +0100
BoomStick wrote:
> Hmm... this seems a little bit odd, but I do not have "Always wait for the
> network at comptuer startup and logon," as an option in Computer
> Configuration -> Administrative Templates -> System -> Logon
Hi
If I run gpedit.msc on a Windows XP computer, I find that setting.
Description of the Windows XP Professional Fast Logon Optimization Feature
http://support.microsoft.com/default.aspx?scid=kb;EN-US;305293
Scripts May Not Run Before Windows Explorer Starts Even Though
the "Run Logon Scripts Synchronously" Setting is Enabled
http://support.microsoft.com/default.aspx?scid=kb;EN-US;304970
By registry edit; Set the value SyncForegroundPolicy to 1 (REG_DWORD) in
this key:
HKEY_LOCAL_MACHINE\Software
\Policies\Microsoft\Windows NT
\CurrentVersion\Winlogon\
With a VBScript:
Set oShell = CreateObject("WScript.Shell")
sRegValue = "HKLM\Software\Policies\Microsoft\Windows NT\" _
& "CurrentVersion\Winlogon\SyncForegroundPolicy"
oShell.RegWrite sRegValue, 1, "REG_DWORD"
MsgBox "Please reboot the computer"
-- torgeir Microsoft MVP Scripting and WMI, Porsgrunn Norway Administration scripting examples and an ONLINE version of the 1328 page Scripting Guide: http://www.microsoft.com/technet/community/scriptcenter/default.mspx
- Next message: Peter: "Re: GPO for Allowing/Disallowing internet access for Users (2000 or 2003)"
- Previous message: Fred Lee: "Weird Microsoft Issue? Deployed application objects disappeared."
- In reply to: BoomStick: "Re: startup script on winxp"
- Next in thread: BoomStick: "Re: startup script on winxp"
- Reply: BoomStick: "Re: startup script on winxp"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|