Disable autorun on Windows XP Pro with the Group Policy Editor Gpedit.msc :
- Click Start, click Run, type Gpedit.msc in the Open box, and then click OK.
- Under Computer Configuration, expand Administrative Templates, and then click System. In the Settings pane, right-click Turn off Autoplay, and then click Properties.
- Click Enabled, and then select All drives in the Turn off Autoplay box to disable Autorun on all drives.
- Click OK to close the Turn off Autoplay Properties dialog box.
- Restart the computer.
If you do not have Gpedit.msc on your system use the Registry Editor regedit to disable autorun :.
- Click Start, click Run, type regedit in the Open box, and then click OK.
- Locate and then click the following entry in the registry: HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\policies\Explorer\NoDriveTypeAutorun
- Right-click NoDriveTypeAutoRun, and then click Modify.
- In the Value data box, type 0xFF to disable all types of drives.
- Click OK, and then exit Registry Editor.
- Restart the computer.
Ref: Disable autorun on windows
Disable Autorun on Windows XP pro