Home > Operation and Maintenance > Windows Operation and Maintenance > How to use USB disk as boot key in win10

How to use USB disk as boot key in win10

藏色散人
Release: 2020-04-14 09:59:44
Original
25222 people have browsed it

How to use USB disk as boot key in win10

How to use a USB disk as a boot key for win10

Quickly create a boot key for Win10 system U disk

A lot of friends don’t like others to use their computers. After all, they have their own privacy, and more importantly, they are afraid that others will delete or damage them by mistake. The editor will share with you a method to prevent others from touching your computer by using only a USB flash drive. Let’s see who dares to touch it?

First insert the U disk, remember the drive letter displayed on the computer, for example, this is the F disk, and then click to enter.

How to use USB disk as boot key in win10

At this time, at the manager column header, click to switch the tab to "View" and check " file extension".

How to use USB disk as boot key in win10

Then right-click in the F drive letter folder and "New - Text Document".

How to use USB disk as boot key in win10

Note that the input file name is key.txt, where .txt is the automatically provided Notepad file format , then modify the txt, change it to sys, press Enter to confirm, and select "Yes" in the prompt dialog box. Then take a look to confirm whether it is Key.sys of the F drive.

How to use USB disk as boot key in win10

Reopen a notepad (you can find it by typing notepad in the start menu) and create a new document , enter if not exist F:key.sys shutdown -s -t 20 -c. To put it simply, check if there is no Key.sys file in the F drive, the system will automatically shut down after 20 seconds. After confirmation, click "File - Save As".

How to use USB disk as boot key in win10

Select the C drive, then change the save type to "All Files" and name it "Startup.bat" "The word "start" can be replaced at will, but the following .bat must be consistent with the editor's.

How to use USB disk as boot key in win10

Click the Start menu again and enter "Group Policy" to start the Group Policy Editor.

How to use USB disk as boot key in win10

Select "Computer Configuration - Windows Settings - Script (Startup/Shutdown)" in the tree list on the left , then double-click Start in the right column.

How to use USB disk as boot key in win10

The most important part is here, click "Add" and then click "Browse" to select the new one you just created on the C drive "Start.bat", click OK to take effect.

How to use USB disk as boot key in win10

In this way, the system will first load the executable command "start.bat" of the C drive when starting. , and "start.bat" will check whether there is a Key.sys file of the F drive according to the command inside. If it starts normally, if not, it will shut down within 20 seconds - now others can't do anything Start your computer now.

The above is the detailed content of How to use USB disk as boot key in win10. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template