Remotely logging a user into the console session?

0

1

I'm looking to remotely (preferably through PowerShell, but anything will do) log in a given user to the console session in Windows 10, ie, as if the user was sat at the computer and typed in their username/password.

At the moment the only way I can see of doing this is to create an RDP session with that user, then transfer the session to the console. I'm hoping there's some more elegant way of doing this.

Any advice would be greatly appreciated.

Thomas Morris

Posted 2018-10-15T15:53:52.523

Reputation: 1

You want a more elegant way, do you means you want a more user-friendly interface? If so, you can look for a third-party remote login software to realize this. – Peter.G – 2018-10-16T06:08:13.390

@peter-g At the moment I've got it to work by starting an RDP connection, then running the script here, By more elegant, I was hoping for a way to create the session directly on the remote computer without needing to create an RDP session first. The end goal is to have a PowerShell script used for deployment to automatically login and run a third-party GUI tool which the user enters some details in.

– Thomas Morris – 2018-10-16T08:09:10.627

Answers

0

You can use Powershell, but the user should be a member of "Remote Management Users" Group.

Enter-PSSession -Computername %Hostname% -Credential %Domain\username%

https://4sysops.com/archives/powershell-remoting-without-administrator-rights/

d0c

Posted 2018-10-15T15:53:52.523

Reputation: 1

Sorry, I should have been more clear, I'm looking to start a desktop session on the screen on the remote computer, not a PowerShell session. – Thomas Morris – 2018-10-16T07:42:40.237