Sunday, June 29, 2008

Force Readyboost in Windows Vista



For those who are not completely sure, Windows Readyboost is a disk-caching technology that allows one to make their system more responsible through the use of removable media such as USB flash devices or Smartcards. Rather than letting you choose whether to enable Readyboost or not, Windows Vista makes this decision for you. The thing is that even though Microsoft has claimed Readyboost to be enabled on the slowest possible removable devices, its decision is still not always correct. However, the registry can change that.



Although I have tested this with my USB without damaging it, I am in no way responsible for what happens to your removable device when testing this out. Just make sure you follow the instructions carefully. Also, expect little or no performance gain when using this on incompatible devices.



1. Plug in the device.
2. Access your device properties: Start Pearl > My Computer > Right click device > Properties > Readyboost Tab




3. Select, “Stop retesting this device when I plug it in.”
4. Unplug the device.
5. Open the registry editor: Start Pearl > Type regedit in the search bar
6. Access: HKEY_LOCAL_MACHINE / SOFTWARE / Microsoft / Windows-NT / CurrentVersion / EMDgmt
7. Make the following registry changes:
- Change the Device Status to 2.
- Change ReadSpeedKBs to 1000.
- Change WriteSpeedKBs to 1000.

8. Plug in the device and Readyboost should work



Internet Explorer Tweak

Internet Explorer 7 only allows you to download two files from the same server at a time. This is not a software limit but rather a limit imposed based on the web standard. Since this is simply a software setting, it can be modified and you can increase the limit to something much high such as 10. Follow the steps below to increase your max downloads from the same server:

1. Click on the Start Button and type in Regedit.
2. When Registry Editor loads navigate through HKEY_CURRENT_USER, Software, Microsoft, Windows, CurrentVersion and Internet Settings.
3. Right click on MaxConnectionsPerServer and select Modify. Set the decimal value to something greater than 2.
4. Right click on MaxConnectionsPer1_0Server and select Modify. Set the decimal value to something greater than 2.
5. Reboot.

Friday, June 27, 2008

Re-enabling hibernation in Windows Vista after disk cleanup

Windows Vista Cleanup tool, which enables you to clear your disk of unnecessary files, one of the main reason why we run out of space on C:\ partition.

After having cleanup the files I cannot see the Hibernate option in Power Options anymore.This problem occurs when the Disk Cleanup Tool disables the hibernation file. The hibernation file must be enabled to access the hybrid sleep feature and the hibernation feature in Windows Vista. When the hibernation file is disabled, and the hybrid sleep feature is enabled, a backup of open programs and open files will not be saved to the disk when you use the sleep feature in Windows Vista. Additionally, if the computer loses power while the Windows is in sleep mode, open programs and open files will not be recovered, and any unsaved work will be lost.
In order to get the Hibernate option back in the Power Options mode you should take following steps:

1. Click Start , click All Programs, and then click Accessories.
2. Right-click Command Prompt, click Run as administrator, type powercfg -h on, and then press ENTER.

The command line tool powercfg.exe enables users to control the power settings on the system. An overview of all parameters that can be passed to the cool can be found by running the command "C:\Windows\system32>powercfg /?" from the command prompt.

For the hibernation we need the following:
-HIBERNATE, -H Enables-Disables the hibernate feature. Hibernate timeout is notsupported on all systems.
Usage: POWERCFG -H

After running the command above with the hibernation parameter - powercfg -h - the problem is solved and I can again hibernate my Windows Vista system. This applies to all Windows Vista editions.

Wednesday, June 25, 2008

NTLDR Issue

Ever got this message while booting? NTLDR is Missing.
Some think the drive has crashed and formatting is the only way. Here is a way to deal with that problem.

Below are the full error messages that may be seen when the computer is booting.
NTLDR is MissingPress any key to restartBoot: Couldn't find NTLDRPlease insert another diskNTLDR is missing Press Ctrl Alt Del to Restart

