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 have some strange problems with fabric deployment to Windows Server 2008r2.

The thing I try to accomplish is to copy some files to a shared folder with a fabric script (this script does a lot of other things too, but only this step gives me problems).

This is the problem:

When I try to access a UNC(Universal Naming convention) path I always get access denied kind of answers if I run the script in fabric. When I run the command in an ssh prompt (same user) it works fine.


  • cmd: robocopy f:/.... //share
    • result: in ssh this works fine, in fabric I get "Logon failure: the user has not been granted the requested logon type aat this computer."
  • cmd: cd //share
    • result: in ssh this works fine, in fabric I get "//share: Not a directory"

Further information:

uname -a and whoami return exact the same thing in fabric and ssh.

I also tried things like mount, net use, but these commands all have kind of the same problem.

share|improve this question
  1. Go to: Administrative Tools -> Local Security Policy -> Security Settings -> Local Policies -> User Rights Assignment

  2. Add the user to the Log on as a service policy and try again.

share|improve this answer

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.