Just plug the computer into the host's USB flash drive to start the system.

  

In order to ensure the security of your computer, you can prevent others from opening your own computer to view your private information. In addition to setting a personal password, you can also make the computer only through simple settings. It can be started after inserting its own USB flash drive, otherwise it will automatically shut down after booting. The following is the implementation of the method:

1. First determine the drive letter of the U disk, you can plug your own U disk, and then you can see the drive letter, this step is very important, if If you mistake the drive letter, let your computer sleep for a long time;

2. Create a file in the U disk, the file name and extension are arbitrarily entered, for example, the created file is 123.lj;

3. Create a batch file on the local disk (Save it as .bat with Notepad), its content is as follows:

ifnotexistI:123.ljshutdown-s- T10-c "You can't use this computer"

Here I is the U disk drive letter. This means that if the file 123.lj does not exist in the U disk, the computer will be turned off after 10 seconds. And display the message "You can't use this computer".

4. Enter "gpedit.msc" in the run to open the group policy and locate the following path: "Local Computer" Policy → Computer Configuration → Windows Settings → Script (Start /Shutdown), then on the right Select the "Start" item in the box and add the batch file you just created to the list of startup scripts. OK and exit.

When you get here, you're done. At this time, you can only start the computer and enter the system by plugging in the USB flash drive at boot time, otherwise you will be prompted to turn off the computer within the specified time.

In addition, let's talk about the solution in the case of U disk loss:

1. If there is enough time, you can enter "shutdown-a" to cancel the shutdown command during operation;

2. It is also possible to boot the computer into safe mode and delete the startup script, because the boot script will not be loaded in safe mode.

Copyright © Windows knowledge All Rights Reserved