Is there a way for regedit to run in script, not in background. With /e (export) it runs in background and returns control to the console (and would return control to a script as well, i think). I want to wait for it to finish.

link|improve this question

50% accept rate
feedback

1 Answer

You can use REG.EXE

REG.EXE does almost everything Regedt32 can do, but it allows you to do it from a command line. This can be useful when you want to quickly make a change without opening Regedt32, and it also allows you to embed registry operations in logon scripts and batch files.

Lots of info from the ever useful Petri

link|improve this answer
reg.exe already comes with Windows XP and later. – grawity Apr 11 '10 at 20:40
even better then :) – Shevek Apr 12 '10 at 0:52
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.