How to make changes to the default users hive as a post deployment task

We have had to make a change to default user's registry to about 15 images to save recapturing them.  Office 2012 was trying to re-register itself for every user on the deployed images.  This is the task I created to do this

start /wait reg load HKU\temphive c:\users\default\ntuser.dat

start /wait reg add "HKU\temphive\Software\MicroSoft\Office\14.0\Excel\Options" /v NoReReg /t REG_DWORD /d 1 /f

start /wait reg add "HKU\temphive\Software\MicroSoft\Office\14.0\Word\Options" /v NoReReg /t REG_DWORD /d 1 /f

start /wait reg unload HKU\temphive


  • Worked like a charm.
    Created my own version of this.

    reg load HKU\ntuser.dat c:\users\default\ntuser.dat
    reg import englishHKU.reg
    reg unload HKU\ntuser.dat

    Registry build up like this:
    [HKEY_USERS\ntuser.dat\Software\XXXXXXXX] - paul.theelen 8 years ago
  • True, depending on how many keys need altering you can load individual keys or merge a reg file with this method - SMal.tmcc 8 years ago
This post is locked

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login


This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