question

amichaels avatar image
amichaels asked amichaels answered

What's the best way to automate a remote windows computer?

From time to time, the need to automate actions on a remote Windows machine arises. There are several approaches we've used in the past with varying degrees of success, simplicity and reliability.

1) Windows telnet server - we have found the telnet server to be useful, but it requires proper configuration. This is more difficult than it sounds, as the configuration has changed several times over the years, and enabling stream mode is a necessity, as iTest doesn't work well without it

2) netsh commands using the remote option - this is easy to use and provides much of the needed capabilities as far as configuring wifi or other network properties. However, the output does not get stored in iTest responses. The reason is that the output is usually sent to stderr, and redirecting stderr to stdout does not appear to work for this program.

3) psexec - similar results as netsh, but you can execute any program. Same problem with output redirection, though.

iTest Enterprisesshtelnetwindows
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
amichaels avatar image
amichaels answered

The best solution We've found is to install a 3rd party SSH server. What I'm using now is MobaSSH: http://mobassh.mobatek.net/

10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.