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!
-
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
-
1Do you have a link to these registry entries? – Mark Norgren Oct 18 '10 at 15:46
12 Answers
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"=-
- 7,147
- 2
- 28
- 42
-
2Can you seperate those into single entries, so that we can upvote a single item please? – Sebastian Hoitz Apr 30 '09 at 20:46
-
1you disable that stupid search dog!? Wish I had know that 3 years ago... – N Reed May 01 '09 at 05:33
-
1Hmm wouldn't it be better to use DEFAULT (user) instead - so these settings are applied to all new user accounts? – Oskar Duveborn May 03 '09 at 11:47
-
@Oskar Nice point, I'll have a fiddle to check they work as DEFAULT also. +1 – Adam Gibbins May 03 '09 at 13:33
-
1I 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 '09 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. – Adam Gibbins May 13 '09 at 23:02
-
Show file extensions:
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
"HideFileExt"=dword:00000000
- 7,147
- 2
- 28
- 42
Classic control panel:
[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"ForceClassicControlPanel"=dword:00000001
- 7,147
- 2
- 28
- 42
Disable Desktop Cleanup Wizard
[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Explorer\Desktop\CleanupWiz]
"NoRun"=dword:00000001
- 7,147
- 2
- 28
- 42
Turns on verbose logging for all Windows MSI installations
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Installer]
Logging = voicewarmup
- 373
- 1
- 5
- 14
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
- 671
- 6
- 18
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!
- 405
- 1
- 5
- 11
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).
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
- 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
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
- 671
- 6
- 18
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
- 590
- 1
- 9
- 21
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
- 590
- 1
- 9
- 21