When a USB, external hard disk or a CD/DVD is inserted, Windows automatically displays AutoPlay window to display the choice of action to perform. AutoPlay or Autorun feature normally is not a threat, but considered nuisance by users who frequently connect and disconnect external devices. Another problem is, if an external device is infected, a malicious code can easily get injected into computer if Autorun is enabled.
Here is how you can disable Autorun in Windows 8 and 8.1
Using Control Panel
- Press Windows Key + R for run window, type control panel
- Inside control panel, Open Default Programs
- Click Change Autoplay settings
- Inside, you can configure each device.
You can select Ask me everytime if you want the program to open Autoplay window and ask permission before doing anything.
Select Take no action, if you want the program to do nothing.
- Then click on Save
Using Group Policy Editor
- Another method is by making changes in Group Policy Editor. Only Windows 8 and 8.1 Pro and Enterprise editions have group policy editor.
- Press Windows Key + R for Run window, type gpedit.msc
- Navigate to the location. Computer Configuration > Administrative Templates > Windows Components > AutoPlay Policies
- On the right side, open Turn off Autoplay by double clicking on it
- Select Enabled. Click Apply.
Hope you find this useful. Use the comment section for any queries.