How to Turn Off Autorun in Group Policy
- 1). Click "Start," type "Gpedit.msc" into the search box at the bottom of the Start menu and press "Enter."
- 2). Navigate to the "Local Computer Policy\Computer Configuration\Administrative Templates\Windows Components\AutoPlay Policies" folder in the left pane of the group policy editor.
- 3). Double-click the "Turn Off Autoplay" setting in the right pane of the group policy editor.
- 4). Click "Enabled."
- 5). Click the "Turn Off Autoplay On" box and click "All Drives."
- 6). Click "OK."
Source...