Linux – winexe gives error “ERROR: Failed to install service winexesvc – NT_STATUS_ACCESS_DENIED”

linuxremote-accesswindows

I'm trying to do a remote execution on a windows host from Linux with winexe.
I get the error:
ERROR: Failed to install service winexesvc – NT_STATUS_ACCESS_DENIED

The authenticated user should have administrator rights.

What exactly does this error mean and how can I get remote execution working?

Best Answer

The error means that the user does not have sufficient rights on the target machine. "Something" went wrong with the administrator rights for that user... Is it a Domain setup or standalone? Could you paste the winexe command line you are using (without password and/or public IP)?