Skip to main content

Countdown timer for shutdown computer

Many a times people like to sleep on music, but the problem is that the comp will continue running the whole night. Here is how you can create a countdown timer to shutdown your comp in your specified time.

Go to run in start menu and input this command

 shutdown -s -t 3600


this will create a countdown timer which will go off in 3600 seconds (1 Hour). you can replace the 3600 to any time limit you want the comp to shutdown ,but remember the time should always be expressed in seconds i.e if u want the comp to shutdown in Half an hour you have to write 1800 and so on...

If you are as lazy as me and don't want to input the command each time, then create a batch file or shortcut

Batch:
open a notepad and type

shutdown -s -t 3600

now in the files menu select "save as" and save this file as Activate.bat

Just double clicking this file will activate your timer

Shortcut:
On the desktop right click and create a new shortcut. in the location type

shutdown -s -t 3600


Give it any name like "Activate timer"
Again, double clicking this newly created shortcut will do the same.

FORCING THE SHUTDOWN:

another operator that you can use with this command is -f . this will force a shutdown on system. suppose you want the comp to shutdown as quickly as possible you can give command

shutdown -s -f -t 00


here we have used a -f operator and the delay is set to 0 seconds.

(as we are talking about quick shutdown, u can use command
c:windowssystem32tsshutdn.exe 00 /POWERDOWN /DELAY:00 also)

STOPPING THE TIMER:
Any time when you want to stop the running timer use a -a operator(standing for abort)

the command is

shutdown -a

You can use it in any way u prefer, like direct input in run (or command prompt) , create a .bat file or create a shortcut on desktop

SOME OTHER OPTIONS:

shutdown -r (restarting)
shutdown -r -t 3600 (timer for restarting in 1 hour)
shutdown -r -f -t 00 (quick reboot)

Comments

Popular posts from this blog

Using the quick boot feature of the BIOS

All systems initialize in more or less the same way. During the power on self-test mentioned earlier, the BIOS checks the hardware devices and counts the system memory. Out of all of the different types of system memory, the random access memory, better known as RAM, takes the longest to be counted. Counting the RAM takes time, and on a machine that has large amounts of RAM, this calculation can take several seconds. For example, a machine that has 512MB of RAM may take up to 3 seconds just to count the memory. On top of the RAM counting, a few other tests need to be done because your computer wants to make sure that all of the hardware in your computer is working properly. All of these system tests are not needed every time you boot, and can be turned off to save time. Most BIOS's offer a feature called quick boot. This feature will allow the user to turn off these tests. Other BIOSs only allow you to turn off the memory check, which will still cut down on a lot of time....

File and Folder Permissions

Windows XP Professional boxes running the NTFS file system have the capability to set indi vidual file permissions on both files and folders. File and folder permissions allow you to specify exactly who will be able to read, write, execute, and even list or access a folder. So, file and folder permissions can be a very powerful tool to protect your data from others' eyes. If your file system is FAT32, then you will not be able to set permissions. Fortunately, an easy way exists for you to convert your FAT32 file system to NTFS. Do a search in the Windows Help and Support Center for Convert to NTFS and you will be shown directions on how you can go about converting your drive's file system. Setting the permissions on with a lot of control requires you to disable simple file sharing and security. To do so, follow these steps: 1 . Open up any folder on your computer and expand the Tools menu and select Folder Options. 2 . Click the View tab and scroll to the bottom of the Adv...

Rapidshare Timelimit

Directions Rapidshare traces the users IP address to limit each user to a certain amount of downloading per day. To get around this, you need to show the rapidshare server, a different IP address. You can do this one of multiple ways. Requesting a new IP address from your ISP server. Here's how to do it in windows: 1. Click Start 2. Click run 3. In the run box type cmd.exe and click OK 4. When the command prompt opens type the following. ENTER after each new line. ipconfig /flushdns ipconfig /release ipconfig /renew exit 5. Erase your cookies in whatever browser you are using. 6. Try the rapidshare download again. Frequently you will be assigned a new IP address when this happens. Sometime you will, sometimes you will not. If you are on a fixed IP address, this method will not work. To be honest, I do not know how to do this in linux/unix/etc. If this works for you, you may want to save the above commands into a batch file, and just run it when you need it.