Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.



Windows 7: problem with running .reg files

27 Nov 2009   #1

Windows 7 Home Premium
 
 
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 System SpecsSystem Spec
27 Nov 2009   #2

 

And following reboot?
My System SpecsSystem Spec
27 Nov 2009   #3

Windows 7 32 bit
 
 

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 System SpecsSystem Spec
.


27 Nov 2009   #4
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

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 System SpecsSystem Spec
27 Nov 2009   #5

Windows 7 Home Premium
 
 

Thanks for all your replys. The reboot doesn't change anything. Brink, what do you mean by 'merging the reg files'?
My System SpecsSystem Spec
27 Nov 2009   #6
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

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 System SpecsSystem Spec
27 Nov 2009   #7

Windows 8.1 Pro RTM x64
 
 

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 System SpecsSystem Spec
27 Nov 2009   #8

Windows 7 32 bit
 
 

If it's a permissions thing, shouldn't he get an error instead of "successfully added" msg?
My System SpecsSystem Spec
02 Dec 2009   #9

Windows 7 Home Premium
 
 

Here's the upload


Attached Files
File Type: reg reg.reg (140 Bytes, 549 views)
My System SpecsSystem Spec
02 Dec 2009   #10

Windows 8.1 Pro RTM x64
 
 

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 System SpecsSystem Spec
Reply

 problem with running .reg files





Thread Tools



Similar help and support threads for2: problem with running .reg files
Thread Forum
Problem with running programs due to .dll files Software
Cmd Batch Files Running Without Finishing: Recursion problem?? General Discussion
.exe files running problem General Discussion
Solved Problem running some .exe and .bat files General Discussion
Trouble Running .jar Files Software
How about running .jar files on win 7 beta Software
problem: running srt,sub with mkv files Media Center

Our Sites

Site Links

About Us

Find 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:15 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33