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.

46 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
  • 92,819
  • 9
  • 109
  • 136
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
  • 24,511
  • 12
  • 71
  • 99
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
  • 987
  • 4
  • 22
  • 50
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
1 answer

Right way to publish WinUI3 app in single .exe file

I have created a project in winui3, however, I just can't find a way to publish the application into a single .exe file. When I use the JetBrains rider to publish single .exe file, it just doesn't start. While, packaged application published using…
1
vote
1 answer

winexe error when executed from webserver with php

i have installed winexe from the package 'winexe_4.13.0.1-1_amd64.deb' (that i get from https://software.opensuse.org/download/package?package=winexe&project=home%3Auibmz%3Aopsi%3A4.1%3Aexperimental) so, my winexe is: $ winexe -V winexe version…
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
  • 6,101
  • 9
  • 36
  • 60
1
vote
2 answers

appcmd.exe set config doesn't check if username or password is invalid and sets it anyways

I'm using winexe from my backend api to run commands on Windows Domain Server. I want to set IIS App Pool Identity as an Account from Active Directory. The problem is that while using this command : %windir%\system32\inetsrv\appcmd.exe set config…
Omair Nabiel
  • 1,662
  • 2
  • 12
  • 24
1
vote
1 answer

Winexe - ERROR: Failed to open connection - NT_STATUS_CONNECTION_RESET

We are trying to execute windows command remotely from Linux(CentOS 7) to Windows 10. I have setup Winexe in CentOS 7. I think setup seems fine [user@abcd build]$ ./winexe-static -v winexe version 1.1 This program may be freely redistributed under…
Saagar
  • 794
  • 3
  • 20
  • 41
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,189
  • 4
  • 20
  • 40
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
  • 663
  • 2
  • 7
  • 17
1
2 3 4