14

I used to work at Best Buy tech bench (pre Geek Squad, either way glad to be done there) and we had a great little batch file which tweaked registry entries for all new computers. I have lost this batch file, and am trying to compile a list to make another. Please help!

Mark Norgren
  • 200
  • 7
  • 13
  • If you're tweaking for security, the Microsoft Security, NSA, and DISA guides have a mess of registry entries to change. Just be sure you know what they do before you change them. – romandas Sep 01 '09 at 14:01
  • 1
    Do you have a link to these registry entries? – Mark Norgren Oct 18 '10 at 15:46

12 Answers12

19

Use classic login:

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]
"LogonType"=dword:00000000

Remove Windows Tour popup:

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Applets\Tour]
"RunCount"=dword:00000000[/br][HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Applets\Tour]
"RunCount"=dword:00000000

Disable autorun:

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Cdrom]
"AutoRun"=dword:00000000

Disable search assistant:

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\CabinetState]
"Use Search Asst"="no"

Set Google as IE homepage:

[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main]
"Start Page"="www.google.com"

Put volume icon in the tray:

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Applets\SysTray]
"Services"=dword:0000001f

Remove Windows Messenger from startup:

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run]
"MsnMsgr"=-
Adam Gibbins
  • 7,147
  • 2
  • 28
  • 42
15

Show file extensions:

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
"HideFileExt"=dword:00000000
Adam Gibbins
  • 7,147
  • 2
  • 28
  • 42
10

Classic control panel:

[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"ForceClassicControlPanel"=dword:00000001
Adam Gibbins
  • 7,147
  • 2
  • 28
  • 42
8

Disable Desktop Cleanup Wizard

[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Explorer\Desktop\CleanupWiz]
"NoRun"=dword:00000001
Adam Gibbins
  • 7,147
  • 2
  • 28
  • 42
5

Turns on verbose logging for all Windows MSI installations

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Installer]
Logging = voicewarmup
slolife
  • 373
  • 1
  • 5
  • 14
4

Windows Vista:

This sets the default folder customization to NotSpecified (which pretty much means the "All Items" template as seen in the customization dialog), otherwise Vista's erroneous guesses at how to display your files can be quite irritating (an mp3 may switch it to a Music folder, or a gif from Details to Thumbnails in its switch to Pictures & Video).

[HKEY_CURRENT_USER\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags\AllFolders\Shell]
"FolderType"="NotSpecified"

You may then globally change the appearance of the "All Items" template by tweaking an "All Items" folder and going to Tools->Folder Options->View->Apply to Folders (works similarly for the other templates).

If you want to reset all existing folders to "All Items" then remove the entire Bags key first:

[-HKEY_CURRENT_USER\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags]

An illustrated guide available here: Fixing Folder Type problems in Windows Vista

4

Make the Start menu faster:

[HKEY_CURRENT_USER\Control Panel\Desktop]
"MenuShowDelay"=20 (default is 400)

I've been adding this to every Windows I've ever installed since Win95. Makes world of difference!

Igal Tabachnik
  • 405
  • 1
  • 5
  • 11
3

Windows XP, autoplay (autorun)

Not a registry fix. Much better. Kills autoplay (autorun) for all removable media, including USB memory sticks.

Group Policy (gpedit.msc) > Local Computer Policy > Computer Configuration > Administrative Templates > System > Turn off Autoplay

The Group Policy Editor makes all appropriate registry changes - not sure this is possible in XP Home (tip: boot safe mode and search for gpedit.msc).

3

Working for a corporation and keeping security in mind:

Setting minimum password length (where MinPwdLen must be manually created as a binary value):

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Network]
"MinPwdLen"=10 

Disabling the registry from other people's sticky fingers:

[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System]
"DisableRegistryTools"=dword:00000001
John T
  • 1,059
  • 1
  • 15
  • 19
  • Um, shouldn't the password policy be managed by a Group Policy instead? – Frode Lillerud May 03 '09 at 21:11
  • Yes and the question asked which registry entries should be changed, not how they have to be changed. Most sane people would use the gp editor for this you are correct. – John T May 04 '09 at 20:11
2

Windows Vista:

This disables UAC's use of the Secure Desktop, which is essentially that dimming of the screen you get with elevation prompts. It's designed to prevent their spoofing, with several examples given in that article.

However I frequently find the Secure Desktop to be cumbersomely slow loading, more so on a system I've yet to update the display drivers on or am maintaining (considering the repetition), but even somewhat after, so I disable this (I keep UAC enabled).

In my opinion it's somewhat more important that Microsoft made this the default to discourage spoofing than it is for an individual machine to leave it enabled.

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System]
"PromptOnSecureDesktop"=dword:00000000
0

Display the full path in the title bar

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\CabinetState]
"FullPath"=dword:00000001
"Settings"=hex:0c,00,02,00,0b,01,f8,75,60,00,00,00  ; bit 1 of the '0b' byte mirrors the     above setting
"FullPathAddress"=dword:00000001
Dan Dascalescu
  • 590
  • 1
  • 9
  • 21
0

No more "Disk space is running low on drive X" annoying tooltips (tested for Windows XP):

[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"NoLowDiskSpaceChecks"=dword:00000001
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"NoLowDiskSpaceChecks"=dword:00000001
Dan Dascalescu
  • 590
  • 1
  • 9
  • 21