How to add a .REG file to your Registry silently

How to add a .REG file to your Registry silently? This question came up today. As is the case usually /s is for silent and /q is for quiet. One will usually work.

regedit /s foo.reg

Tracked by:
"Update Registry Silently" (Tech Guru) [Trackback]
"Working with the Registry - Command-line style" (Atlanta .NET Regular Guys) [Trackback]
http://ianwhite.is-a-geek.net/PermaLink.aspx?guid=a6d28c7e-b6dc-4c71-80d0-d60cb3... [Pingback]
Friday, March 18, 2005 11:41:44 AM UTC
You can use "reg import foo.reg" as well
Friday, March 18, 2005 4:48:12 PM UTC
I did not know that! REG is a great command line tool! Thanks!
Scott Hanselman
Saturday, March 19, 2005 5:06:02 AM UTC
Thomas, great find with the reg tool. I have been hacking around in the registry for years and didn't know this existed. Makes me wonder what else might exist that I don't know about and have been working around for years.

http://www.devcow.com/weblogs/Trackback,guid,466de879-4c08-4647-bf3d-3879b0603198.aspx
Wednesday, March 23, 2005 8:18:01 AM UTC
I'll second (or third) that great find Thomas!

Excellent tool.
This could make testing a known good install against a latest install a little easier.

Anyone know if it's XP and up only?
Wednesday, March 23, 2005 8:21:27 AM UTC
looks like it ships with XP and is in the resource kit for NT/2000.

http://www.petri.co.il/download_free_reskit_tools.htm

I just checked and it's also in a default install of Server 2003.
Comments are closed.
Disclaimer: The opinions expressed herein are my own personal opinions and do not represent my employer’s view in any way.