Wednesday, April 24, 2013

Improve logon performance on XP, Windows 7, Windows 2003, Windows 2008

Disable (bypass) domain logon scripts (XP/2003)
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]
"Userinit"="C:\\custom\\Scripts\\UserInitLogonScript.cmd,"

UserInitLogonScript.cmd
@echo off
Set UserInitLogonScript=
Start %systemroot%\system32\userinit.exe
exit




Disable USERENV logging (XP/2003)
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]
"UserEnvDebugLevel"=dword:00000000



Disable RSOP logging (Resultant Set of Policy) (All OSs)
(Configured via Group Policy)



Disable WMI filtering on Group Policy Objects (All OSs)



Resolve issue with IE8 branding (20 second delay) (All OSs)
http://support.microsoft.com/kb/941158

To deploy to multiple servers:
1) List all computer names in a file named SERVERS.TXT

2) Run this command:
for /f %x in (servers.txt) do reg add "\\%x\HKLM\SOFTWARE\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_PARSING_BRANDING_CMDLINE_FLAGS_KB941158" /v "*" /t REG_DWORD /d 1