Tag: Registry

Tips for speeding up a slow PC

Tips for speeding up a slow PC:

Over the time, the speed of computers can decrease. This appears as the system taking more time to respond to a user’s actions like opening files, folders, surfing the Internet and other tasks. Here are a few steps which are helpful to make your machine (especially Windows machines) run faster.

Clean up the Desktop: 

Each time Windows starts; operating memory is used to open your profile. The total amount of memory used will be small. If however, there are several or dozens of files on the Desktop lot of operating memory is used by these files, essentially for no purpose or gain. With less memory available, the computer runs slower because it has to swap out information from operating memory to the hard drive. It does this process (called memory paging) to keep everything the user wants to do running at the same time.

The simple action of cleaning the Desktop will make your computer run faster.

Clean up the disk and registry:

One of the first things to check on a machine that’s running slowly is how much of the hard disk has been used. If there isn’t roughly 10% of the hard disk free, it’s time to clean the HDD. One of the tools I like is CCleaner. It quickly clears out all temp files for you. 

Remove Spyware/Malware:

One of the most common causes of the “my PC used to be fast, and now it isn’t!” complaint is actually the presence of malware. Malware can sneak onto a computer in a zillion different ways and quite often it sits in the background slowing your machine as it sends out spam emails, searches for other computers to infect, works on cracking cryptography, or performs any number of the other nefarious tasks that hackers like to use their botnet slaves for.

Try a different browser:

Different browsers perform differently, and most people spend a lot of time on their Web browser. Some browsers perform well on some but poorly on others, even when they are supposed to test the same thing. The problem with the benchmarks is that what they usually test is not real work performance! While JavaScript is an important part of the modern Web, few Web applications beat on the JavaScript engine hard enough to produce a noticeable impact on performance. If you want to have your Web browser feel more responsive and lively, consider a switch to Chrome.

Add a faster DNS lookup Server:

Most ISPs love to brag about how much bandwidth they are giving you. But they don’t mind letting the rest of their infrastructure slowly get overwhelmed or deteriorate. Among the biggest offenders are the DNS servers our ISPs use. If you want to know why things seem to take forever to start loading, slow DNS servers are often the cause. Consider adding a fast DNS server as your primary DNS server in your TCP/IP settings. Google’s Public DNS server is a great option.


Defragmentation is the process of physically organizing the contents of the mass storage device used to store files in to the smallest number of contiguous regions.

Visualization of fragmentation and then of defragmentation

Defragmentation places all parts of a file together in the same place on the drive. It organizes all directories and files according to how you use your computer. After this process is complete, your computer will most likely run faster.

Following precautions should be taken before doing defragmentation:

 Make sure your data is backed up to another medium like pen drive, DVD or external HDD.

 Close all the running programs including virus scanner.

 Assure your computer has a constant source of power.  If you have frequent power outages, you should not use a defragmentation program without a battery backup. Note: If your computer does shut off while defragmenting, it may crash the hard drive or corrupt the operating system, or both.

Steps for Defragmentation:    
  1. Open My Computer.
  2. Right-click the local disk volume that you want to defragment, and then click Properties.
  3. On the Tools tab, click Defragment Now.
  4. Click Defragment.

Improve Your Hardware:

If your computer is slow, it may be because your hardware isn’t getting the job done. How will you find that out? By using the Windows Experience Index, found in Windows Vista and Windows 7. This will show you where your computer is weak, and what you would need to beef up to turn your PC into a screamer.

Go to Start –> Control Panel — > System and Security –> under System click on Check the Windows Experience Index

Use ReadyBoost:

You can speed up the computer with a flash drive. Through the magic of a Windows technology called ReadyBoost, your PC can see a real speed increase. It’s a little-known Windows secret that can help you zip on down the Information Superhighway, or make whatever you’re doing faster.

Note:  ReadyBoost is available in Windows Vista, and Windows 7 Operating Systems.

source: about.com, Wikipedia, Techrepublic,

Enable multiple concurrent remote desktop connections-or-sessions in Windows Xp

Enable multiple concurrent remote desktop connections-or-sessions in Windows Xp:

Windows XP Professional and Windows XP Media Center Edition (MCE) have Remote Desktop (RDP) service that allows the computer to be remotely connected, accessed and controlled from another computer or host. However, Windows XP machine only allows one concurrent remote desktop connection from a single user been connected to it with no multiple remote desktop sessions or connections support.

