Questions tagged [winexe]

winexe remotely executes commands on WindowsNT/2000/XP/2003 systems from GNU/Linux.

winexe remotely executes commands on WindowsNT/2000/XP/2003 systems from GNU/Linux.

44 questions
4
votes
1 answer

How can I get winexe to attach to a non-standard port?

I'm using winexe to communicate with Windows running inside a virtual machine on my Linux system, to perform various test scenarios. I really don't want to have to be root to start the VMs. When I start my Linux virtual machines, which I control…
MadScientist
  • 70,999
  • 8
  • 86
  • 107
2
votes
2 answers

Console window display by argument

I have a C# project building "winexe" that startup without console window. However, I want to dispaly the console window and write stdout/stderr by giving a cmd line parameter. If it close, the application shutdown. For example: eclipse.exe…
Dennis C
  • 23,310
  • 12
  • 68
  • 98
2
votes
1 answer

Linux remote tool-winexe username/password

I am using winexe to send remote commands from my Ubuntu computer to Windows computer. Works great IF i user domain/username%password . However I believe in psExec which is a utility to send remote commands from windows to windows, does not need a…
Benjamin Jones
  • 939
  • 4
  • 20
  • 46
2
votes
1 answer

How to activate programs on windows from Linux machine

First I will explain my target Target - execute programs or scripts on my windows machine from my Linux machine I find the winexe tool – this tool perform remotely executes commands on remote windows machine from my Linux – very nice, real example…
user1121951
1
vote
0 answers

Winexe from Ubuntu to Windows Server 2019 ERROR: Failed to open connection - NT_STATUS_OBJECT_NAME_NOT_FOUND

When trying to run a command remotely on a Windows Server 2019 machine from a Ubuntu 16.04 machine using winexe: winexe -U 'someusesr%thepas!#
Athena Wisdom
  • 4,261
  • 5
  • 20
  • 28
1
vote
0 answers

winexe error: Cannot connect to svcctl pipe. NT_STATUS_ACCESS_DENIED

Am trying to execute the following winexe command, but it throws 'ERROR: Cannot connect to svcctl pipe. NT_STATUS_ACCESS_DENIED.' winexe -U domain/username%password //windows_machine ipconfig debug info shows, ERROR: smb_raw_open_recv -…
Kang
  • 11
  • 5
1
vote
0 answers

Execute python script with CLI arguments via winexe

I'm facing some difficulties while trying to execute (from my Linux machine) a python script, which takes arguments from CLI in order to run properly. The script located on my Windows machine, and I'm trying to do this by using winexe. ./winexe -A…
1
vote
1 answer

winexe error when executing make

I would like to try winexe and used following URL to install it http://www.secpod.com/blog/winexe/ . When I try make basics bin/winexe I get the following error: defined(@array) is deprecated at …
Nicholas
  • 1,101
  • 2
  • 16
  • 37
1
vote
1 answer

Winexe doesn't exit if launched from apache

I have a web2py application that is running the program "winexe" function through python subprocess.Popen. The problem arises when it is launched winexe: starts correctly but does not exit. Web2py runs on apache using mod_wsgi and with user…
volly86
  • 23
  • 3
1
vote
2 answers

Error with the command 'make basics ' while install winexe

I want to isntall winexe on Ubuntu 13.1 32bit version. I did exactly after this guide: Winexe - aldeid If I execute the command "make basics bin/winexe" there occurs the following error: Compiling…
1
vote
1 answer

c compiler commands for generating a winexe

how do i instruct the C compiler (gcc &| cc) to make a "Windows executable" in command line? just like csc /t:winexe filename.cs in c#? my goal is to create a GUI(winapi) based app without the console.
Maurice Rodriguez
  • 613
  • 2
  • 7
  • 17
1
vote
1 answer

Is it possible to show a remote connected console?

I'm connected from a Linux machine to a Windows machine through winexe. I log onto the Windows machine with a user on that machine. I can run cmd.exe or powershell scripts. Now my problem: If I'm on the desktop of the machine, connect remotly to it…
KayelGee
  • 15
  • 3
1
vote
0 answers

Installing mongoose server on windows from linux using winexe

I want to start mongoose http server as service on the windows machine from the linux host. For executing command on windows machine remotely from the linux machine, winexe tool is there. Admin share being enabled on the windows side, we can run…
User007
  • 2,205
  • 6
  • 30
  • 56
1
vote
1 answer

windows service code in c ,where to write service logic code?

the title is quite general but my doubt is specific. I have doubt regarding where to write the service logic code (in service control handler or in ServiceMain),as in whatever the functionality the service would perform . Is it in ServiceMain ? I…
Akshay Patil
  • 884
  • 1
  • 10
  • 25
0
votes
1 answer

Winexe command gives returns irrelevant info and doesn't execute

Hey guys I am trying to use winexe and execute interactive gui programs from my linux machine to my windows and this syntax is just giving me the same thing like I write winexe --help Why is that so? I read that on this post: How to activate…
1
2 3