Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
add comment

2 Answers

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
add comment

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
add comment

Your Answer

 
discard

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.