When the use of U disk in the company, whether will often forget to remove the U disk, causing unnecessary trouble. There is no computer shutdown before the prompt to unplug the U disk software it? Yes, let's teach you to make one yourself.
First, enter the following contents in the Notepad program:
On Error Resume Next
Dim FSO, D,dc,f
Set fos = CreateObject ("Scripting.FileSystemObject")
Set DC = fso,drives
For each D in DC
Set f = fso. GetFile (D & "Please take me home. txt")
If Left (f,2) =d Then MsgBox "I am Your:" &d& "plate, please take me home!", vbcritical, "Host: Hello!"
Next
After the input is good, save the file in the C-packing directory and name it usbdisk. vbs.
Second, click "Start-run",
Enter "Gpedit.msc" and press ENTER to open the Group Policy Editor.
Expand Computer Configuration-windows Settings-script (Start/shutdown) in turn,
Double-click to open the "shutdown" item, and then click "Add" to add the Usbdisk previously saved in C. VBS file, and then exit the Group Policy Editor after determining.
Third, when you need to close the machine with your USB disk or mobile hard drive to the directory, to create a file named "Please take Me home. txt" text file. Later, if you do not pull out a U disk or mobile hard drive, the system will pop-up warning box prompts you! How, very simple, try!