0
Is it possible to prevent or disable autorun/autoplay/device-stage by modifying regedit?
Because of some constraints, I cannot disable by Control Panel options.
I found some related questions here, for example, and some solutions provided by Microsoft, mainly involving this key on regedit:
HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\policies\Explorer\NoDriveTypeAutorun
But none of these solutions worked, neither after rebooting.
Is there any other key or value that controls this kind of property?
Edit:
I don't have physical access to the computer, this is my two options are:
Do this through some script that modify a key/value from registry or programmatically.
Edit 2:
Changing the value of NoDriveTypeAutorun above to 0xFF disabled AutoPlay for media files but not for devices.
Uh, generally... if you can't do it with control panel, you AIN'T gonna be able to do it with regedit... can you even RUN regedit? and edit/save the registry? Lockdowns are for a reason. Not always a GOOD reason... but someone had a reason. Try holding SHIFT when you insert your device, it'll disable auto-run for that insertion. – lornix – 2012-07-05T09:11:48.530
Precisely what kind of "AutoPlay" are you referring to? Because "Autoplay for devices" doesn't really make sense. A USB mouse doesn't have Autoplay; it has driver installation. – MSalters – 2012-07-05T15:22:13.683
When a camera is plugged into usb port for example. It initiates the device stage feature (http://windows.microsoft.com/en-US/windows7/What-is-Device-Stage)
– coelhudo – 2012-07-05T16:50:17.490