3

I tried winexe - it worked fine for Windows XP and Windows 7 But it doesn't work for Windows 8.1. All I get is

ERROR: Cannot open control pipe - NT_STATUS_INVALID_PARAMETER

The same command runs fine on older versions of Windows. As I understand, it is because Windows 8.1 dropped support for SMB 1.0, which is used by winexe. Is there some way to force winexe to use SMB 2?

Or maybe there is some other tool that would work with Windows 8.1?

I did try PsExec (which does support SMB2, hence Windows 8.1) under wine, but couldn't get it to work.

5
  • Should be run as a script? Jan 13, 2014 at 9:42
  • @David What do you mean?
    – Grisha S
    Jan 13, 2014 at 10:48
  • 1
    Telnet is a possible solution Jan 13, 2014 at 16:05
  • Actually, I tried it already, and so far it seems to work OK
    – Grisha S
    Jan 13, 2014 at 20:05
  • Well, it's been some time now... In the end I stuck with Telnet. I'm just hoping that this solution will still work with win9 and I won't need a new adapter. Not a fan of Microsoft's constantly changing interfaces and standards...
    – Grisha S
    Sep 19, 2014 at 16:47

2 Answers 2

1

I have some cron tab tasks that needed to execute some powershell on Windows. Difficult (maybe not impossible?) to do this with the built-in Windows components.

I settled on using Powershell Server for that but any Windows SSH server software should work.

1
  • My next suggestion would have been this one :) Jan 14, 2014 at 14:12
-1

You do it with winexe the look at winexe.

The page says it is capable of of running command on Windows NT/2000/XP/2003 systems from GNU/Linux (and possibly also from other Unices capable of building the Samba 4 software package).

I can also tell you that after configuring the windows firewall properly it also works on Windows 7 and Windows server 2008.

1
  • Please read the question carefully: winexe does work only up to Win7 (and corresponding server versions), but I'm looking for a solution that would work with Win 8.1
    – Grisha S
    Sep 19, 2014 at 16:45

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .