Briandr Posted October 10, 2014 Posted October 10, 2014 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 JLogan3o13 Posted October 10, 2014 Moderators Posted October 10, 2014 (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 October 10, 2014 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!
Briandr Posted October 10, 2014 Author Posted October 10, 2014 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?
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now