1

I have to assign full control to a specific folder to everyone. Until now I log on into domain with my admin account and I apply my changes. I'd like to know if it's possible using my credential to apply this change from a limited account without logging out and re-logging.

Command line solutions are equally welcomes. Thanks.

0

2 Answers 2

2

Go to Start>All Programs>Accessories and right-click on the command prompt and click "Run As", and run it as an administrator on the computer, which should include your domain admin account.

Then use this command to give the group Everyone full access to the folder C:\temp (in my example) and all the subfolders:

CACLS c:\temp /E /T /C /G "Everyone":F

1
  • Great! You solved my problem. Thank you very much :)
    – nick rulez
    Jun 25, 2011 at 18:33
2

You can start programs using different credentials with runas:

runas /u:Administrator "explorer /separate"

runas /u:Administrator /netonly "explorer /separate"

The first actually logs in to the specified account, the second only uses provided credentials for network connections, but keeps your local privileges.

Optionally add /savecred to remember the password.

1
  • @eric cartman Glad to help Eric. Thank you for marking the answer, I appreciate it.
    – KCotreau
    Jun 25, 2011 at 18:37

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .