Scott Hanselman

How to add a .REG file to your Registry silently

March 17, '05 Comments [5] Posted in Programming
Sponsored By

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

About Scott

Scott Hanselman is a former professor, former Chief Architect in finance, now speaker, consultant, father, diabetic, and Microsoft employee. He is a failed stand-up comic, a cornrower, and a book author.

facebook twitter subscribe
About   Newsletter
Sponsored By
Hosting By
Dedicated Windows Server Hosting by SherWeb
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.