Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 07-05-2013, 06:16 AM   #1
LQ Newbie
Registered: Jul 2013
Posts: 2

Rep: Reputation: Disabled
WINEXE + run windows cmd commands from linux

I use the winexe tool in order to run cli command on my WIN xp from Linux machine

as the following example ( from my Linux )

• - IP of the WIN XP machine

./winexe -U Cellcom/SDnet%w5frdlpp // "ipconfig"

Windows IP Configuration Ethernet adapter Local Area Connection:

Connection-specific DNS Suffix . : Cellcom
IP Address. . . . . . . . . . . . :
Subnet Mask . . . . . . . . . . . :
Default Gateway . . . . . . . . . :

but today when I run the winexe I got the following error?

./winexe -U Cellcom/SDnet%w5frdlpp // "ipconfig"

ERROR: Failed to open connection - **NT_STATUS_ACCOUNT_LOCKED_OUT**

after 1/2 hour I run the winexe again and now its ok

So I don’t understand why I get "status account lock" for 1/2 hour ??

•What could be the problem, and if I get lock how to un-lock?

•what’s the steps that should be done in order to unlock ??


winexe version 1.00
This program may be freely redistributed under the terms of the GNU GPLv3
Usage: winexe [-?] [-?] [-?] [-?NP] [-?NPV] [-?|--help] [--usage] [-d|--debuglevel DEBUGLEVEL]
[--debug-stderr] [-s|--configfile CONFIGFILE] [--option=name=value]
[-l|--log-basename LOGFILEBASE] [--leak-report] [--leak-report-full]
[-R|--name-resolve NAME-RESOLVE-ORDER]
[-O|--socket-options SOCKETOPTIONS] [-n|--netbiosname NETBIOSNAME]
[-S|--signing on|off|required] [-W|--workgroup WORKGROUP]
[--realm=REALM] [-i|--scope SCOPE] [-m|--maxprotocol MAXPROTOCOL]
[-U|--user [DOMAIN/]USERNAME[%PASSWORD]] [-N|--no-pass]
[--password=STRING] [-A|--authentication-file FILE] [-P|--machine-pass]
[--simple-bind-dn=STRING] [-k|--kerberos STRING] [-V|--version]
[--uninstall] [--reinstall] [--system]
[--runas=[DOMAIN\]USERNAME%PASSWORD] [--runas-file=FILE]
[--interactive=0|1] [--ostype=0|1|2] //host command

Last edited by ubarih; 07-05-2013 at 06:20 AM.
Old 07-06-2013, 01:43 AM   #2
LQ Newbie
Registered: Mar 2013
Location: PDX, OR
Distribution: Arch, Debian, Fedora, Mint, CentOS, FreeBSD, OS X
Posts: 16

Rep: Reputation: 3
It sounds like the account was locked out on your XP box. If you look in the Windows security log on that machine, you may be able to determine the cause.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] WINEXE + is it possible to run winexe without set the domain name in winexe syntax? ubarih Linux - Server 0 07-06-2013 11:45 AM
Need help for Windows cmd commands into Linux terminal commands. windowsNilo Linux - Software 2 07-02-2008 06:26 PM
Need help for Windows cmd commands into Linux terminal commands. windowsNilo Linux - General 2 07-01-2008 06:53 AM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:08 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration