Use a personal USB flash drive to create a simple dongle

Source: Internet
Author: User

First of all, I declare that although simple dongles are used to make such titles, there are many entertainment ingredients. Even the simplest programs sold on the Internet are more complicated than the principles mentioned in this article. In addition to software developers who often check the cell in the dongle in the program and compare the returned values, the hardware also includes the EPROM fired by the manufacturer and the dedicated integrated circuit, in order to achieve the effect of non-replication.

This is an article I saw in the Yulin Mufeng forum. We only use the simplest USB flash disk verification to implement the simple dongle function. The question is as follows,

Functions:

In order to prevent others from enabling their computers to view their private information, in addition to setting their personal passwords, you can also set a simple setting to enable the computer only after inserting its own USB flash drive, otherwise, the instance is automatically shut down after startup.

Steps for making a simple dongle:

1. first, determine the drive letter of the USB flash drive. You can insert your own USB flash drive, and then you can see the drive letter. This step is very important. If the drive letter is wrong, let your computer sleep;

Make sure that your drive letter is here.

2. Create a file in the root directory of the USB flash drive. The file name and extension are all input. For example, the file created is:
Lord, I love you. 1234
3. Create a batch file on the local disk (save it as. BAT in Notepad) with the following statement:
If not exist I: I love you. 1234 shutdown-S-T 10-c "you cannot use this computer"
The red part indicates that you can set the I here as the USB flash drive. This means that if the USB flash drive does not exist, I love you. 1234, the computer will be shut down in 10 seconds, and the prompt "you cannot use this computer" will be displayed. Note: The prompt "you cannot use this computer" indicates that you can rewrite it on your own. For example, if I change it to "1234567", double quotation marks are in English. 4. enter "gpedit. MSC "Open the Group Policy and go to the following path:" Local Computer "policy → computer machine configuration → Windows Settings → script (start/stop ), select "start" in the box on the right, add the batch file you just created to the startup script list, and click OK and exit. At this point, the computer can be started and enter the system only when a USB flash drive is inserted. Otherwise, a prompt will appear and the computer will be shut down within the specified time. Solution to USB flash drive loss:
1. If you have enough time, you can enter "shutdown-a" in the operation to cancel the shutdown command;
2. Back up the files in your USB flash drive to other places. When the USB flash drive is lost, copy the file I LOVE YOU. 1234 to the new USB flash drive. If it is not OK, check whether the current USB flash disk partition is the same as the original USB flash disk partition. 3. Start the computer to safe mode and delete the boot script, because the boot script is not loaded in safe mode.
Author: rain forest wood wind Forum dream Author: http://bbs.ylmf.net/forum.php? MoD = viewthread & tid = 2065341 & extra = Page % 3d1

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.