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

Siemens Mobile Secret Codes

C25: SP unlock *#0003*(secret code 8 digits)# *#0606# shows you Secret Code but only without SIM Card. *#06# for checking the IMEI (International Mobile Equipment Identity) Resets language to automatic selection : * # 0000 # then Green button Pin Out (electrical connections) 1- GND 2- SB 3- POWER 4- NC 5- TX 6- RX 7- CLOCK 8- DATA 9- GND MIC 10- HF MIC 11- AUDIO 12- GND AUDIO Languages: *#0000#+green phone - choose automaticaly *#0001#+green phone - English *#0030#+green phone - Greek *#0031#+green phone - Netherlands *#0032#+green phone - French *#0034#+green phone - Spanish *#0039#+green phone - Italian *#0049#+green phone - German *#0090#+green phone - Turkish How to change PIN: **04*old PIN*new PIN*new PIN# How to check simlock status *#0606# and then press left soft-key, you will see strange characters, then text ("brak blokad"). If you see for example 260-02, it means the phone is locked to Era GSM. In older models you can use *#06# and see the same information afte...

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...

Install Windows xp Very Fast

Now, this tip will be very helpful for those who frequently install windows xp operating system. Normally OS installation takes around 40 minutes to complete, but through this trick you can now save 10-15 minutes. This simple tricks goes this way. 1. Boot through Windows XP CD . 2. After all the files are completely loaded, you get the option to select the partition. Select “c”. 3. Now Format the partition, whether it is normal or quick with NTFS or FAT 4. Once the formatting is completed, All the setup files required for installation are copied. Restart your system by pressing Enter. Now, here begins the Simple trick to save 10-15 minutes. 5. After rebooting, you get a screen where it takes 40 minutes to complete or finalize the OS installation. 6. Now, Press SHIFT + F10 Key ->  This opens command prompt . 7. Enter “Taskmgr” at the command prompt window. This will open Task Manager. 8. Click the Process Tab, here we find a process called Setup.exe -...