Thursday, October 27, 2011

NT Configuration:: Reg-edits to boost Performance.

Performance
Disable paging of NT executive - disable kernel 
Reg Key: HKLM\System\CurrentControlSet\Control\SessionManager\MemoryManagement\DisablePagingExecutive
Procedure: registry value from 0 to 1, (making sure it's not in hex but decimal); (you should have at least 128 megs of RAM to do this)

L2 cache size
Reg Key: HKLM\System\CurrentControlSet\Control\SessionManager\MemoryManagement\SecondLevelDataCache
Procedure: enter processor's L2 size

Disk Cache
Reg Key: HKLM\System\CurrentControlSet\Control\SessionManager\MemoryManagement\LargeSystemCache
Procedure: enter from 0 (def) to 1 (you should have at least 96 megs of RAM to do this)

Clear Swapfile at Shutdown
RegKey:HKLM\System\CurrentControlSet\Control\SessionManager\MemoryManagement\ClearPageFileAtShutdown
Procedure: Set to 1 to clear at shutdown. 

Run Explorer in Separate Memory
Reg Key: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer
Procedure: Add DesktopProcess (REG_DWORD). Set it to 1 and reboot.

NTFS Last Access Date
Reg Key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem
Procedure: Add Value name NtfsDisableLastAccessUpdate of type REG_DWORD. Set it to 1 to prevent the LastAccess time stamp from being updated. 

Shut Down Apps Faster:
Reg Key: HKEY_USER\YourUserId\Control Panel\Desktop
Procedure: 
Add AutoEndTasks - "1" kills not responding (Reg_SZ)

WaitToKillAppTimeout - This specifies how long NT waits before killing an app.The default is 20000 milliseconds (20 seconds), but you can reduce this to five seconds (5000 milliseconds).

Also, you can do this for DEFAULT so all new users get it

Shut Down Services Faster:
Reg Key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control
Procedure: Modify WaitToKillServiceTimeout to 10,000 milliseconds (10 seconds)

Disable Extra Services Reg Key: None
Procedure: In Control Panel, Services, disable Computer Browser and Network services. You can also turn off the Messenger and Server services. Disable RAS services and AutoDial Manager if you're not connecting to an ISP or using RAS.

Increase IP speed:
Reg Key: HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services/TCPIP/Parameters
Procedure: Add "TcpMaxDupAcks" REG_DWORD and set number of ACKs (acknowledgements) you want. The range is 1 to 3, and the default is 2 (recommended)

Improving Serial Performance:
Reg Key: KEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Serial
Procedure: ForceFifoEnable : Change from 0 to 1 ( decimal )
RxFIFO : Default is 8 and the Maximum is 14 ( decimal ). If you do not have a fast processor, Limit this number to 12.
TxFIFO : Default value is 1 and the Maximum is 16 ( decimal ), 16 works well on a dual processor or a fast uni-processor system.

Disable TCP/IP Source Routing
Reg Key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
Procedure: Normally, on a computer running Windows NT 4.0, you cannot disable the source routing feature for the TCP/IP protocol. By using this tweak it is possible to disable it. Create a new DWORD value named 'DisableIPSourceRouting' and set the value to either '1' to disable source routing, or '0' to enable source routing.

Reboot Immediately
Reg Key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\Winlogon
Procedure: Control-Alt-Delete+SHIFT after adding EnableQuickReboot and set to "1"

Compress Registry Reg Key: None
Procedure: As Registry entries are added and deleted, the Registry may get bloated and need to be cleaned up. Run RDISK /S to compact the Registry.

Cut down on file cache
Reg Key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem
Procedure: Add a Reg_DWORD Value name of MaximumTunnelEntryAgeInSeconds. Set it to the desired number of seconds, from 1 to 30, and 0 if you never use 16-bit apps.

Disable Short-name Generation
Reg Key: SYSTEM\CurrentControlSet\Control\Filesystem\NtfsDisable8dot3NameCreation
Procedure: DWORD value of 1 disabling short name generation on an NTFS partition will greatly increase directory enumeration performance especially in the case where individual directories contain a large number of files/directories with non-8.3 filenames.

Swap File - Size, Location
Reg Key: None
Procedure: 2 megs on system root, min = RAM and max = 2xRAM place on an NTFS partition
Autocomplete in CMDReg Key: HKEY_CURRENT_USER\Software\Microsoft\Command Processor
Procedure: Change the value of "CompletionChar" to 9

Security

Prevent Login Screen Saver
Reg Key: HKEY_USERS\.DEFAULT\Control Panel\Desktop
Procedure: ScreenSaveActive (0 = disabled, 1 =enabled)

Disable Registry Editing Tools
Reg Key: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System
Procedure: DisableRegistryTools (0 = disabled, 1 = enabled)

Disable Registry Editing Tools (via network)Reg Key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurePipeServers\winreg
Procedure: Add key if not present

Disable the Lock Workstation Button
Reg Key: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System
Procedure: DisableLockWorkstation (0 = disabled, 1 = enabled)

Require Alpha Numeric Password 
Reg Key: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\Network
Procedure: AlphanumPwds (0 = disabled, 1=enabled)

Remove common program groups from Start menu
Reg Key: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer
Procedure: NoCommonGroups (0 = disabled, 1 = enabled)

Power Down Computer After Shutdown
Reg Key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
Procedure: PowerdownAfterShutdown (0 = disabled, 1 = enabled)

Stealth Login (most amazing)
Reg Key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
Procedure: change the REG_SZ value DontDisplayLastUserName to 0.

Welcome Notice
Reg Key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon.
Procedure: change the LegalNoticeCaption subkey to a text string that you like

Change Name of Admin 
Reg Key: None
Procedure: Make it something not guessable using User Manager 

Disabling "shutdown"
Reg Key:
Procedure: select Edit/Find and search Values for ShutdownW and when ShutdownWithoutLogon appears, change to 0