Regedit reg. file disable confirmation??

Is there a way to disable the Regedit (Are you sure you want to add the information in so in so file to the registy) and (Information in so in so file has been sucessfully written to the registry)confirmation dialogs. I use a script file to change registry settings and these irritate the hell out of me. Is there a command line or some other way of disabling these?
Who is Participating?
BrainMasterConnect With a Mentor Commented:
try regedit /s inport.reg
Brainmaster, aaahhh I don't think so! Read the question!
Don, regedit is an editing tool and has nothing to do with scripting changes to the registry. The only way to do as you ask is to block the registry from being written too OR to use a policy that prevents changes from being saved.

You could make to two portions of the registry read only, however that comes with its own can of worms.

Is this on a test machine you are using to develop scripts?

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

"Regedit reg. file disable confirmation??"
"Is there a way to disable the Regedit...confirmation dialogs."

The way I read the whole question is he wants to disable the confirmation messages you get when you try to import a .reg file and not disabling all registry editing.

DonV: can you please restate what you mean?
Indeed Brain, I may have read it wrong. I think you may be right!
DonVAuthor Commented:
You hit the nail on the head. Thats what I needed. Thanks  


All Courses

From novice to tech pro — start learning today.