set AutoPlay defaults with registry editor


  1. Posts : 57
    Windows 10
       #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 Computer


  2. Posts : 68,968
    64-bit Windows 11 Pro for Workstations
       #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 Computers


  3. Posts : 57
    Windows 10
    Thread Starter
       #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:
    set AutoPlay defaults with registry editor-l2xrcsy.png

    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 Computer


  4. Posts : 68,968
    64-bit Windows 11 Pro for Workstations
       #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 Computers


  5. Posts : 57
    Windows 10
    Thread Starter
       #5

    Brink said:
    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 Computer


  6. Posts : 68,968
    64-bit Windows 11 Pro for Workstations
       #6

    You're most welcome.
      My Computers


 

  Related Discussions
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 21:48.
Find Us




Windows 10 Forums