I read this article today and I feel that it is good to share with you, let the computer start after inserting its own USB flash drive, otherwise it will automatically shut down after startup. The following is the implementation process of this method:
1. First determine the drive letter of the USB flash drive, you can plug your own USB flash drive, and then you can see the drive letter. This step is very important. If you mistake the drive letter, let your computer sleep. ;
2. Create a file in the USB flash drive, the file name and extension are arbitrarily entered, for example, the file created by the author is 123.lj;
3. Create a batch on the local disk The file (can be saved as .bat with Notepad), its content is as follows:
ifnotexistI:\\123.ljshutdown-s-t10-c"You cannot use this computer"
where I is the USB flash drive letter, this sentence means that if the file 123.lj does not exist in the USB flash drive, the computer will be shut down after 10 seconds, and the message "You cannot use the computer" will be displayed. .
4. In the run, type "gpedit.msc" to open the group policy and locate the following path: "local computer" strategy → computer configuration → Windows settings → script (start /Shut down), then select the "Start" item in the box on the right, and add the batch file you just created to the list of startup scripts, OK and exit.
You are done here. At this time, you can only start the computer and enter the system by plugging in the USB flash drive at boot time. Otherwise, the following prompt will appear and the computer will be turned off within the specified time:
Let me talk about the solution in the case of the loss of USB flash drive.
1. If there is enough time, you can type ""shutdown-a" to cancel the shutdown command during operation;
2. You can also start the script by deleting the computer into safe mode. Because it is not loaded in the safe mode
With the continuous growth of the Internet, the demand for IP addresses is increasing, resulting in
Many users will install 0x0000007b blue screen problem when installing or using WinXP system. The re
In our daily work, there will always be some time, the computer is not used but can not be turned of
When we use a computer, we often mess up some of our settings, and then it has to b
XP LAN settings and inaccessible solutions
How to speed up the operation? "Door door left" strange trick to help you
WinXP system IE prompts "Do you really allow this page to access the clipboard?" How to solve?
Let your system speed ratio be faster than
Let xp easily have a small coup of win7 taskbar
What should I do if the Update prompt 0x8024402F under Windows XP?
How to hide WinXP's control panel
Why can't WinXP computer QQ get up? How to solve?
Introduction to WinXP Security Mechanism
Solve the inability to access Windows7 files under XP
WinXP Workgroup Computer Unreachable Solution
How to solve the problem of ripples on WinXP computer monitors
Three ways to shield Win7/Win8.1 upgrade Win10 push
How does the Win8 system computer reinstall the pre-installed system?
Win8 together to create a personalized desktop
Win7 computer when the game is broken, how to do
Where is the Win8 system running?
Little-known win7 flash drive encryption feature
This configuration xp computer upgrade win7 card, I will replace the video card with this!