Shutdown computer using pen drive

  1. Previous
  2. Next
  3. Recent

    1. Signs 'He' May be Cheating on You
    2. 7 Vows of Hindu Marriage - Know What 'Saat Vachans' Mean
    3. RuPay vs Visa vs Mastercard vs American Express- A Comparison
    4. What is RuPay? Everything You Need to Know About India's Domestic Payment System!
    5. Top 10 Online Portals to Find a High Paying Job in India
    6. Top Indians who Revolutionized the IT Sector in India
    7. 8 Initiatives by Narendra Modi that Could Change the Future of the Nation
    8. 8 Work-from-home Jobs for Housewives, Students, and Part timers
    9. Complete Company Registration Process in India - Explained
    10. Change Name in India in 5 Steps - Filing Affidavit, Newspaper Ad & Gazette Notification

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,

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.

shutdown computer using pen drive-2

3. Now just plug pen drive to laptop and see it getting shutdown it. In the example, shutdown starts after 30 seconds.

shutdown computer using pen drive-1

For immediate shutdown, replace the code in step 1 with the following,

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.

blog comments powered by Disqus