Adding Registry via SCCM
At the end of a long task sequence I want to insert a registry key and an environment variable.
I created a 'run command line' for each and entered the following data:-
reg.exe ADD "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" /v FLEXLM_TIMEOUT /t REG_SZ /d 8000000 /f
reg.exe ADD "HKLM\SOFTWARE\ESRI\Desktop10.0\ArcMap\Settings" /v TemplateDir /t REG_SZ /d X:\EP\EMEA\GB\Appli\Site\ArcGIS\10_0\Templates /f
The Environment variable is entered so I know that runs okay but the regkey for the templatedir will not appear. If I run this as a command it works though.
Beginning to annoy me as I have used similar code before and its worked. I can only presume it doesnt like the value I am trying to enter into the key.