How to deploy a .reg file
We have created a .reg file to disable windows updates. It works on a local machine, but when deployed through kace it will not successfully initiate the reg file.
Answers (3)
Several methods to successfully deploy registry changes are detailed below, including a batch file with regedit /S [file].reg, the registry wizard and windows automatic update settings under the configuration policy section, and creating an MSI with the registry changes.
I have a ,reg file in one of my scripts, and it works ok. I used an Offline KScript, uploaded the .reg file as a dependency, and chose 'Run a batch file'. The contents of the batch file is this:
@echo off
regedit /S name.reg
Comments:
-
This is also the method I use and have great success with. - Hammer1790 12 years ago
-
This worked perfectly for me too!
@echo off
regedit /S name.reg
Thanks!
-awingren - awingren 10 years ago
I have found downloading one of the simple Microsoft Fix It files and modifying it with ORCA is a great way to deliver registry changes and all sorts of other things.
Comments:
-
Woa, this seems like a great way to push out scripts and registry keys as managed installs. I know this is an ancient thread but could you elaborate on exactly how you've gotten this to work? - bens401 8 years ago
There's also a registry wizard of sorts that I find useful. Go to Scripting > Configuration Policy > Enforce Registry Settings > and paste in the contents of your .reg file. It will then spit out a script for you which you can configure to your liking. Works fine for me.
Comments:
-
On second look - there is also a specific "Windows Automatic Updates Settings" option under Configuration Policy. Mayhaps that could be an option for you as well. - jegolf 12 years ago