Tech Support Guy banner

Silent Registry Editor

4 reading
6.9K views 7 replies 2 participants last post by  lochlomonder  
#1 ·
Hi,

Is there a way to import a registry file silently?

I am currently using the following:

regedit.exe /s C:\Users\JamesCRocks\Downloads\reged-reset.reg

Unfortunately, that doesn't appear to work either from a command prompt or, where I want it, from a CMD file.

Any ideas appreciated :)

James
 
#3 ·
However, I have to ask first: what is this Registry file intended to do?
Reset the registry view to default. I just get a bit irritated when I search for and change things in the registry and then access it maybe weeks later to find I'm still there. I'd rather start from first base if that makes sense.

I'm not inexperienced BTW. Thirty years in IT, ending up in server support but as anyone might expect, I don't know it all :)

James
 
#4 ·
Thanks for the outline, James. At the risk of our questions being misinferred as condescending, we just need to ensure people aren't trying to do things which may cause more problems, and then we're trying to extricate them from that as well.

Instead of calling regedit, I recommend using reg instead from an elevated command prompt, e.g.

reg import /s C:\Users\JamesCRocks\Downloads\reged-reset.reg
 
#5 ·
Thanks for the outline, James. At the risk of our questions being misinferred as condescending, we just need to ensure people aren't trying to do things which may cause more problems, and then we're trying to extricate them from that as well.
No worries :)

Instead of calling regedit, I recommend using reg instead from an elevated command prompt, e.g.

reg import /s C:\Users\JamesCRocks\Downloads\reged-reset.reg
Brilliant! Works perfectly. Thank you :)

James
 
#7 ·
You're welcome, James! (y) Please mark this as SOLVED, since it can help others search on the site for similar issues they may want to resolve.
Whoops! Done :)

James