Prevent USB disk Copy files, protect information security

Source: Internet
Author: User

How to effectively protect the files on the computer, as more people use U disk, others casually insert a U disk will be able to put the data on your computer

To copy away, to keep the door of the computer, it is necessary to prevent others through the U disk to copy your computer files, very want to learn this

A way, follow me to study together.

Tools/raw Materials

U Disk Registration Form

Steps/Methods

The first thing we have to do is open the registration, select the Start menu, and then select the Run option, as shown in the figure:

In the Open Run Options dialog window, we enter the registry command, Regedit, as shown in the figure:

After you enter the registry command, click the OK button to open Registry Editor as shown in the figure:

In turn, we open the following path to the registry, Hkey_local_machinesystemcurrentcontrolsetcontrol, as shown in the figure:

Then right-click on the Control key, select New, and select the item as shown in the figure:

Then rename the newly created item and change the name to Storagedevicepolicies, as shown in the figure:

Then select the Storagedevicepolicies item, right-click the new DWORD value, and change the name of the DWORD value to Writeprotect, as shown in the figure:

Then we select the Storagedevicepolicies item, right-click on it, and select Export, as shown in the figure:

After you select Export to eject the Export Registry File window, we put the export file into the C packing directory, so we want to browse to the root of C disk, and the exported file named: Yes.reg, as shown in the figure:

Then select the Writeprotect value to the right of the storagedevicepolicies item, double-click to open, and set the DWORD value to 1, where 1 indicates the meaning of the prohibition. As shown in the figure:

After you change the value to 1, click the OK button, close the window, and then right-click the Storagedevicepolicies item again, and select the export option, as shown in the figure:

Select the export after browsing to the C-packing directory, the file stored in the C-packing directory, the location can be set by themselves, in order to facilitate, I placed in the C-disk directory under the name of the prohibition. Reg, as shown in the picture:

Then turn on the Start menu, select the program, select the attachment, and finally select the Notepad file, in the Open Notepad File window, enter the command echo off Reg import C:yes.reg as shown in the figure:

And then save the file to the C:windowssystem32 path, and named the. bat suffix file, here because of convenience, I named the Yes.bat, the name you can take, as shown in the picture:

The above steps are done, we put the U disk into the computer, and then casually copy a file to the U disk above, see what will happen, as shown in the picture:

From the above figure it is obvious that there is an effect, obviously not to copy the file, then how can you copy the file into it, the first thing you need to do is to remove the U disk from the computer first.

Open the Start menu, select the Run option, enter the name of the batch that you just saved, and I'll save it as Yes.bat, so I'll type in the Yes.bat, as shown in the picture:

At this time reinsert your U disk, the file can be copied again, if you want to disable the copy file again, only need to double-click just saved in the C-packing directory of the prohibited. reg file, Re-import registration can be.

Again want to let U disk can copy and then open the Start menu, select Run Options, input yes.bat, so repeatedly, I hope everyone can understand, what do not understand can Baidu hi me.

Attention matters

When you save the file, be aware of the extension, and do not save the extension to the wrong name.

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.