Running scripts with SMS
I'm trying to push out some internet explorer settings with SMS. I've created a VB script that makes several changes to IE through the registry. If I run it locally on the machine it works no problem, making all the necessary changes. But if I try and push it out through SMS as a pakage, setting the source files to the correct location, then setting the program to the actual script, it does not work. The client machine will run the program but no changes will be made. I've tried running it with admin rights. Any suggestions?? Thanks.
0 Comments
[ + ] Show comments
Answers (2)
Please log in to answer
Posted by:
plangton
18 years ago
Hi Rich,
Where are the Reg keys? Are they HKCU? If so, and you are running your SMS script as the system account or as another account, then the registry keys actually get entered into that users account, and not the target user. So, for example, if you are deploying HKCU keys via a VBS script that runs as the %DOMAIN%\smsacct user, then the reg keys go into the smsacct users registry, and not the user logged into the machine.
Hope that makes sense
Rgds
Paul
Where are the Reg keys? Are they HKCU? If so, and you are running your SMS script as the system account or as another account, then the registry keys actually get entered into that users account, and not the target user. So, for example, if you are deploying HKCU keys via a VBS script that runs as the %DOMAIN%\smsacct user, then the reg keys go into the smsacct users registry, and not the user logged into the machine.
Hope that makes sense
Rgds
Paul
Posted by:
MSIram
18 years ago
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.