Hi,
I am trying to deploy the following command line via a package to my servers but for some reason the results are as expected. The command I am trying to run is:
reg add "hklm\software\microsoft\windows nt\currentversion\softwareprotectionplatform" /f /v "KeyManagementServiceName" /t reg_sz /d "dc4hmancmddc1.mydomain.local"
When I look in the log files on the server the command is being executed as:
<![LOG[Command line = "C:\Windows\system32\reg.exe" add "hklm\software\microsoft\windows nt\currentversion\softwareprotectionplatform" /f /v "KeyManagementServiceName" /t reg_sz /d "dc4hmancmddc1.mydomain.local", Working Directory = C:\Windows\system32\]LOG]!><time="12:44:32.391+00" date="02-24-2014" component="execmgr" context="" type="1" thread="3976" file="scriptexecution.cpp:346">
Why is this is not working? If I run the command manually on the server, it works and reg key is updated correctly.
PS: I am probably being really stupid here but any help is appreciated.
Thank You
Mayur