Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question

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

share|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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .