Skip to content

Instantly share code, notes, and snippets.

@rterbush
Created October 13, 2015 19:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rterbush/97efd9356ac498677fc8 to your computer and use it in GitHub Desktop.
Save rterbush/97efd9356ac498677fc8 to your computer and use it in GitHub Desktop.
Salt Windows Deployment Fails
salt-cloud deploy process fails with following info:
```
[INFO ] Running command under pid 25943: 'winexe -U \'Administrator%password\' //10.0.5.202 "hostname"'
[DEBUG ] Executing command(PID 25943): 'winexe -U \'Administrator%password\' //10.0.5.202 "hostname"'
```
Executing the following at the command line:
```
winexe -U \'Administrator%password\' //10.0.5.202 "hostname"
```
Fails with:
```
ERROR: Failed to open connection - NT_STATUS_LOGON_FAILURE
```
@rterbush
Copy link
Author

If I execute command without password, i get a prompt for the password. Entering the generated password does not authenticate.

$ winexe -U \'Administrator\' //10.0.5.190 "hostname"
Password for [WORKGROUP\'Administrator']:

Returns:

ERROR: Failed to open connection - NT_STATUS_LOGON_FAILURE

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment