I am trying to use an SCCM package to change a registry key so I can change the location the machine looks for particular files. I have tried running this by making a package with the reg key and a small script to run the regedit command. I have tried to use a TS to run a command line to run regedit and do the same. BOth come back on the log showing successful, but neither time is the registry key changed. It remained the same as it was before I ran the push.

So, what am i missing? I tried a search, but didnt see anything really matching my issue.
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
is the key located under HKCU? sccm runs in the system account, it's not the same HKCU has the logged in user.
Answered 03/05/2012 by: kardock
Second Degree Green Belt

Please log in to comment
0
What kardock said and also the location may be different if the target OS is x64. Also, just because the script executed and exited with a 0 return code, doesn't mean that it was successful. If you haven't included any error checking in your script, you may want to think about adding it as well as logging.
Answered 03/05/2012 by: jmaclaurin
Third Degree Blue Belt

Please log in to comment
0
It is changing an entry in the HKLM area.
I will look into adding the logging/error checking in my script though.

THank you for the ideas and direction. I appreciate it.
Answered 03/05/2012 by: nkennelly
Senior Yellow Belt

Please log in to comment
Answer this question or Comment on this question for clarity