Cause: Computer is booting from a non-bootable source. Computer hard disk drive is not properly setup in BIOS. Corrupt NTLDR and/or NTDETECT.COM file. Misconfiguration with the boot.ini file. Attempting to upgrade from a Windows 95, 98, or ME computer that is using FAT32. New hard disk drive being added. Corrupt boot sector / master boot record. Seriously corrupted version of Windows 2000 or Windows XP. Loose or Faulty IDE/EIDE hard disk drive cable. Solutions:
Computer is booting from a non-bootable sourceMany times this error is caused when the computer is attempting to boot from a non-bootable floppy disk or CD-ROM. First verify that no floppy diskette is in the computer, unless you are attempting to boot from a diskette.
If you are attempting to boot from a floppy diskette and are receiving this error message it is likely that the diskette does not have all the necessary files and/or is corrupt.
If you are attempting to install Windows XP or Windows 2000 and are receiving this error message as the computer is booting verify that your computer BIOS has the proper boot settings. For example, if you are attempting to run the install from the CD-ROM make sure the CD-ROM is the first boot device, and not the hard disk drive.
Second, when the computer is booting you should receive the below prompt.
Press any key to boot from the CD
Important: When you see this message press any key such as the Enter key immediately, otherwise it will try booting from the hard drive and likely get the NTLDR error again.
Note: If you are not receiving the above message and your BIOS boot options are set properly it's also possible that your CD-ROM drive may not be booting from the CD-ROM properly. Verify the jumpers are set properly on the CD-ROM drive. Additional information about checking the CD-ROM drive connections can be found on document CH000213.
Additional information: This error has also been known to occur when a memory stick is in a card reader and the computer is attempting to boot from it. If you have any type of card reader or flash reader make sure that no memory stick is inside the computer.
Computer hard disk drive is not properly setup in BIOS
Verify that your computer hard disk drive is properly setup in the BIOS / CMOS setup. Improper settings can cause this error. Additional information on how to enter the BIOS / CMOS setup can be found in document CH000192.

Corrupt NTLDR and/or NTDETECT.COM file
Windows 2000 users
If your computer is using Microsoft Windows 2000 and you are encountering the NTLDR error. Create the below boot.ini file on the floppy diskette drive.
[boot loader]timeout=30default=multi(0)disk(0)rdisk(0)partition(1)\WINNT[operating systems]multi(0)disk(0)rdisk(0)partition(1)\WINNT="Microsoft Windows 2000 Professional" /fastdetect
Copy the NTLDR and NTDETECT.COM files from another computer using the same Operating System. Both of these files are located in the root directory of the primary hard disk drive. For example, C:\NTLDR and C:\NTDETECT.COM should be the locations of these files on many computers.
Please keep in mind that these files are hidden system files, if you need additional help with viewing hidden files in Windows please see document CH000516. Once these files have been copied to a floppy diskette reboot the computer and copy the NTLDR and NTDETECT.COM files to the root directory of the primary hard disk drive. Below is an example of what commonly should be performed from the A:\> drive.
copy ntldr c:copy ntdetect.com c:
After the above two files have been copied, remove the floppy diskette and reboot the computer.
Windows XP users
Insert the Windows XP bootable CD into the computer. When prompted to press any key to boot from the CD, press any key. Once in the Windows XP setup menu press the "R" key to repair Windows. Log into your Windows installation by pressing the "1" key and pressing enter. You will then be prompted for your administrator password, enter that password. Copy the below two files to the root directory of the primary hard disk. In the below example we are copying these files from the CD-ROM drive letter "E". This letter may be different on your computer.
copy e:\i386\ntldr c:\copy e:\i386\ntdetect.com c:\
Once both of these files have been successfully copied, remove the CD from the computer and reboot. Misconfiguration with the boot.ini file
Edit the boot.ini on the root directory of the hard disk drive and verify that it is pointing to the correct location of your Windows Operating System and that the partitions are properly defined. Additional information about the boot.ini can be found on document CH000492.
Attempting to upgrade from a Windows 95, 98, or ME computer that is using FAT32
If you are getting this error message while you are attempting to upgrade to Windows 2000 or Windows XP from Windows 95, Windows 98, or Windows ME running FAT32 please try the below recommendations.
Boot the computer with a Windows 95, Windows 98 or Windows ME bootable diskette. At the A:\> prompt type:
sys c:
After pressing enter you should receive the "System Transferred" message. Once this has been completed remove the floppy diskette and reboot the computer. New hard disk drive being added
If you are attempting to add a new hard disk drive to the computer make sure that drive is a blank drive. Adding a new hard disk drive to a computer that already has Windows installed on it may cause the NTLDR error to occur.
If you are unsure if the new drive is blank or not try booting from a bootable diskette and format the new hard disk drive.

