How to let the computer only plug in its own USB drive to start

Source: Internet
Author: User
Tags safe mode

First, insert your U disk on the computer and confirm the letter of the U disk. Mine is G-disk, as pictured.

Second, open the extension that displays the file.

The steps are: My Computer--tools--Folder Options--View--Remove the "Hide extensions for known file types" √. As shown in the figure

A new "boot. bat" file is created outside the system disk (my C disk).

Copy code in: "If not exist I:eckert.lj shutdown-s-T 5-c"

If you do not have a U disk you do not have the right to use the computer.

Where (I:eckert.lj i for U disk letter, my for G disk)

In turn:

Start--run--gpedit.msc--Computer Configuration--windows Settings-script startup shutdown-start-Add.

As shown in the figure

That way, it's all set up.

The next boot. If your USB drive is not on the computer, then the computer will automatically shutdown after 5 seconds of startup.

Attention matters

If the USB disk is lost, boot directly into safe mode, delete the "boot. bat" inside the policy group.

Text, original pictures, I am a pro-test share, reproduced please specify! If you think this experience is helpful to you, please pay attention to the author, thank you!

Note : More attention to the computer Tutorials section, triple Computer office group: 189034526 welcome you to join

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.