Running a script in GSS fails. When running this same script manually, it works just fine.
search cancel

Running a script in GSS fails. When running this same script manually, it works just fine.

book

Article ID: 381145

calendar_today

Updated On:

Products

Ghost Solution Suite

Issue/Introduction

You are trying to execute a script a remote computer using Ghost Solution Suite.  When running this task against a remote computer it fails to run.  You then try running this script manually on the computer and it works fine.  Why would this happen?

Environment

Ghost Solution Suite 3.3

Cause

Script's client run environment is using default local system account

Resolution

If your script tries to manipulate something like the registry value of HKCU, it will not work when running the script as System. If you are making changes to the currently logged-in user, you would want to change the client run environment to Run Script in the console user session. If you have the user's credentials, you can specify those under specific user.