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]

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

Disable USERENV logging (XP/2003)
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]

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)

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