Run Script Issue

vpalisoc's picture

I have a run script command that will run in our 6.1 environment but not in our new 6.9 environment. Here is the script:

=========================================================
REM ADD LEGAL NOTICE TO DESKTOP
regedit.exe /s "\\sdpdaltiris2ds\express\TBIMAGES\APPLICATION PACKAGES\Fixes\Legal\legalnoticecaption.reg"
regedit.exe /s "\\sdpdaltiris2ds\express\TBIMAGES\APPLICATION PACKAGES\Fixes\Legal\legalnoticetext.reg"
=========================================================

The script runs fine in 6.1, but in 6.9 it will run and give me the green check mark but the registry entry is not inserted. I tried specifying a user but that gives me a "access denied" error. Any idea's???

Antiquado's picture

Permissions

It sounds like an access premission issue.

Possible ways to test/fix:
* Are you using the exact same user and password to run the script on both deployment servers?
* Try retyping the password - especially if you have the option to remove passwords when copying jobs on.
* If you are using an AD user, remember to enter user usin the Domain\User notation.
* If the user has interactive login rights, try logging in as the user, start a prompt and enter the exact same text as above. Does it work then?

I hope this helps you find the issue!