Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
Can anyone help? Just not familiar enough with syntax...
Log below.
No User exists for @gmail.com
Invalid parameter(s)
Attaches a user session to a remote desktop session.
TSCON {sessionid | sessionname} [/dest:sessionname]
[/password:pw] [/v]
sessionid The ID of the session.
sessionname The name of the session.
/DEST:sessionname Connect the session to destination sessionname.
/PASSWORD:pw Password of user owning identified session.
/V Displays information about the actions performed.
I don't have a way to test your scenario, but I suggest you try surrounding the username part of the script with single or double quotes.
Just a theory to track down is all?
I accomplished thisb y logging into my wife's computer under my account and then you can share the steam library to another account on that computer.
But we found that if I'm playing *anything* she cannot use any of the games from my library.
Nope. I didn't change the script in anyway. After the upgrade it just stopped working for me. Unfortunately, it still is not working on Windows 10 1709(2 versions highter from last post?). Not sure what happened. I get this error message:
Could not connect sessionID 1 to sessionname console, Error code 1326
Error [1326]:The user name or password is incorrect.
Password\username is def not incorrect. I wouldn't be able to get past the password prompt if it was. Once I enter password in, I see the .cmd run in the black prompt, but no RDP disconnection occurs afterwards.
If you run this command in a PowerShell prompt, what does it output?
I had the same problem, and needed to change the [2] to [1] in the subcommand to get the session id.
did they change the fields maybe?
U ARE INSANE Thank you very very much
My use case is a little bit different, as I wanted to be able to wake up and unlock my Gaming PC using the Shortcuts app on my iPhone, which can be controlled via Siri ("Hey Siri, wake up the PC!").
The shortcut connects via SSH to my home server and executes a bash script, which via WOL wakes up the PC. Therefor manually opening an RDP connection to run the unlock-script was out of question; instead the bash script should trigger the unlock-script via SSH connection to the Windows PC (I already had an SSH server installed to be able to remotely put the PC into sleep mode via another Siri Shortcut).
The problem was, that without opening an RDP connection first, quser $env:USERNAME shows an already active session with the name "console", and executing tscon $sessionid /dest:console throws error 7045:
This however can be easily fixed by running tsdiscon $sessionid before running tscon $sessionid /dest:console.
There is one catch though when doing this in the script:
When ((quser $env:USERNAME | select -Skip 1) -split '\s+')[2] is executed before tsdiscon, it returns the session name ("console"). So simply running tsdiscon $sessionid; tscon $sessionid /dest:console would not work, as the disconnected session does not have a name anymore, so the ID has to be used instead (see code block above).
This however can be easily fixed by executing ((quser $env:USERNAME | select -Skip 1) -split '\s+')[2] again after running tsdiscon, which then returns the session ID instead the name. The complete script therefor is:
The bash script on the server looks something like this:
The sleep is necessary, as running the unlock-script to soon after wake will fail. On my system, 10 seconds isn't quite enough, but 15 seems to work reliably.
PS: The bash script also uses ADB (Android Debugging Bridge) to wake up the Philips TV the PC is connected to, and to set the correct HDMI input. I tried to do this via CEC, but unlike the Raspberry Pi, almost no PC graphics card seems to support this. :-/
Hey there,
Apologies for the late reply; I've been away for a bit.
I'm not sure what you mean when you say you get a terrible connection using this method. This guide is only for unlocking a Windows machine remotely so that you can use Steam Remote Play. There should be no impact on connection quality.
That said, could you elaborate a bit on your setup and maybe someone can help? You might get more visibility if you post your issue as a new thread too.
Cheers,
Morphy