In public, there are always some lawless elements while we are not in the computer scene, secretly open the computer login system, to view our operating privacy, and even to the computer system to carry out some illegal sabotage activities. In order to prevent others from logging on to their own system, many people often choose to protect the system with an encryption dog, and once the dog is not supported, then no one can enter the computer system at will. However, for ordinary computer systems, deliberately to choose the encryption dog to protect the system security, obviously a bit of a fuss; in fact, we can through the appropriate settings, let oneself in the hands of the U disk "transformation" into a system to start the key to play a simple role to encrypt the dog. Now, to teach you the following settings to operate, your hands will become the future of your own system to start the "key", without this key, ordinary people can not normally use their own computer:
First the U disk inserted into its own computer system, and in which to create a file, assuming that we named the file "Aa.txt", the actual use of the file is to allow local computer systems to identify the U disk is the designated U disk, and not other people arbitrarily inserted the U disk, This will enable U disk as the system to start the "key" uniqueness;
Next, open the Notepad editor and enter the following command line code in the Text editing window:
@echo off
If not exist f:aa.txt shutdown-s-T 5-c "You do not have a startup key, no login system"
Where the "F" disk is assumed to be the disk partition symbol of the USB disk, after confirming that the above code is correct, click the file/Save command in the text editing window, and then save the contents as a "aa.bat" batch file, and once the Windows system executes the file, Then it will automatically scan the local system whether inserted a U disk, and in the designated U disk root directory exists "Aa.txt" file, if there is no U disk inserted or u disk without "Aa.txt" file, Windows system will automatically pop off the system prompts, And in 5 seconds forcibly shut down the computer system, so the user does not specify a U disk will naturally not be free to use the local computer system.
In order for the Windows system to automatically execute the "Aa.bat" batch file at the start of the boot, to determine whether the current user is a legitimate user, we can follow the settings below to add the "Aa.bat" batch file to the local system's boot script:
First click the start/Run command, in the pop-up System Run dialog box, enter the string command "Gpedit.msc", and then click the OK button to open the Group Policy Console window for the corresponding system;
Next, in the left side of the console window, select the Computer Configuration/Windows Settings/Script Branch option, and in the right-hand area of the Script Branch option, double-click the startup option to open the Settings dialog.
Click the Add button in the dialog box, select and import the previously generated "Aa.bat" batch file from the file selection dialog that appears, and then click OK to save the setup action, so that the USB drive in our hands will be able to start the "key" for its own system in the future. If the other people do not have this "key", of course, can not be free to enter their own computer system.