How to make the u disk into the key of the windows system startup

  

Turn the U disk into the boot key, making us computer
very safe. How to make the u disk into windows
The key to the system startup? Xiaobian shared the method of making the u disk into the key of the windows
system startup, I hope to help everyone.

Making the u disk into the key method of the windows system startup

1. Insert our U disk into the win7 computer, open the computer
icon and view the U disk drive letter. .

2. After opening the USB flash drive, click the right mouse button on the blank location of the USB flash drive to create a new file. The file name and suffix can be modified at will, such as 123.kkk.

3. Go back to the win7 system's desktop and create a new text document, then enter the following code in the text document:

@echo off if not exist G:\\\\123.kkk shutdown - s -t 5 -c "You don't have a startup key, you are not allowed to log in to the system"

The G in the above code refers to the U disk drive letter. If your U disk drive letter is not G but H, then Replace H with G.

4. Save the text file as a <quo;.bat” format file with the file save type as “all files”.

5. On the desktop of the win7 system, use the win+R key combination to open the run box, enter gpedit.msc and press OK to enter the group policy editor.

6. In the list on the left side of the Group Policy Editor, open: & ldquo; Local Computer Policy & Rarr; Computer Configuration & Rarr; Windows Settings & Rarr; Script (Start /Shutdown) & rdquo;, then on the right Open the “Start” item in the list. In the Launch Properties dialog box, click “Add” to add the newly created bat file, and then click OK.

After the setup is complete, the next time we start the win7 system, we need to insert the USB flash drive to start the computer, otherwise it will automatically shut down after 10 seconds. Here you need to remind everyone that the new 123.kkk file in the U disk can not be deleted, otherwise your U disk will also lead to the situation that can not be booted. What if the USB flash drive is lost? You just need to re-create the file with the same name in the new USB flash drive according to the above U disk production method.



Copyright © Windows knowledge All Rights Reserved