Is there a console way to sign user into remote computer in LAN?


  1. Posts : 316
    Pro 20H2
       #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.)
      My Computer


  2. Posts : 822
    Microsoft Windows 10 Pro 64-bit
       #2

    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:
    Code:
    mstsc /v: 192.168.1.11
    Use computer name:
    Code:
    mstsc /v: PC-1
    to see the list of commands:
    Code:
    mstsc /?
      My Computer


  3. Posts : 316
    Pro 20H2
    Thread Starter
       #3

    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.
      My Computer


  4. Posts : 18,432
    Windows 11 Pro
       #4

    thename said:
    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.)
    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
      My Computer


  5. Posts : 776
    Windows 7
       #5

    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>
      My Computer


  6. Posts : 776
    Windows 7
       #6

    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
      My Computer


  7. Posts : 316
    Pro 20H2
    Thread Starter
       #7

    NavyLCDR said:
    I don't think there is a windows native way of doing what you want
    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
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 09:12.
Find Us




Windows 10 Forums