Make a U disk to do a computer lock! Start the computer will do a lock on the U disk plug can start the machine, no U-disk can't open!
is to use Windows from the boot script, as long as write a script, let Windows judge whether there is a U disk on a file, no shutdown or cancellation.
Method: First Open Notepad, enter the following content and save as Ukey.bat
@echo off
If not exist e:test.txt Shutdown-s-T 0
Code Explanation:
E:test.txt you can set your own file name and type, such as Jannick.jpg or Jannick.exe, the key is E:, first you have to know what your computer to the U disk to give the letter, such as my is e disk, you may be different, please adjust their own.
Arbitrary find a file, named Test.txt and put it in the root directory of U disk, the file name is the same as above.
Shutdown parameters I do not explain too much, want to study the can be entered under cmd shutdown/? Look at the detailed instructions, I'm here to shut down the machine
Not rookie look: XP system users directly access the following folders, but to the folder options in the "Display System Folder Content" open, copy Ukey.bat to the destination folder.
%systemroot%system32grouppolicyuserscriptslogon
Rookie look: Copy Ukey.bat to C or other places you can find.
Next, click Start---Run---gpedit.msc---Computer Configuration---Windows Settings---Script--add Find your ukey.bat and add it---OK---sure, OK.
So the next time you start your computer, you'll have to plug in a USB drive.
Note : More wonderful tutorials Please pay attention to the triple computer tutorial section, triple Computer office group: 189034526 welcome you to join