Guide
1
Click "Start" to enter the main menu system and go to "Run."
2 Enter gpedit.msc in the "Open" dialog box "Run Programs".
3
Confirm your selection by pressing the OK button to call up the settings "Group Policy."
4
Locate and open the folder "Computer Configuration" and click the "Administrative Templates."
5
Click the "System" section and select the "Turn off Autoplay".
6
Call the dialog box "Properties" by right-clicking the mouse on the line "Turn off Autoplay".
7
Lift the box on the "Enable" under "Turn off Autoplay" tab "Options" dialog box "Properties: Turn off Autoplay".
8
Select "All drives" in the drop-down list of options field "Turn off Autoplay on:" on the "Options" dialog box "Properties: Turn off Autoplay".
9
Confirm the operation by pressing OK.
10
Return to the main menu "Start" and select "Run."
11
Enter gpupdate in the "Open" dialog box "Run" button to apply the selected settings startup.

This sequence of actions is applicable to all versions of Windows, except for Windows XP Home Edition, because it lacks the panel "Group Policy."Desired result can be obtained by changing the registry.
12
Click "Start" to enter the main menu system and go to "Run."
13
Enter regedit in the "Open" dialog box "Run Programs".
14
consistently Open HKLM \ SOFTWARE \ Microsoft \ Windows \ CurrentVersion \ Policies and create a new partition.
15
Rename created partition in the Explorer.
16
Enter to create the Explorer key value NoDriveTypeAutoRun.