problem with running .reg files

Page 1 of 2 12 LastLast

  1. Posts : 21
    Windows 7 Home Premium
       #1

    problem with running .reg files


    When I run .reg files I choose to run them as administrator. I get an information saying that the information was succesfully added to the registry. However, when I open the registry I see that those keys weren't added at all. What's wrong?
      My Computer


  2. Posts : 3,960
    W7 x64
       #2

    And following reboot?
      My Computer


  3. Posts : 5,092
    Windows 7 32 bit
       #3

    You can download my free program called UpdateEnv from this page:
    Faves Downloads

    The registry is kept in memory but sometimes if you run UpdateEnv 6 or 8 times you can get the shell to write changes or let go of files. It's just a utility that sometimes can save logging off, then back on, to get the shell to save.

    If that doesn't work, try logging off, then back on. As last resort, reboot.
      My Computer


  4. Posts : 72,050
    64-bit Windows 11 Pro for Workstations
       #4

    Hello Beholder,

    In addition to restarting the computer, are you merging the reg files while logged on a administrator account? Depending on the registry location, some will not merge no matter what if logged on to a standard account.
      My Computer


  5. Posts : 21
    Windows 7 Home Premium
    Thread Starter
       #5

    Thanks for all your replys. The reboot doesn't change anything. Brink, what do you mean by 'merging the reg files'?
      My Computer


  6. Posts : 72,050
    64-bit Windows 11 Pro for Workstations
       #6

    Merging the .reg file is the same as running it, or right clicking on it and clicking on Merge. That's all. :)

    Could you upload (paperclip icon) the .reg file for us to take a look at it to see if there may something wrong with it?
      My Computer


  7. Posts : 9,582
    Windows 8.1 Pro RTM x64
       #7

    What are the registry files? Depending on the location in the registry, you can either merge them under a standard account or an account with administrative privileges

    HKEY_CLASSES_ROOT Administrative Privileges required

    HKEY_CURRENT_USER Both (see note)

    HKEY_LOCAL_MACHINE Administrative Privileges required

    note: the current user is either the standard user OR the elevated user.

      My Computer


  8. Posts : 5,092
    Windows 7 32 bit
       #8

    If it's a permissions thing, shouldn't he get an error instead of "successfully added" msg?
      My Computer


  9. Posts : 21
    Windows 7 Home Premium
    Thread Starter
       #9

    Here's the upload
    problem with running .reg files Attached Files
      My Computer


  10. Posts : 9,582
    Windows 8.1 Pro RTM x64
       #10

    OK. For information to others, here is the text equivalent of the file.

    Windows Registry Editor Version 5.00
    [HKEY_LOCAL_MACHINE\SOFTWARE\RP\Data]
    "OutputDir"="D:\\Output"
    "DataPath"="D:\\CurrentBuild\\Data"

    Using the information from this Tutorial Registry Editing - Vista Forums

    @ECHO OFF
    REG ADD "HKLM\SOFTWARE\RP\Data" /v "OutputDir" /t REG_SZ /d "D:\\Output" /f
    REG ADD "HKLM\SOFTWARE\RP\Data" /v "DataPath" /t REG_SZ /d "D:\\CurrentBuild\\Data" /f

    Save the above as a batch file (with a .bat extension). Right click on it and select Run as administrator.
      My Computer


 
Page 1 of 2 12 LastLast

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 01:12.
Find Us