First, open Notepad, enter the following code in Notepad, and name it usbdisk ... VBS., the root directory of C disk exists.
The code is as follows:
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
Second, click "Start-run",
Enter "Gpedit.msc" and press ENTER to open the Group Policy Editor.
Expand Computer Configuration-windows Settings-script (boot/shutdown), double-click to open the shutdown item, click Add, and select Add the usbdisk you saved in the C disk. 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!
In fact, to do not forget to pull out a U disk, the trick is to let the computer to give us a pull disk reminder. The above steps are for us often forget to pull out a U disk and the special set of tips, we learned that after the U disk will not forget to pull the trouble.