V
V
Vladimir2018-06-20 11:04:26
PowerShell
Vladimir, 2018-06-20 11:04:26

Is it possible to explicitly not specify a port (WinRS)?

When only an HTTP listener was configured on the remote PC (Admin-pc) , you could connect like this: Now added an HTTPS listener with a certificate, removing HTTP . Now the only way to connect using WinRS is: Why do I have to explicitly specify the port? Perhaps something is not configured correctly on the remote machine? winrs -r:Admin-pc cmd.exe
winrs -r:https://Admin-pc:5986 cmd.exe

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
azarij, 2018-06-20
@bossonojka

I think it's because of the HTTPS prefix. it automatically means port 443. but it uses a different port for secure connections. Here also it is necessary to specify this safe port.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question