software task runs a batch file that needs to be "Run As Administrator"
Created: 08 Jul 2010 | 1 comment
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.
Discussion Filed Under:
Comments
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.
Would you like to reply?
Login or Register to post your comment.