Shutdown computer using pen drive
http://www.wisecleaner.com
This post is for information purpose only. Basically we don’t need to execute this process as we can shutdown computer directly in easy steps.
Here are the steps to automate computer shutdown using a pen drive,
1. Firstly get a pen drive, make file called ‘autorun.inf’ and write following code in it,
[Autorun]
open=c:\windows\system32\shutdown -s -f -t 30
open=c:\windows\system32\shutdown -s -f -t 30
That’s all, we’re ready for shutdown. [You can hide this file if you want, not mandatory]
2. If you’re working on Win Vista/7, go to ‘Control Panel’ in classic mode and open AutoPlay option. Here change ‘Software and Games’ to ‘Install or run program’. This will allow our pen drive to run as soon as its plugged into the laptop.
3. Now just plug pen drive to laptop and see it getting shutdown it. In the example, shutdown starts after 30 seconds.
For immediate shutdown, replace the code in step 1 with the following,
[Autorun]
open=c:\windows\system32\shutdown -s -f -t 0
open=c:\windows\system32\shutdown -s -f -t 0
This process is entirely safe. Here we are just calling the system ‘shutdown.exe’ file after plugging the pen drive.
Comments
Post a Comment