Windows 10: set AutoPlay defaults with registry editor Solved

  1.    09 Jun 2018 #1

    set AutoPlay defaults with registry editor


    Do you know how to set the AutoPlay defaults with the registry editor? For example, I would prefer the default to be set to "Open a folder to view files (File Explorer) for "Removable Drive" and "Memory Card," but I don't exactly know how to set this in the registry editor and I can't find any examples anywhere!

    Thanks.
      My ComputerSystem Spec

  2. Brink's Avatar
    Posts : 33,148
    64-bit Windows 10 Pro build 18262
       09 Jun 2018 #2

    Hello John @JohnTravolski,

    Here are some .reg files that will set that for you.

    AutoPlay_Removable_drive_Open_folder.reg

    Code:
    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers\EventHandlersDefaultSelection\StorageOnArrival]
    @="MSOpenFolder"
    
    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers\UserChosenExecuteHandlers\StorageOnArrival]
    @="MSOpenFolder"

    AutoPlay_Memory_Card_Open_folder.reg

    Code:
    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers\EventHandlersDefaultSelection\CameraAlternate\ShowPicturesOnArrival]
    @="MSOpenFolder"
    
    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers\UserChosenExecuteHandlers\CameraAlternate\ShowPicturesOnArrival]
    @="MSOpenFolder"
    Last edited by Brink; 09 Jun 2018 at 21:19.
      My ComputersSystem Spec

  3.    09 Jun 2018 #3

    Surprisingly, they don't seem to work on Windows 10 Home Version 17134. Although those values in the registry do get changed from your scripts, for some reason, even after logging on and off AND restarting the computer altogether, Windows system settings still show the following:
    Click image for larger version. 

Name:	l2XRCSY.png 
Views:	14 
Size:	22.7 KB 
ID:	191741

    I'm not quite sure what's going wrong. I actually tested both options AFTER running the .reg files and AFTER restarting the computer, and whenever I plugged in my flash drive, I still got the notification asking me what action to take. Interestingly, plugging in a memory card didn't do anything at all (no notification appeared nor did file explorer open). There must be more to it or something; I'm not quite sure what's wrong.
      My ComputerSystem Spec

  4. Brink's Avatar
    Posts : 33,148
    64-bit Windows 10 Pro build 18262
       09 Jun 2018 #4

    Looks like there was one more location in the registry that was changed.

    I've updated the .reg files above to include it. Please see how that works for you now.
      My ComputersSystem Spec

  5.    09 Jun 2018 #5

    Brink said: View Post
    Looks like there was one more location in the registry that was changed.

    I've updated the .reg files above to include it. Please see how that works for you now.

    Thank you very much. Both work perfectly now, I really appreciate it. Keep up the good work!
      My ComputerSystem Spec

  6. Brink's Avatar
    Posts : 33,148
    64-bit Windows 10 Pro build 18262
       09 Jun 2018 #6

    You're most welcome.
      My ComputersSystem Spec


 

Related Threads
I wasn't sure which place to put it in, so I put it in General Support. I was about to find out why my Desktop Wallpaper's not changing - again - and when I went into Reg Edit, I saw this: Does anyone know what this could mean? ...
Solved registry editor is corrupt in Installation and Upgrade
Hi. I did a restore of my laptop and the registry seems to be corrupt. I am trying to rename my user folder from nadin to sister5091. I followed the directions from this website: How to rename the user profile folder in Windows 10...
How to Change the Registry Editor Font in Windows 10 System configuration information is stored centrally in a hierarchical database called the registry. You can use Registry Editor to add and edit registry keys and values, restore the registry...
Registry Editor crashing in General Support
Hello, I hope I am posting in the appropriate section :) In the recent TP builds of Windows 10 Pro I am facing a weird problem with the Registry Editor in my system, so I thought to post here in order to research this matter deeper and discover...
Windows 10 Registry Editor - regedit.exe in Performance & Maintenance
I have just recently upgraded to Win10 Home. After the upgrade, I did a clean install. Runs well. My issue is that regedit.exe freezes during any search. It will search and find the first few instances of an item, then it just stays in the...
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 02:18.
Find Us