Menu

#47 winexe uninstall fails frequently on Windows7 Ultimate

none
closed-invalid
nobody
None
low
2014-11-12
2014-03-05
YUI-TAK LEE
No

Winexe uninstall fails frequently on Windows 7 Ultimate.

As you can see, the command executes the Win tasklist command correctly. However, there are a few errors too, and I'm not sure if the on_ctrl_pipe_error message is relevant to this problem or not. On other occasions, the winexesvc.exe file is deleted successfully, but 9 out of 10 times the deletion of the service fails. I have not yet been able successfully to run the command two consecutive times. I have also run this on a Windows 7 Enterprise VM and mostly did not experience the problem there.

Target: Windows 7 Ultimate is running on bare metal

Source: CentOS 6.4 Final

uname -a: Linux util3101 2.6.32-358.14.1.el6.x86_64 #1 SMP Tue Jul 16 23:51:20 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

winexe --version: Version 4.0.0alpha11-GIT-UNKNOWN

Command to run: cat < /dev/null | /usr/bin/winexe --ostype=2 -d 1 --interactive=0 --uninstall -U 'WORKGROUP\Administrator%<passwd removed="">' //<host> 'cmd /C tasklist /FO csv /NH /FI "imagename eq taskhost.exe"'</host></passwd>

Output:
winexe version 1.00
This program may be freely redistributed under the terms of the GNU GPLv3
svc_UploadService: Installing 64bit winexesvc.exe
ERROR: QueryServiceStatus failed. NT_STATUS_INSUFF_SERVER_RESOURCES.
IN: async_open(\pipe\ahexec, 2)
IN: async_open_recv
CTRL: Sending command: get version
CTRL: Sending command: run cmd /C tasklist /FO csv /NH /FI "imagename eq taskhost.exe"
CTRL: Recieved command: std_io_err 049C0001
IN: async_open(\pipe\ahexec_stdin049C0001, 2)
IN: async_open(\pipe\ahexec_stdout049C0001, 2)
IN: async_open(\pipe\ahexec_stderr049C0001, 2)
IN: async_open_recv
IN: async_open_recv
IN: async_open_recv
"taskhost.exe","1716","Console","1","10,928 K"
ERROR: smb_raw_read_recv - NT_STATUS_PIPE_DISCONNECTED
ERROR: smb_raw_read_recv - NT_STATUS_PIPE_DISCONNECTED
ERROR: smb_raw_read_recv - NT_STATUS_PIPE_DISCONNECTED
ERROR: smb_raw_read_recv - NT_STATUS_PIPE_DISCONNECTED
ERROR: on_ctrl_pipe_error - NT_STATUS_PIPE_DISCONNECTED
OpenService - NT_STATUS_OK
ERROR: QueryServiceStatus failed. NT_STATUS_INSUFF_SERVER_RESOURCES.

Discussion

  • Thomas Hood

    Thomas Hood - 2014-03-05

    Please build winexe from the latest code in the "current" (a.k.a. "winexe-waf") Git repository. Let us know whether or not the problem persists when using this latest version of winexe.

     
  • ahajda

    ahajda - 2014-11-12
    • status: incomplete --> closed-invalid
     

Log in to post a comment.

MongoDB Logo MongoDB