Vista/Win7 Solution: Skip the Switch User screen

So I’ve been happily using Windows 7 for a couple years (since the beta), but just finally moved my family into it, and discovered a new issue in the process:

Like XP, the “Win+L” key combination locks your profile so the next person won’t “be you.” But instead of the main Welcome screen with the list of accounts, you get the Switch User screen, with a button to take you to the real Welcome screen. This a confusing extra step when you’re the next guy just looking to login.

I did some research, and it looks like a LOT of folks have wondered how to skip the Switch User screen, but without luck.

Not sure, but I may be the first with a decent solution. The ingredients are tsdiscon.exe (which does the “Switch User”), and Task Scheduler (which hooks it up to the Win+L combination), both of which are built into Windows. Here’s how:

  1. Click Start, type taskschd.msc, enter. Confirm any UAC prompts you get, and Task Scheduler will open.
  2. In the Action menu, click Create Task.
  3. In the Create Task dialog > General tab, type a meaningful Name like “Lock » Switch User”
  4. In the Security options section, click the “Change User or Group” button, type _Users_ in the dialog and click OK.
  5. On the Triggers tab, click the “New…” button. In the New Trigger dialog > “Begin the task” list, choose “On workstation lock” and click OK. This takes you back to the Create Task dialog.
  6. In the Actions tab, click the “New…” button. In the New Action dialog > “Program/script” field, type tsdiscon.exe and click OK. This takes you back to the Create Task dialog.
  7. Click OK again and enter the password for the administrative account it offers.
  8. Test it! Press Win+L and you should see the Switch User screen for a moment, then the main Welcome screen.

2011-01-17 UPDATE:  As I was setting up this tweak on a new system, I noticed Windows 7 HOME doesn’t include tsdiscon.exe. It’s easy enough to copy from a Win7 Pro machine (from/to %windir%\System32), and then works as I described.

2011-02-10 UPDATE:  It looks like I was on the same track as Duncan Smart.  He didn’t make automate it with Task Scheduler, but he did write a downloadable substitute for tsdiscon.exe (handy if you have no access to a Windows PRO machine.)

Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>