14
votes

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!

2
  • 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 1, 2009 at 14:01
  • 1
    Do you have a link to these registry entries? Oct 18, 2010 at 15:46

12 Answers 12

19
votes

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"=-
6
  • 2
    Can you seperate those into single entries, so that we can upvote a single item please? Apr 30, 2009 at 20:46
  • 1
    you disable that stupid search dog!? Wish I had know that 3 years ago...
    – N Reed
    May 1, 2009 at 5:33
  • 1
    Hmm wouldn't it be better to use DEFAULT (user) instead - so these settings are applied to all new user accounts? May 3, 2009 at 11:47
  • 1
    I simply don't get it. All of these options can easily be set via GUI (control panel, dialog boxes and checkboxes). What's the point of editing the corresponding registry key, where I can accidentally mess up with something entirely different?
    – pestaa
    May 13, 2009 at 20:36
  • 2
    @pestaa Because you have to manually click things yet with a registry entry you could batch insert them upon a computer installation. May 13, 2009 at 23:02
15
votes

Show file extensions:

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
"HideFileExt"=dword:00000000
10
votes

Classic control panel:

[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"ForceClassicControlPanel"=dword:00000001
8
votes

Disable Desktop Cleanup Wizard

[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Explorer\Desktop\CleanupWiz]
"NoRun"=dword:00000001
5
votes

Turns on verbose logging for all Windows MSI installations

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Installer]
Logging = voicewarmup
4
votes

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
votes

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!

1
  • one of the first tweaks I always do as well :)
    – user1695
    May 3, 2009 at 7:30
3
votes

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
2
  • Um, shouldn't the password policy be managed by a Group Policy instead? May 3, 2009 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.
    – user1695
    May 4, 2009 at 20:11
3
votes

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).

2
votes

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
votes

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
0
votes

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .