Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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.

share|improve this question
    
Should be run as a script? –  David Jan 13 at 9:42
    
@David What do you mean? –  Grisha S Jan 13 at 10:48
1  
Telnet is a possible solution –  David Jan 13 at 16:05
    
Actually, I tried it already, and so far it seems to work OK –  Grisha S Jan 13 at 20:05

1 Answer 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.

share|improve this answer
    
My next suggestion would have been this one :) –  David Jan 14 at 14:12

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.