Double click on *.reg file does NOT change the key value in Registry

Page 1 of 2 12 LastLast

  1. Posts : 128
    Win10
       #1

    Double click on *.reg file does NOT change the key value in Registry


    I have a *.reg script which just modifies (overwrites) the value of a certain, existing Registry key.

    When I double click on it (similar to Win7) then a popup appears asking me if I really want to add the key.
    After clicking Ok I was informed that the key value has been added successfully.

    However when I peek into the Registry DB then the old key is still unchanged.

    Whats wrong?

    I disabled UAC completely (slider to lowest possible position) and my user is member of the Administrator group.
      My Computer


  2. Posts : 44,108
    Win 10 Pro (22H2) (2nd PC is 22H2)
       #2

    Hi, try for comparison a reg file downloaded from one of the tutorials here.

    What happens if you rt click it, and click Merge? Post screenshots so we can see.
    To post a screenshot please use the Insert Image icon above your post. Thanks.
      My Computers


  3. Posts : 17,057
    Windows 10 Home x64 Version 22H2 Build 19045.4170
       #3

    Please post the .reg file.

    Denis
      My Computer


  4. Posts : 7,629
    Windows 10 Home 20H2
       #4

    The file can be posted as below:
    Code:
    Windows Registry Editor Version 5.00
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\NetworkList\DefaultMediaCost]
    "Default"=dword:00000002
    "Ethernet"=dword:00000002
    "WiFi"=dword:00000002

    pstein said:
    I disabled UAC completely
    Registry keys can be imported without UAC disabled.
      My Computer


  5. Posts : 6,856
    Windows 11 Pro - Windows 7 HP - Lubuntu
       #5

    Antivirus can be blocking the Register edition.
      My Computers


  6. Posts : 989
    Microsoft Windows 10 Home
       #6

    Post a screenshot of the context menu displayed when you right-click the file.
    Last edited by KeithM; 15 Feb 2020 at 22:40.
      My Computer


  7. Posts : 7,629
    Windows 10 Home 20H2
       #7

    KeithM said:
    If you had regedit open before the merge, you have to refresh the view to see the results of the merge.
    If you use this command Regedit /S "Testing.reg", you do not have to refresh the view.
      My Computer


  8. Posts : 989
    Microsoft Windows 10 Home
       #8

    Actually, either method of merging refreshes the view. I was thinking of when a setting is changed via the GUI. I'll edit my post.
      My Computer


  9. Posts : 7,629
    Windows 10 Home 20H2
       #9

    I would prefer using the REG Add command to add a Registry key.
      My Computer


  10. Posts : 989
    Microsoft Windows 10 Home
       #10

    But when working with a .reg file via Explorer, Merge should be an option --- that's the OP's issue. But he hasn't clarified what his default verb is. Merge can get lost if someone mistakenly alters the association via Open with...

    Let's not lose track of the question
      My Computer


 

  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 23:57.
Find Us




Windows 10 Forums