method One, policy group
1, click the "Start" menu, select "Run", and enter "Gpedit.msc" and then determine;
2, in the left column under local Computer policy, open Computer Configuration-Administrative Templates-system, and then in the right column under the "Settings" heading, find "Turn off autoplay"
3, we double click "Turn off AutoPlay", set the popup Settings window to "disabled" or "Not Configured" and press OK. Then restart the computer.
Here are some of the settings: Not Configured (system default is not configured to turn on AutoPlay) enabled (you can choose to disable the CD or disable all drives in the turn off AutoPlay)
Method two, registration form
1, click the "Start" menu, choose "Run"--type regedit, and then enter;
2, in the Registry Editor to find Hkey_current_user/software/microsoft/windows/currentversion/policies/explroer under the primary key, find " NoDriveTypeAutoRun "Right click and select" Modify binary Data "to change the value to" 95 00 00 00 ";
3. Exit Registry Editor after editing and restart the computer.
XP system disables the disc AutoPlay function, for security reasons, after all, automatic playback is more susceptible to virus infection. However, if necessary, the AutoPlay feature can be turned on through policy groups and the registry.