Quantcast
Channel: Samanathon.com
Viewing all articles
Browse latest Browse all 22

Windows Tip: Create A Shortcut to Quickly Switch Users

$
0
0

I’ve shown you how to log off of your user account via a shortcut and, if you’re on a computer with multiple user accounts, you can also create a shortcut to quickly switch users. This utility disconnects the current session (it does not log off the account) when no command-line arguments are supplied.

How To

Follow along with these few short steps:

  1. Right-click the Desktop and click New then Shortcut.
    Create a shortcut on the desktop
  2. In the “Create Shortcut” dialog, enter the following and click the “Next” button:
  3. %SYSTEMROOT%\system32\tsdiscon.exe

  4. In the “Select Title for the Program” dialog, enter a descriptive name and click the “Finish” button.
  5. Right-click the shortcut and click “Properties”.
  6. Under the Shortcut tab, click “Change Icon . . .” This will pop-up the following error:
  7. After clicking “OK”, a dialog should open displaying all of the icons in the location:
    %SystemRoot%\system32\SHELL32.dll
  8. Find one that you like and click the “OK” button.

Options

You could get nutty and place this shortcut in your Quick Launch folder by typing Windows Key+R, then:
"C:\Documents and Settings\%username%\Application Data\Microsoft\Internet Explorer\Quick Launch"

Command Line Options

You can also use tsdiscon.exe in a batch file. Here are the optional perimeters:

  1. TSDISCON [sessionid | sessionname] [/SERVER:servername] [/V]
  2.  
  3.   sessionid           The ID of the session.
  4.   sessionname         The name of the session.
  5.   /SERVER:servername  Specifies the Terminal Server (default is current).
  6.   /v                  Displays information about the actions performed.
  7.  
  8.   Example: tsdiscon 3 /server:cprsrv02 /v

Viewing all articles
Browse latest Browse all 22

Trending Articles