Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question
up vote 2 down vote accepted

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

share|improve this answer
Great! You solved my problem. Thank you very much :) – nick rulez Jun 25 '11 at 18:33

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.

share|improve this answer
+1 Thanks for your answer. – nick rulez Jun 25 '11 at 18:32
@eric cartman Glad to help Eric. Thank you for marking the answer, I appreciate it. – KCotreau Jun 25 '11 at 18:37

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.