Whenever there is a remote user who uses Remote Desktop Connection (RDC) client to connect to a Windows XP host, the local user is disconnected with the local console screen locked, with or without his or her permission. Remote Desktop, unlike Terminal Server Services in Windows 2000, Server 2003 and Server 2008, is designed for single user use only, no matter its local or remote user.

Here’s a hack to unlock the single user limitation and enable multiple concurrent remote desktop connection sessions support in Windows XP Professional and Media Center Edition, using a either a patched termserv.dll or old patched cracked termserv.dll build version 5.1.2600.2055, so that unlimited users can simultaneously connect to a computer via Remote Desktop.

  1. Download a copy of patched termsrv.dll (in ZIP file) which has the Remote Desktop connection limitation deactivated for your version of Windows XP:

Windows XP RTM, SP1 and SP2: termsrv.dll (version 5.1.2600.2055)
Windows XP SP3: termsrv.dll (version 5.1.2600.5512)

For information, the termsrv.dll patch normally has the following HEX code bits overwritten with following value:

00022A17: 74 75
00022A69: 7F 90
00022A6A: 16 9

2.    Restart the computer and boot info Safe Mode by pressing F8 during initial boot up and select Safe Mode. This step is only required if you’re currently running Windows Terminal Services or Remote Desktop service, and System File Protection has to be skipped and bypassed, else it will prompt the following error message to restore the original termsrv.dll.

3. Go to %windir%\System32 and make a backup copy (or rename) the termsrv.dll.

4.      Rename or delete the termserv.dll in the %windir%\System32\dllcache folder.

5.       Copy the downloaded termsrv.dll into %windir%\System32, %windir%\ServicePackFiles\i386 (if exist) and           %windir%\System32\dllcache.

6.      [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Terminal Server\Licensing Core]

7.      “EnableConcurrentSessions”=dword:00000001

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]

Then download and run the ts_multiple_sessions.bat (in ZIP file) to merge the registry value into registry, or you can     run Registry Editor to manually add the following registry value:

7.     Click on Start Menu -> Run command and type gpedit.msc, follow by Enter to open up the Group Policy Editor.

8.   Navigate to Computer Configuration -> Administrative Templates -> Windows Components -> Terminal Services.

9.   Enable Limit Number of Connections and set the number of connections to 3 (or more). The setting allows more than one users to use the computer and logged on at the same time.

10.  Ensure the Remote Desktop is enabled in System Properties’ Remote tab by selecting the radio button for Allow users to connect remotely to this computer.

11. Enable and turn on Fast User Switching in Control Panel> User Accounts -> Change the way users log on or off.

12. Restart the computer normally.

Note that if you cannot replace or overwrite termserv.dll with access denied or file in use error, turn off the “Terminal Services” in “Services” control panel of “Administrator Tools”. Besides, each connecting physical connections must have their own user account in the target host, and must authenticate with corresponding own user name and password credential.

To uninstall and revert back to original termsrv.dll, simply delete the patched version, and rename the backup copy back to “termsrv.dll”. You probably have to do it in Safe Mode if the Terminal Services is enabled and running.

If the Windows XP computer is connected to a domain on local networks, Windows will set the value of the regkey “Allow Multiple TS Sessions” to “0″ every time the computer is restarted. To ensure that multiple or unlimited Remote Desktop connection sessions is allowed in AD domain environment, the value data for “Allow Multiple TS Sessions” has to be set to “1″ on each system startup. To change the value, simply rerun the ts_multiple_sessions.bat every time the computer is started. Alternatively, put the ts_multiple_sessions.bat at C:\Documents and Settings\All Users\Start Menu\Programs\Startup folder so that it will be automatically run on first user with administrative privileges that logs on to the desktop. Another workaround is to install additional service or define a sub-key in

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run registry branch that run the registry batch file automatically on boot up, and this is useful if the computer won’t be logged on by anybody, but still requires the hack to allow unlimited Remote Desktop users to work.

Another issue is that if user closes the remote connection instead of logging off, when he or she tries to log back in, an error message related to TCP/IP event ID 4226 may occur. To resolve the issue, download and apply the Windows XP TCP/IP connection limit and Event ID 4226 patch, and set the connections to at least 50.

Source: My digital life