Jan 13, 2009

Booting from CD/DVD drive

To install any operating system or to boot your system from a live CD/DVD of linux you will need to set CD/DVD drive as the first boot device.

This will be the default option of all the systems but somehow if it isn't then you can easily set that option.

--- Start your PC and during the startup press the key shown on the screen to enter setup. Most commonly used key is Delete key.

--- Once the setup that is the BIOS is loaded. Look for the boot options.

--- In boot options look for the boot device priority.

--- Enter boot device priority and select the first boot device and hit Enter to change the it.

--- Select your Optical drive that is your CD/DVD drive as the first boot device and set the Second boot device as your hard disk.

--- Save the changes and exit BIOS.

Now whenever you want to boot from the Optical drive just insert the bootable CD/DVD in your drive and start your PC.

Jan 12, 2009

Disable Low Disk Space Check in Windows Vista

Note: This method also works for Windows XP

When your hard disk runs out of free space windows Vista will start to give you a warning about low disk space. In the beginning its useful to know that you have run out of space. But Windows continues to give warning until you free up some space. This gets irritating and you don't have any setting to stop this.

Vista constantly checks the drives for the low disk space which uses resources and slows down the system.

Follow these easy steps to disable this annoying warning message

--- Go to registry by typing regedit in run box. OR Type regedit in start menu search box and hit Enter.

---Then locate this key in the left pane
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies

--- Under policies look for the sub key named Explorer if its not present you have to create the key. To create the key right click on Policies and select New Key. A new key named New Key #1 will be created below Policies. Name that key as Explorer.

--- Now select the Explorer key and in the right pane right click and select New --> DWORD(32-bit) Value and name it NoLowDiskSpaceChecks--- Now to edit its value double click on it and enter value '1' instead of '0' in the value data field. Click OK.--- This is how it should look

--- Close the registry.

No more annoying warning messages for Low disk Space.

To Re-enable the warning messages replace '1' with '0' or delete the DWORD value created.

Note: In XP these entries might be present already you just need to edit the value to from '0' to '1'

Jan 10, 2009

Change Amount of Space Used for System Restore in Vista

If you have system restore enabled in Windows Vista, after a few weeks the amount of space used by Vista for system restore will be growing in GB's. You don't have any option in Vista that allows you to limit the amount of space used by Vista for System Restore. In Windows XP you had the option to set the amount of hard disk space used for system restore by just adjusting a slider provided but no such luck in vista.

Fortunately there is a option which we can use to set the disk space for system restore in Vista. You have to edit this option from command line. Here is how you do it.

--- Go to start menu and type cmd in the search box. When it shows up in top box right click on it and select Run as Administrator.
--- Windows has a service called Volume Shadow Copy which holds the settings for the storage space used. You can see the options that can be used by typing vssadmin /? in the command prompt. This is how it looks.--- Now to see the amount of space used by system restore and Maximum allowed space type this command. vssadmin list shadowstorage. You will see something like this.
--- Now the option that we are going to use to change the space used for system restore is Resize ShadowStorage. To see what options it gives type this command. vssadmin Resize ShadowStorage.

You will be shown a screen where you can see what option you can use. Here you will be told that MaxSize should be atleast 300MB. You can use suffixes KB (kilobytes), MB (megabytes) and so on like GB, TB, PB and EB. If nothing is specified then the default suffix will be bytes.

--- Now to change the amount of space used by Windows Vista for system restore we have to use this command
vssadmin Resize ShadowStorage /For=ForVolumeSpec /On=OnVolumeSpec /MaxSize=MaxSizeSpec

So how to use this command?

Say you want to set the maximum amount of storage of 2GB that system restore uses for system restore points created for C drive and you want to store them in C drive only. You use the command like this

vssadmin Resize ShadowStorage /For=C: /On=C: /MaxSize=2GB

This will allow only 2GB of space to system restore in C drive.

--- You will get a confirmation of the operation being successfully completed.The amount of space allocated for system restore in your Windows Vista has been resized to your liking.