Common Windows issues you can fix with a registry hack

1: Disable AutoPlay
I always find it a bit annoying to insert a CD and have Windows open Internet Explorer and display a bunch of information I don’t care about. I would rather just be able to navigate through the disc’s file system and go directly to what I need. Fortunately, it’s easy to create a registry setting that disables AutoPlay:

Navigate through the Registry Editor to HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer.
Create a DWORD named NoDriveTypeAutoRun.
Set the value to 000000FF.
2: Increase the maximum number of simultaneous downloads
As a technical writer, I’m constantly downloading files. Sometimes I need to download a lot of files, and Windows’ limit on the number of files that can be downloaded simultaneously gets in the way. If you’re in the same boat, you can tweak the registry so that Windows will let you download 10 files at a time:

Navigate through the Registry Editor to HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings.
Create a new DWORD named MaxConnectionsPerServer and assign it a value of 0000000a.
Create a new DWORD named MaxConnectionsPer1_0Server and assign it a value of 0000000a.
3: Change the name of the registered user
When you install Windows, you’re prompted to enter a username and a company name. But since it’s fairly common for companies to merge, you may want to change the name of the company Windows is registered to by using this hack:

Navigate through the Registry Editor to HKLM\Software\Microsoft\Windows NT\CurrentVersion.
Change the values that are assigned to the RegisteredOwner and RegisteredOrganization keys to reflect the new ownership information.
4: Prevent the Recycle Bin from being deleted
If you’ve ever right-clicked on the Windows Recycle Bin, you know there’s a Delete option, which can be used to get rid of it. If you want to prevent the Recycle Bin from accidental deletion, follow these steps:

Navigate through the Registry Editor to HKCR\CLSID\{645FF040-5081-101B-9F08-00AA002F954E}.
Create a new registry key called Shell.
Create a new registry key named Delete and put it beneath the Shell key. The path should look like this: HKCR\CLSID\{645FF040-5081-101B-9F08-00AA002F954E}\Shell\Delete.
Modify the Default key and assign it a value of Recycle Bin.
5: Eliminate cached logons
Windows is designed to allow users to log on using cached logins if no domain controller is available to authenticate the request. If you want to make sure that a login request is always authenticated by a domain controller, you could change the number of cached logons that are allowed from 10 to 0 (or you could increase the number of cached logins allowed to 50). To do so, follow these steps:

Navigate through the Registry Editor to HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\winlogon.
Create a new REG_SZ setting named CachedLogonsCount.
Assign this new setting a value that reflects how many concurrent cached logins you want to allow.
6: Encrypt and decrypt from a shortcut menu
Normally, when you want to encrypt or decrypt a file in XP Pro or Vista, you just right-click on the file or folder and choose the Properties command from the shortcut menu. When the properties sheet appears, click the Advanced button on the General tab and then use either the Encrypt or the Decrypt option.

If all that seems like a lot of work, you can add those options to the shortcut menu you see when you right-click on a file:

Navigate through the Registry Editor to HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced.
Create a new DWORD called EncryptionContextMenu and assign it a value of 1.
7: Delay Windows Activation
Typically, when an organization deploys Vista, it will create a master image, run SYSPREP, and deploy the image. The problem is that it might be a while between the time that SYSPREP is run and when Vista is actually deployed.

Microsoft will allow you to extend the activation period by 30 days, but you can do that only three times. You can, however, use a registry hack to get around this limitation:

Navigate through the registry to HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SL.
Change the value associated with the SkipRearm key to 1.
Open a Command Prompt window and enter the following command: slmgr -rearm.
8: Relocate your offline files
When you use Vista’s Offline Files feature, the offline file cache is automatically placed on your C: drive. But my laptop has two hard drives in it, and I wanted to configure Vista to place my offline files onto my secondary hard drive. I accomplished the task by following these steps:

Open the Control Panel and click on the Network and Internet link, followed by the Offline Files link. Windows will display the Offline Files properties sheet.
Disable offline files if they are currently enabled.
Click OK and reboot the machine.
When the computer reboots, open the Registry Editor and navigate to HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\CSC.
Create a new string value named Parameters.
Assign this value to the Parameters key: \??\e:\csc, where e: is the drive letter you want to use.
Exit the Registry Editor and reboot the computer.
When the machine reboots, enable offline files.
Reboot the computer one last time. Now, you can start making folders available offline.
9: Disable User Account Control
One of the things about Vista that seems to irritate a lot of people is the User Account Control feature. In essence, an administrator is treated as a standard user. Administrators who attempt to perform an administrative action receive a prompt asking whether they initiated the action. I think that this prompt is a valuable safeguard against malware, but since a lot of people don’t like it, here’s how to use the registry editor to suppress the prompt:

Navigate through the registry editor to HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System.
Change the value of the ConcentPromptBehaviorAdmin key to 00000000.
10: Don’t display the last user who logged in
Windows Vista is designed so that when you press Ctrl+Alt+Delete to log in, it will display the name of the user who logged in most recently. This can be a bit of a problem if multiple users share a common PC. They may forget to check to see who was logged in previously and key in their own password in association with another user’s login name. If they try this enough times, they could lock the other user out. You can get around this problem by using a simple registry tweak to tell Windows not to display the name of the user who was logged in previously:

Navigate through the Registry Editor to HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System.
Set the DontDisplayLastName key to a value of 1

This entry was posted in Technical Archive. Bookmark the permalink.