/build/static/layout/Breadcrumb_cap_w.png

Testing packages running as local system

I don't have a lot of time to write this post, but I wanted to get it out there.

If you noticed, the K1000 uses the Local system account to install applications and run scripts. Sometimes you get a successful test using a user account to test something, then you go to push it via a script or MI, and it fails (might need access to a share or network resource that requires authentication). The LS account doesn't have any permissions to servers and other devices, so the install or script fails.

If you need to test installing something as the local system account, download psexec (google it) and run:

PSEXEC -i -s cmd.exe

This will get you a command prompt running as the local system account. Anything you run from that will run as the LS.

BONUS:

I have used AutoIT (free and cool) to build some macro type installs (clicks buttons and answers prompts) for older apps that don't have silent installs, or require input. It requires an interactive session since it pushes buttons and "interacts" with the desktop (and since pushed via K1000 running as local system). You can use PSEXEC for the same thing.

Try this in a batch file to make it work (and then run that batch file as your Managed Install):

----------------------------------------
set WORKING_DIRECTORY=%cd%

PSEXEC /accepteula -i -s cmd.exe /c & CD %WORKING_DIRECTORY% & <Your AUTOIT Script>.exe
----------------------------------------

There may be more creative solutions out there, so if there are, I would like to know.

0 Comments   [ + ] Show comments

Answers (2)

Posted by: GillySpy 12 years ago
7th Degree Black Belt
0
it's an important step. Some others for you.

http://www.kace.com/support/kb/index.php?action=artikel&cat=4&id=821&artlang=en#Check_the_setup_of_the_managed_i
Posted by: airwolf 12 years ago
Red Belt
0
I use AutoIT to embed domain credentials with local admin privileges if something needs network access during installation. AutoIT is a great complement to the K1000 and K2000.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