Deploying a reg hack via SCCM 2012 R2
I'm having a devil of a time deploying a reghack for JAVA updates.
I've got the reghack in a SCCM package called scripts. I can install the hack via a batch file manually and it works great but attemps to use either a package or a task sequence have failed. I've tried both of these command lines inside the various packages, TS and even batch/cmd file sinsdie packages or TS:
cmd /c c:\windows\syswow64\regedit.exe /s "java no update.reg"
reg import "java no update.reg"
The second I have used on the machine with a bat/cmd file and the .reg file in the root and it works fine.
In the packages/TS I have always included the scripts packages. I have tried disabling the 64 bit redirect. They all install but none of the reg changes happen.
Target machines are Windows 7 SP1 with 32 and 64 bit JAVA 7.21 installed.
Any clues what I am doing wrong or suggestions welcome.