R
R
rPman2017-06-25 12:11:54
cmd/bat
rPman, 2017-06-25 12:11:54

How to connect to a windows 7 telnet server with the ability to automatically execute commands?

I need to be able to connect to the windows 7..10 text console on the local network (the next step is with administrator access, but these are trifles) and run a few commands there. There are no problems manually, but when I try to do the same from a batch file, the automation does not work. I went through several applications, mostly they were very old and most likely did not support new revisions of the operating system. Unfortunately, I can’t remember their names anymore, it was a year ago, I didn’t find a solution.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
K
Konstantin Stepanov, 2017-06-25
@koronabora

Either google ssh server windows
Or install RMS remote access, there is a console and file transfer and application launch from the admin. I myself recently discovered a software for myself, teamveiver is much better.

D
Dark Hole, 2017-06-25
@abyrkov

If you desperately need to execute cmd commands on a remote computer and you know the password and login from it, then you can use the PsExec program from SysInternals

R
res2001, 2017-06-25
@res2001

As a client, it is better to use not a Windows telnet client, but something else that can run commands from a file. For example, PuTty can connect via telnet and it includes a command line utility that can execute commands from a file.
I myself have not tried remote launching scripts via telnet, but it works fine via ssh. Please note that the script being run must be on the server side, as far as I remember. Well, since you have a lot of data being processed, then in the script, make the output to the screen to a minimum - redirect everything to files or to nul.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question