Guest Posted July 8, 2009 Share Posted July 8, 2009 Is there a way to do change a file/folder permissions or delete a file/folder that belongs to the administrators group from within a users account?I'm open to any methods. Even if it involves the command line. Link to comment Share on other sites More sharing options...
fdv Posted July 8, 2009 Share Posted July 8, 2009 AFAIK there is no "act as root" (sudo) capability for Windows shell commands. (It would be great if one could use 'runas' on Explorer!) Link to comment Share on other sites More sharing options...
cluberti Posted July 8, 2009 Share Posted July 8, 2009 You could runas cmd.exe as a separate user, which would allow you access to using command-line tools to modify permissions. I don't think you can shellexecute explorer windows as a separate user though. Link to comment Share on other sites More sharing options...
Guest Posted July 9, 2009 Share Posted July 9, 2009 Thanks guys. I did try running explorer.exe as admin but it didn't give me admin permissions. Link to comment Share on other sites More sharing options...
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