DisableAutoplay 1: turning off AutoPlay for drives and devices
Short answer
UpdatedAutoPlay offers or runs an action when you plug in a drive or insert a disc. DisableAutoplay set to 1 turns it off for your account. In the registry it sets DisableAutoplay to 1 under HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers.
HKCUSoftware\
DisableAutoplayYour previous value1
What it does
AutoPlay offers or runs an action when you plug in a drive or insert a disc. DisableAutoplay set to 1 turns it off for your account.
In the app the switch is called "Disable AutoPlay", described there as: Stops drives and devices from launching anything on their own when plugged in.
When it helps, and when it hurts
When it helps
- Security: nothing on a USB stick starts or prompts on its own.
When it hurts
- You open drives yourself in File Explorer.
What it writes
Exactly what the switch changes, read from the app's source. Switching it off is what the app writes when you turn the tweak off again.
| Key and value | With the tweak | Switching it off |
|---|---|---|
| HKCUSoftware\ | 1 | Your previous valueSaved before the change, or deleted if there was none.Windows default: 0. |
From the app's source (pack_extra.hpp), app 2.0.0, checked .
The same change by hand
You do not need the app for this one. These commands make the changes from the table above. Run them in a Command Prompt opened as administrator, and make a restore point first.
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers" /v "DisableAutoplay" /t REG_DWORD /d 1 /freg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers" /v "DisableAutoplay" /t REG_DWORD /d 0 /freg query "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers" /v "DisableAutoplay"How to undo it
In the app: Yes
Switching it off puts back exactly what was there before, value for value.
Switch the tweak off in Frozen Tweaks. The app saved what each value was before the change and writes exactly that back, or removes the value if it did not exist.
Changing several settings at once? The app's Make a restore point button, on every plan, makes a Windows restore point before you start.
Verdict
A sensible security default.
Questions
- What does the "Disable AutoPlay" tweak change in Windows?
- In the registry it sets DisableAutoplay to 1 under HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers.
- What is the default value of DisableAutoplay?
- The Windows default of DisableAutoplay is 0. Frozen Tweaks sets it to 1, and switching the tweak off puts back the value you had before.
- Is "Disable AutoPlay" safe to switch on?
- A sensible security default. The main cost: You open drives yourself in File Explorer.
- How do I undo it?
- Switch the tweak off in Frozen Tweaks. Switching it off puts back exactly what was there before, value for value.
- Is "Disable AutoPlay" free in Frozen Tweaks?
- Yes. It is one of the free tweaks, with no time limit.
In the app
- Switch
- Disable AutoPlay
- Category
- Security
- Plan
- Free
- Undo
- Yes
Related guides
- Is PC Optimization Software Safe? What to Check Before InstallingThe honest answer depends on one question: does the tool touch your games, or only your operating system? Here is how to tell, and what to verify first.7 min read
- Windows 11 Gaming Optimization: What Still Works in 2026An honest audit of Windows 11 gaming tweaks: which settings still measurably help in 2026, which are placebo, and which quietly cost you security.8 min read
More tweak explainers
- Compatibility telemetryApplication Impact Telemetry and the Inventory Collector record which programs are installed and how they behave, for Microsoft's compatibility data.2 min read
- PowerShell and .NET telemetryPowerShell 7 and the .NET command line tools send usage data unless an environment variable tells them not to. What it changes and how to undo it.2 min read
- Office telemetryMicrosoft Office sends diagnostic and usage data. What the tweak changes, when it helps, when it hurts and how to undo it.2 min read
In the app
- Category
- Security
- Plan
- Free
- Undo
- Yes
Frozen Tweaks
Free for Windows 10 and 11
58 tweaks free, each with an undo switch. Never edits game files.
v2.0.0 · 6.4 MB · Windows 10 and 11, 64-bit · free account, no payment details
Or type frozentweaks.com on your PC.

The free Windows app for competitive games.
58 tweaks free, each with an undo switch. Never edits game files.
v2.0.0 · 6.4 MB · Windows 10 and 11, 64-bit · free account, no payment details
Frozen Tweaks runs on Windows. Send the link to your PC and download it there.
Or type frozentweaks.com on your PC.
