/bundles/itninjaweb/img/Breadcrumb_cap_w.png
I have exported my desired IE11 settings to a registry file called "IE11config.reg" for my "Gold Image" of Win10 LTSB 2016 v1607.  I would like to import the file as a Post-installation Task.  What is the correct procedure and/or commands to accomplish this ?  We are currently on K2000 v6.0.425.
0 Comments   [ + ] Show comments

Comments

Please log in to comment


Answers

0
Depending on the key being HKLM or HKCU, you can easily use this command:

regedit /s RegFileName.reg


Just make sure to scrub the REG file of anything specific to the user account, computer, domain or IP config.  Otherwise you can break a lot of stuff.  Had one client years ago distribute a REG key which contained the IP address of the test computer and next morning, everyone logged in and got the same IP address - no one would work for hours!

Answered 08/13/2018 by: vjaneczko
Eighth Degree Black Belt

  • OK...the issue is when the Post-installation Task launches the task to import the IE11 registry file, it cannot locate REGEDIT.EXE; it's looking for it in the same folder where the IE11config.reg file is located.
    <WorkingDirectory>%systemdrive%\KACE\Applications\305</WorkingDirectory>. How do I get REGEDIT.EXE in that same folder ?
  • I created the following BATCH Post-installation Task:
    COPY C:\Windows\regedit.exe C:\KACE\Applications\305
    regedit.exe /s IE11config.reg
    I will confirm shortly is settings were retained...
    • Best not to copy files within the local hard drive if you don't have to. Try using "%WINDIR%\regedit.exe /s IE11config.reg" as the commandline so you don't have to copy the file.
Please log in to comment

Share