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?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

try regedit /s inport.reg

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
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?

Cloud Class® Course: MCSA MCSE Windows Server 2012

This course teaches how to install and configure Windows Server 2012 R2.  It is the first step on your path to becoming a Microsoft Certified Solutions Expert (MCSE).

"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  


It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows OS

From novice to tech pro — start learning today.