Corrupt boot sector / master boot record
It's possible your computer's hard disk drive may have a corrupt boot sector and/or master boot record. These can be repaired through the Microsoft Windows Recovery console by running the fixboot and fixmbr commands.
Additional information and help in getting into the Microsoft Windows Recovery console can be found on document CH000627.
Seriously corrupted version of Windows 2000 or Windows XP
If you have tried each of the above recommendations that apply to your situation and you continue to experience this issue it is possible you may have a seriously corrupted version of Microsoft Windows. Therefore we would recommend you reinstall Microsoft Windows 2000 and Windows XP.
If you are encountering this issue during your setup you may wish to completely erase your computer hard disk drive and all of its existing data and then install Microsoft Windows 2000 / Windows XP. Additional information about erasing the computer and starting over can be found on document CH000186.
Loose or Faulty IDE/EIDE hard disk drive cable
This issue has been known to be caused by a loose or fault IDE/EIDE cable. If the above recommendation does not resolve your issue and your computer hard disk drive is using an IDE or EIDE interface. Verify the computer hard disk drive cable is firmly connected by disconnected and reconnecting the cable.
If the issue continues it is also a possibility that the computer has a faulty cable, try replacing the hard disk drive cable with another cable and/or a new cable.

Hide All Desktop Icons

Ever wished your desktop is clean without icons forever? Here's the deal.

Click Start-Run-and type 'regedit' Browse to:

Hive: HKEY_CURRENT_USERKey: Software\Microsoft\Windows\CurrentVersion\Policies\ExplorerName: NoDesktop Type: REG_DWORDValue: 1
With this key enabled, in addition, you cannot right click on the desktop to get a context menu. This is a lockdown option.

Almost all Windows NT registry hacks work for Windows 2000 and Windows XP. Windows NT and Windows XP have the Software\Microsoft\Windows\CurrentVersion\Policies\Explorer key by default. Windows 2000 does not. But if you create the key with the NoDesktop value set to 1, the hack works for Windows 2000 also. When you create the Explorer key under Policies, you will be prompted for a class. Leave it blank.


To hide all Desktop Icons from Explorer but still enable right-clicking on the desktop there is the following registry hack :
Hive: HKEY_CURRENT_USERKey: Software\Microsoft\Windows\CurrentVersion\Explorer\AdvancedName: HideIcons Type: REG_DWORDValue: 1

Shutdown Time Tweak

We used to tweak XP to speedup the shutdown time. Actually in Windows Vista we can also apply a little tweak to reduce the ammount of time Vista takes to shutdow/ reboot by doing the following:

Note: Create a system Restore Point before doing anything else. Modifying the registry can cause your system to crash, Use it at your own risk, I am not responsable for any damage this may cause to our system, so create a restore point, backup, etc.

Open Regedit (WINDOWS KEY + R on your keyboard, or by clicking Start/Run) and type "regedit" without quotes.
Navigate to [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control] On the right panel look for the "WaitToKillServiceTimeout" string and change it value to 1000 by right clicking the string and selecting Modify...
Default Value WaitToKillServiceTimeout=20000

Enabling Right Click in Registry

Right Click Disabled?
Solution: Crate a new text file, copy the code below and rename the file with .reg extension.
Reboot to see changes.


Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\policies \Explorer]"NoViewContextMenu"=dword:00000000
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\ Explorer]"NoViewContextMenu"=dword:00000000
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\ Explorer]"NoSetTaskbar"=dword:00000000
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\ Explorer]"NoSaveSettings"=dword:00000000
...will enable right click menu context.

Tuesday, June 24, 2008

Hide Recycle Bin


Wondered how to hide RecycleBin? Here's the trick.


Copy the following code into notepad save the file as Recycle.reg and then double-click it.

After importing Recycle.reg into the registry, a new option is listed in the Folder Options dialog box that lets you configure the Recycle Bin icon.


Code:

Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Folder\RecycleBinOnDesktop]"RegPath"="Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\HideDesktopIcons\\NewStartPanel""Text"="Show Recycle Bin icon on the desktop""Type"="checkbox""ValueName"="{645FF040-5081-101B-9F08-00AA002F954E}""CheckedValue"=dword:00000000"UncheckedValue"=dword:00000001"DefaultValue"=dword:00000000"HKeyRoot"=dword:80000001

Enabling Task Manager Using Regedit

Pc crashed by virus? TaskManager not working?
This simple Registry Edit maybe your answer.

[Start] [Run] [Regedit]Registry Key: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\SystemModify/Create the Value Data Type(s) and Value Name(s) as detailed below.Data Type: DWORD Value // Value Name: DisableTaskMgr Setting for Value Data: [0 = Enabled (Default) / 1 = Disabled]Exit Registry and Reboot

Disable CTFMON Permenantly

Ever wondered why CTFMON is in startup? Even if you disable it, it still shows up after reboot.
I'll show you how to completely turn it off.



Click Start, then Control Panel. If Control Panel is in Category view, click the Date, Time, Language, and Regional Options link, and then click the Regional and Language Options icon.
If Control Panel is in Classic view, double-click the Regional and Language Options control panel. Click the Languages tab. Click Details. Click the Advanced tab. Check
Turn off advanced text services.
Click OK.
Click OK.
Close the control panel.