Search This Blog

Monday, October 26, 2009

Disable low disk space warning in your system tray

The popping up of low disk space warning in the system occurs when window detects that a partition of your hard drive is running out of space. If you getting irritated with this message. Here’s a simple solution with registry fix that will solve your problem.

(1). Click on 'Start | Run'. Type regedit and press OK.

(2). Browse down to the following key:-

“HKEY_CURRENT _USER \ Software\Microsoft\Windows\CurrentVersion\Policies\ Explorer”

Create a ‘new binary value’ and set its value to ’00 00 00 01’ and exit the registry.

Restart your PC and breathe a sigh of relief.

Thursday, October 22, 2009

Make a Bat file to shutdown your PC

(1). Open notepad and type.

@echo off
C:\WINDOWS\system32\shutdown.exe -s -f -t 60


(2). Save this notepad with name “shutdown.bat“.

(3). Now click on it to shutdown your PC.

Here we are using @echo off to don’t show anything in the command prompt when we click on it, and 60 is time in second that it will take to shutdown your PC you can change according to you.

Tuesday, October 20, 2009

Create a shortcut to Hibernate your PC

I have been tell in this Blog (Shut Down and Log Off your PC with command prompt) that how we can shutdown PC with command prompt using shutdown.exe command but it does not include an option to hibernate. Now I will tell you how to make a shortcut to create hibernate

Let’s go for it……..

(1). Create a shortcut on desktop at the empty place

(2). In the “Type the location of the item” box type or copy and paste this text:-
rundll32.exe PowrProf.dll SetSuspendState

(3). Click on Next button. In the “Type a name for this shortcut” box type Hibernate and click on Finish.

If shortcut does not work then you probably need to configure your computer to enable hibernation.

To enable Hibernation:-
(1). Go to Control Panel and open Power options.

(2). Click on the Hibernate tab and make sure the Enable Hibernate option is checked.

Now you can change the icon of the shortcut.

Tuesday, October 6, 2009

See hidden file through Command Prompt

(1). Open command prompt and go to directory where your files are hidden.
(2). Type “dir/a” and press enter to see all the files with hidden file.
(3). Type “dir/ah” to see only hidden file.

Saturday, October 3, 2009

Why we do Defragmentation of our Hard Drive?

Defragmentation of a hard drive is the act of re-ordering the data on the drive so that each file can be read continuously from the disk. By default, Windows XP will attempt to store any files it needs to write to the hard drive in consecutive clusters (a cluster is the smallest unit of storage space available on a hard drive) on the drive, so that the file can then be read continuously. A hard drive which has been frequently used over a long period of time will have developed many fragmented files, files which are scattered over different clusters on the surface of the disk. This can occur because of many factors, for example uninstall programs that leave files behind, system crashes while in the act of writing to the hard drive, regular deletion of files, etc. A file becomes fragmented when the portion of consecutive clusters on the disk that Windows begins to write into is not large enough to hold the whole file. The remainder of the file then needs to be written to a different physical area of the disk. This does not have any effect on the operating system's ability to access the files themselves, but it does slow down disk access times (and by extension, any application that depends on disk access) due to the extra time needed to reposition the read heads of the hard drive to access the rest of the fragmented file. Windows XP includes a disk defragmentation utility which you can use to re-arrange the files on the drive and eliminate fragmentation.
This can have a significant affect on the speed of your computer. To access this utility, go to 'start\programs\accessories\system tools\disk defragmenter.' To begin with, you need to analyze your hard disk(s) to see if defragmentation is needed. Select a drive and hit the 'analyze' button. This could take a little while depending on the amount of data on the drive. While the system is analyzing, it is best to leave your computer alone or the process may need to restart.
Once the analysis is finished, you will have a graphical representation of your disk's level of fragmentation. See the picture below for an example of a highly fragmented drive.
Windows will also inform you if it recommends defragmenting the drive. You must have 15% of the drive free in order to fully defragment it. Anything less will result in only a partial re-ordering of the files. You may need to delete a few things to obtain this free space.
To defragment the drive, select it and hit the 'defragment' button. Note that depending on the size of the drive and the level of fragmentation, this can take a long time. It's a good thing to leave overnight, since you should not run anything else while doing the defrag either.