Today our skills are special, you can let the computer start after inserting your own U disk, otherwise it will automatically shut down after startup. The following is the implementation process of this method:
1. First determine the U disk The drive letter, you can plug your own U disk, and then you can see the drive letter, this step is very important, if the drive letter is wrong, then let your computer sleep;
2. Create a file in the U disk, the file name and extension are arbitrarily entered, for example, the file created by the author is 123.lj;
3. Create a batch file on the local disk (using Save Notepad as .bat), its content is as follows:
ifnotexistI:\\123.ljshutdown-s-t10-c"You can't use this computer"
Here I For the U disk drive letter, this sentence means that if the file 123.lj does not exist in the USB flash drive, the computer is turned off after 10 seconds and the message "You cannot use the computer" is displayed.
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. 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 the U disk.
1. If there is enough time, you can enter "shutdown-a" in the run to release the shutdown command;
2. You can also start the script by deleting the computer into safe mode. Because the boot script is not loaded in safe mode.
& ldquo; maliciously modified web page & rdquo; is an invincible attack, simply modify our home page
In order to keep the computer running smoothly, we need to update the system from time to time. Inst
I often see such a problem, my Windows XP (hereinafter referred to as XP) system runs very slowly, a
First, what is Spoolsv.exe Spoolsv.exe is a system process for sending the systems print tasks to t
Load AHCI driver, let XP system say goodbye to boot blue screen
Note that those things that xp systems can't ignore during the installation process
Windows 7 system suspended animation reasons and treatment methods [Photos]
Disable five features to make XP system extremely fast
Improve the ability of notebook WIFI signal through the wall
Two wonderful ways to easily change the icon of the computer hard drive letter
Detailed introduction to windowsXP system optimization method Daquan
Ways to solve Windows Installer errors
Add boot killer function to Windows XP and Vista (2)
Adobe fonts free download! Originals project 25th anniversary
Experts share the optimization skills of Windows operating system
Windows 8 system one-click method to mount VHD virtual disk
What is the meaning of XP's boot menu?
How to solve the "data invalid" error in Win8/8.1 driver installation?
Win10 latest professional version of Build 10551 system screenshot exposure
How does Win10 turn on power saving mode? Win10 set the power saving mode method
How to add sleep mode to Windows 8 system power button
How to delete upgrade files and old system files after Windows 10 official version upgrade?