Jump to content

Recommended Posts

Posted

Hi,

Got this empty folder and the AutoIT command to delete the folder works outside of a desktop management suite (Altiris, LANDesk), but not when run from inside. It should have System account admin rights. So not sure what the issue is.

DirRemove("C:ProgramDataMicrosoftWindowsStart MenuProgramsMicrosoft Office Tools", 1)

Any ideas or suggestions on changing this?

  • Moderators
Posted (edited)

Are you sure you're running as the local System account on each machine? Altiris most often will run things as whatever service account you configured, which may not have access.

Edited by JLogan3o13

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Posted

I stand corrected. There is a generic account with admin rights used, but you can also run it under the SYSTEM account. I tried both ways and does not appear to work. Does it have something to do with restricted access to ProgramData similar how there is restricted access to windowssystem32?

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...