Sign in to follow this  
Followers 0
Briandr

DirRemove

3 posts in this topic

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?

Share this post


Link to post
Share on other sites



#2 ·  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

√-1 2^3 ∑ π, and it was delicious!

Share this post


Link to post
Share on other sites

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?

Share this post


Link to post
Share on other sites

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
Sign in to follow this  
Followers 0