How does Win10 set the USB flash drive as the boot key? How to set up the U disk key when booting?

  

Although the Win10 system provides a variety of encrypted login methods, it is a password that users need to remember. Is there a way to use the USB flash drive as the key to boot? If the USB flash drive is not inserted, the system cannot enter. There are some methods, as long as the U disk is made into a boot key.

Operation steps:

1. Insert our USB flash drive into the computer and open the computer icon to view the USB drive letter.

2, after opening the U disk, click the right mouse button in the blank position of the U disk to create a new file, the file name and suffix can be modified at will, such as 123.kkk.

3, back to the desktop to create a new text document, and then enter the following code in the text document:
@echo offif 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, replace H with G.

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

5, using Win + R key combination to open Run box, type: gpedit.msc press OK to enter the Group Policy Editor.

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




The 123.kkk file in the USB flash drive must not be deleted, otherwise your USB flash drive will also fail to boot. . What if the USB flash drive is lost? Just follow the above U disk production method to re-create the same name file in the new U disk.

Copyright © Windows knowledge All Rights Reserved