Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

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 am trying to run Shared Folders under a different domain user according to one of user's answer for my other question How do you know who or what is locking a remote file?

runas /user:domain\user fsmgmt.msc

Even though running fsmgmt.msc by itself works fine, I am not able to run it when combining with runas. (domain\user <-- I am using a valid user name)

C:\>runas /user:domain\user fsmgmt.msc
Enter the password for domain\user:
Attempting to start fsmgmt as user "domain\user" ...
RUNAS ERROR: Unable to run - fsmgmt.msc
2: The system cannot find the file specified.

Is that intentional or am I supposed to put location of fsmgmt.msc in PATH environment variable? Questions: - How was I able to run fsmgmt.msc without updating PATH? - Is it possible to runas a different user for fsmgmt.msc?

share|improve this question
up vote 1 down vote accepted

Try running MMC instead:

runas /user:domain\user "mmc fsmgmt.msc"

share|improve this answer
+Marked as Answer: Worked like charm – Sung May 4 '09 at 17:52

Perhaps it was not in your path...


runas /user:domain\user %systemroot%\system32\fsmgmt.msc

share|improve this answer
It was in my env. path. And I didn't know that I could invoke a command through env. variable names... Thank you for your answer, MathewC. – Sung Jun 10 '09 at 18:12

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.