1-click switch user shortkey

1

So I'm looking for the most efficient method of switching between one user to another, on Windows 10.

What I'm hoping to find is a command wherein I could add username and password (disregarding the huge security issue of that, as it's on home computer).

Any ideas?

Background:

So far I've only been able to use tsdiscon on a shortcut to swiftly disconnect a user, but I'll still need to click on the user I wish to log in with, and go through the login procedure.

Alternatively I'm looking at autohotkey maybe, but it has limited use once disconnected, and I'm already beyound that with the tsdiscon command.

EDIT

Ok I'm been made aware of tscon command, which apparently would do excatly what I'm looking for - however I can't seem to figure out how to use it.

Anyone can help with with code example for tscon command?

Example I have a user named User2 with Password 123456 - what would the tscon command look like?

tscon command uses the following syntax: tscon SessionID | SessionName [ /server:ServerName] [/dest:SessionName] [/password:Password] /v

https://support.microsoft.com/en-us/kb/321703

Casper

Posted 2016-12-17T20:39:39.243

Reputation: 11

tscon is for connecting to servers not switching users on a desktop. – DavidPostill – 2016-12-17T23:36:22.073

Yes ok - I guess that could explain why I couldn't make it work. However tsdiscon is also purposed for servers, but still provides good functionality thus far on quickly disconnecting a user. – Casper – 2016-12-18T22:23:36.517

Are you trying to do something that can be accomplished by running a task or process as a different user? Or are you just wanting to efficiently switch users, desktops, etc. on a home machine by easily clicking an icon? – JJohnston2 – 2016-12-19T06:43:42.743

@JJohnston2 I'm solely looking for the most efficiently user switch possible, something that could be boiled down to just a 1-click icon. Thanks for the other suggestion tho, but that's not what i'm looking for unfortunately. – Casper – 2016-12-26T17:50:19.733

No answers