Video Screencast Help
Search Video Help Close Back
to help
Not able to make it to Vision this year? Get a sampling in the Best of Vision on Demand group.

software task runs a batch file that needs to be "Run As Administrator"

Created: 08 Jul 2010 | 1 comment
Patrick Smith 3's picture
0 0 Votes
Login to vote

I have setup a software task that runs a batch file. THis batch file creates a few dirs (and deletes some others) under c:\Program Files. It runs if I click on it and say "run as administrator", but if I just click on the batch file it fails with access denied. SO my task to run this batch file fails because it is not doing the "run as administrator" option. Is there any way to have altiris do this?

How do other poeple run batches via Altiris on Windows 7, specifically for purposes of installing software.

Comments

SharkSmart's picture
11
Jul
2010
0 Votes 0
Login to vote

Altiris Agent credentials

I'll assume you're talking about NS7 not DS 6.9 or NS6?

Set your task to run with the 'Altiris Agent credentials' under the Advanced button in the task.  This is where the setting is in NS7 but it might vary a little in NS6.

Unless you have an unusual setup your Altiris Agents should be running as the System account which will have the same rights as the Administrator account.  If your script task is still erroring then you might want to do a little error logging to track down the cause.  Don't forget you can have the task run visible (also in the Advanced area) to help with this too.

Please "Mark as Solution" those posts which resolve your problem - its a free way to give something back to those who contribute their time and knowledge to these forums.