Scott Hanselman

How to add a .REG file to your Registry silently

March 18, 2005 Comment on this post [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
Hosting By
Hosted in an Azure App Service
March 18, 2005 15:41
You can use "reg import foo.reg" as well
March 18, 2005 20:48
I did not know that! REG is a great command line tool! Thanks!
March 19, 2005 9:06
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
March 23, 2005 12:18
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?
Ian
March 23, 2005 12:21
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.
Ian

Comments are closed.

Disclaimer: The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.