New
#1
Is there a console way to sign user into remote computer in LAN?
Is there a console way to sign a user into a remote computer in LAN?
(Not an academic question. I would put it to use.)
Is there a console way to sign a user into a remote computer in LAN?
(Not an academic question. I would put it to use.)
Not sure if your asking about remote desktop, But if you want to use the cmd prompt or terminal to connect to a remote computer use one of these cmd's
Use IP address:
Use computer name:Code:mstsc /v: 192.168.1.11
to see the list of commands:Code:mstsc /v: PC-1
Code:mstsc /?
Thanks.
No, not to use a remoter computer.
Simply to sign in whatever existing user that I specify by using my console.
Nothing more on my part.
I don't think there is a windows native way of doing what you want, but this device would allow you to do it:
AURGA Viewer
You can open a remote console session using the Windows OpenSSH Client, which is included on most W10 & 11 releases.
To allow logons on a remote system, that PC also needs to install the optional OpenSSH Server feature. There might be additional steps if you're on Home Edition.
Open Settings, and find the OpenSSH Server feature:
Apps -> Optional Features -> Add a feature -> OpenSSH Server
1. Run these commands:
Code:powershell "New-NetFirewallRule -Name sshd -DisplayName 'OpenSSH Server (sshd)' -Enabled True -Direction Inbound -Protocol TCP -Action Allow -LocalPort 22" powershell "Set-Service sshd -StartupType Automatic" net start sshd
2. The remote user account must have a valid password (can't be blank).
3. On the other system, open a SSH connection using the remote PC's network address:
Code:C:\Users\GARLIN\Downloads>ssh GARLIN@192.168.6.190 GARLIN@192.168.6.190's password: Microsoft Windows [Version 10.0.19045.3693] (c) Microsoft Corporation. All rights reserved. garlin@Y50-70 C:\Users\GARLIN>cd \Users\GARLIN\Downloads garlin@Y50-70 C:\Users\GARLIN\Downloads>SpotlightImages.bat Copying "2023-11-21 Manarola, Cinque Terre, Italy - pwmotion (Adobe Stock) 1920x1080.jpg" Copying "2023-11-21 Manarola, Cinque Terre, Italy - pwmotion (Adobe Stock) 1080x1920.jpg" Copying "2023-11-21 Rio On pools, Belize - Al Argueta (Alamy) 1920x1080.jpg" Copying "2023-11-21 Rio On pools, Belize - Al Argueta (Alamy) 1080x1920.jpg" garlin@Y50-70 C:\Users\GARLIN\Downloads>
Alternatively, you can install PSEXEC from Microsoft's Sysinternals site.
https://learn.microsoft.com/en-us/sy...wnloads/psexec
Code:psexec -i \\192.168.6.190 cmd
Navy may understand what I want to do.
Even though garlin does not, I appreciate the excellent information..
Out of interest I did the OpenSSH,components and firewall things, got the "Connection refused" reply (read some suggested fixes, none of them needed).
PsExec is great, I use it much