Prevent AutoPlay from remembering User Choice in Windows

Whenever you plug a new hardware device to your Windows operating machine, you’re asked for what you want to do with the hardware you’ve just plugged in. Windows has the AutoPlay functionality, which can remember how you treat the devices which are plugged into the system. For example, you plugged a USB drive to the system and Windows prompted what you want to do with this device. You picked the Take no action option. Now Windows will remember this choice on the behalf of AutoPlay and wouldn’t take any action whenever you plug that USB.

Prevent-AutoPlay-From-Remembering-User-Choice-5

There may be many Windows users who want to alter this relationship and they are looking to make Windows forget their choice for a particular USB. There are two easy ways to make this possible. This tutorial is applicable to Windows 8, Windows 7 and Windows Vista.

Prevent AutoPlay From Remembering User Choice

Using Group Policy

1. In Windows 8.1 Pro & Enterprise Editions, press Windows Key + R combination, type put gpedit.msc in Run dialog box and hit Enter to open the Local Group Policy Editor.

Prevent Store Apps From Pinning To Start Screen When Installed Make Windows 8.1 save Documents locally, instead of OneDrive

2. In the left pane, navigate here:

Computer Configuration -> Administrative Templates -> Windows Components -> AutoPlay Policies

Prevent AutoPlay from remembering User Choice

3. In the right pane of above shown window, look for the Setting named Prevent AutoPlay from remembering user choices which is Not Configured by default. Double click on this setting to get this:

Prevent-AutoPlay-From-Remembering-User-Choice-1

4. In the above shown window, select Enabled and then click Apply followed by OK. Here is the policy explanation so far:

This policy setting allows you to prevent AutoPlay from remembering user’s choice of what to do when a device is connected. If you enable this policy setting, AutoPlay prompts the user to choose what to do when a device is connected. If you disable or do not configure this policy setting, AutoPlay  remembers user’s choice of what to do when a device is connected.

You may now close Local Group Policy Editor and reboot to make changes effective.

Using Registry Editor

1. Press Windows Key + R combination, type put regedit in Run dialog box and hit Enter to open the Registry Editor.

 Office 2013 EULA opens every time I open any Office program

2. Navigate here:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer

Prevent-AutoPlay-From-Remembering-User-Choice-3

3. In the right pane of this registry location, right click in the blank space, select New -> DWORD Value. Name this newly created DWORD as DontSetAutoplayCheckbox and double click the same to get this:

Prevent-AutoPlay-From-Remembering-User-Choice-4

4. In the above shown box, put the Value data as 1 in order to prevent AutoPlay from remembering your choice. Click OK and close the Registry Editor, reboot to observe changes.

That is all you need to do!

Posted by on , in Category Windows with Tags

An Electrical Engineer by profession, Kapil is a Microsoft MVP and a Microsoft Content Creator. Please read the entire post & the comments first & create a system restore point before making any changes to your system.