Home > Article > Computer Tutorials > USB disk as startup computer key
?U disk has cheap price, compact appearance and excellent mobility. Therefore, U disks have always been very popular among people. Even today, USB flash drives are still a commonly used mobile storage device among some players.
The shortcomings of U disk are obvious, small capacity, slow speed, even inferior to HDD.
With the decline in NAND and SSD prices and the continuous upgrading of computer hardware, people's demand for storage devices is also increasing. Traditional USB flash drives are no longer taken seriously due to their small capacity and slow speed. Although the price of mobile SSD is still higher, we can convert it into a mobile SSD by purchasing an SSD box to meet the needs of large capacity and high speed.
Some time ago, the pre-order price of Guangwei Huijie 1.5T SSD was only over 900, and many players bought it as a mobile SSD. At present, the normal price of Guangwei Titan's 1.5T SSD is 1399, which is still very cost-effective. Its main control uses SM2258, and the flash memory is 3D TLC NAND. The read and write speed can reach about 500MB, 4K random reading can reach about 30M/S, and 4K random writing can reach 100M/S. It is solid-state and has a 5-year warranty. The price of SSD with ultra-large capacity and excellent performance has reached less than 1 yuan per GB. The era of SSD has come, what’s the point of U disk!
The decline in SSD prices has caused many players to flock to SSDs and gradually lose interest in U disks. After all, the USB flash drive is small and slow. Apart from installing a PE system, it seems to have no other use. However, today I want to tell you a new way to use a USB flash drive: insert the USB flash drive correctly and treat it as the key to starting the computer. In this way, you can use the USB flash drive to boot your computer when needed without relying on other boot devices. This is a simple and convenient trick that can help you make better use of the USB flash drive's capabilities.
Method:
Write a file such as "win.key" in the U disk.1. Write a BAT batch file in the system disk.
@echo off
if not exist E:win.key shutdown -s -t 100 -c \"You do not have permission to use this computer, the system will shut down in 100 seconds\"
:Repeatif not exist E:win.key goto Repeatshutdown -a
Save as "KEY.BAT"
2. In the local group policy editor, add " KEY.BAT".
3. Restart the computer without inserting the USB flash drive. The computer will shut down after 100 seconds (it can be set shorter, here is just an example). When using the computer normally, unplugging the USB flash drive will have no effect.
At this time, the U disk becomes a key for us to start up. It becomes more difficult for others to turn on and use our computers. Of course, this is just a simple system encryption method, and it cannot protect against experts, but it is enough to deal with ordinary people. Ordinary people can't even think of driving an experienced driver's car!
The above is the detailed content of USB disk as startup computer key. For more information, please follow other related articles on the PHP Chinese website!