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
beholder

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
Qdos

 

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

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
Brink
Microsoft MVP

64-bit Windows 10 build 10166
 
 

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
beholder

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
Brink
Microsoft MVP

64-bit Windows 10 build 10166
 
 

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
Dwarf

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
MilesAhead

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
beholder

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
Dwarf

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
Thread Forum
Problem with running programs due to .dll files
Today I've been starting up my pc, which has been treated a little roughly lately (overheat yesterday, and today the power randomly went off) and many of my programs are absolutely unable to start. I always get the following error: "The procedure entry point normaliz.IdnToUnicode could not be...
Software
Cmd Batch Files Running Without Finishing: Recursion problem??
I have a very simple batch set in a file called sed.cmd. set input="D:\WebServerConfig\httpd\logs\old logs\webserver-access.log" set output="D:\WebServerConfig\httpd\logs\old logs\webserver-access-trimmed.log" set...
General Discussion
.exe files running problem
all my .exe files are getting opened with utorrent. tried to fix it with .reg file but that didn't help at all. now i cant download, cant install anything .unable to run any .exe programs.:cry: how can i fix this?
General Discussion
Problem running some .exe and .bat files
I made some changes with the cmd to fix a password problem, but now I have a problem running some programs Here's what i did: cd /d d:\ CD Windows\system32 ren cmd.exe cmd.old ren magnify.exe cmd.exe ren cmd.old magnify.exe (i did it to change my password, my previous thread:...
General Discussion
How about running .jar files on win 7 beta
quick question: anybody have problems running .jar files on windows 7 ? Already downloaded newest version 14 from sun.
Software
problem: running srt,sub with mkv files
hi i have hp laptop with windowd 7 in the beginning my MC wasn't able to play mkv files until i installed win7codecs pack and x64components pack. the problem is my subtitles don't show up with the video in MC. I can run my Subtitles with WMP and Real player but i can't run it with MC
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 05:14.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App