You are on page 1of 15

MICROSOFT

Force Windows 8 to show all user accounts on the Sign on screen


Find out how to make Windows 8 show all user accounts on the Sign on screen all the time
- it is not as easy as it should be.
By Greg Shultz | in Windows and Oce, June 4, 2013, 4:58 AM PST

Do you have multiple accounts set up on your Windows 8 system? If so, then you know that each
time that you start your system, the Windows 8 Sign on screen will display the account of the last
person to sign on the system. If you want to login as a different user, then you must click the
arrow to go back to a Sign on screen that displays all of the available user accounts.

This blog post is also available as a TechRepublic Screenshot Gallery.


(http://www.techrepublic.com/photos/show-all-user-accounts-each-time-you-boot-windows-8/6418835)

For example, on my test system, I have three user accounts. When I start up Windows 8 and get
to the Sign on screen, I see the user account that I used last. In this case Greg Shultz. If I want to
sign in with one of the other accounts, I must click the arrow next to my account picture. As soon
as I do, the Sign on screen will display all of my user accounts. This is illustrated in Figure A.
Figure A

You need to click the arrow to see all the available user accounts.

While this is a simple procedure, I've heard quite a few complaints about not being able to
immediately see all user accounts on the Sign on screen. They then cite the fact that Windows
7's Log on screen always displayed all of the available user accounts.
So I set out to nd a way make Windows 8 show all user accounts on the Sign on screen all the
time. At rst I thought that it would be as simple as changing a Group Policy or Security Policy
setting, but that isn't the case.
I then turned to the registry and found a key containing a simple value I could change from a 0
to a 1 that would indeed do the trick. However, I discovered that it would only work once. I could
change the registry value, restart the system, and the Sign on screen would show all user
accounts. Restart again and the Sign on screen would show only the last used account. This

would play out each time I changed the value.


I then learned that Windows 8 considers that particular registry value to be a system setting and
even though you are allowed to change it, the operating system automatically changes it back to
the default value as soon as you sign on.
Since you can change that value without any repercussions, I then set out to nd a way to
automate the process, such that the value would be changed every time you sign on or sign off. I
then recalled a technique that I created for Windows Vista in which I used Task Scheduler to
launch UAC restricted programs at startup (http://www.techrepublic.com/blog/window-on-windows/make-vistalaunch-uac-restricted-programs-at-startup-with-task-scheduler/616).

The Task Scheduler technique worked!

Now, every time that I start Windows 8, the Sign on screen shows all user accounts.
Sign up for TechRepublic's Windows and Oce newsletter!
SUBSCRIBE

In this edition of the Windows Desktop Report (http://www.techrepublic.com/search?


q=windows+desktop+report),

I'll show you how to implement the full technique from changing the

registry value to employing Task Scheduler to automate the procedure. Keep in mind that while
automating the procedure is the ultimate goal, I am going to delve into the registry so that you
will understand what is happening in the background.

Note: Keep in mind that the rst account that you set up on your Windows 8 system is by default
an Administrator account. When you set up additional accounts they will be, by default, set up as
Standard user accounts. In order to perform the steps shown in this article, you must be signed
in to an account that has Administrator privileges.

Make a backup
Before you begin, keep in mind that the Registry is vital to the operating system and changing it
can be dangerous if you inadvertently make a mistake. As such, you should take the time to
back up your system by creating a system image as I showed you in Restore Windows 8 with
System Image Recovery (http://www.techrepublic.com/blog/window-on-windows/restore-windows-8-with-systemimage-recovery/7464).

That way if anything goes awry, you can restore your system and get right

back to work.

Overview
To force Windows 8 to display all user accounts on the Sign on screen, all you need to do is
access the UserSwitch key and change the Enabled DWORD value from a 0 to a 1. (The
UserSwitch key is located in the registry path:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Authentication\LogonUI\)
Since the registry in the Windows 8 operating system is huge and navigating in it can be tricky,
I'll show you how to use the Find feature in the Registry Editor to make navigation easier. With
this in mind, let's jump in.

Editing the registry


To launch the Registry Editor in Windows 8, use the [Windows] + Q keystroke to access the Apps
Search page. Then, type Regedit in the text box and click Regedit, as shown in Figure B. If you
prefer, you can use the [Windows] + R keystroke to bring up the Run dialog box, type Regedit in
the Open text box, and click OK.
Figure B

Accessing the Registry Editor from the Start screen is easy.

Either way that you launch the Registry Editor, you'll see a User Account Control dialog box and
will need to click the Yes button. You'll then see the Registry Editor.
Once you have the Registry Editor up and running, locate and right-click on
HKEY_LOCAL_MACHINE key and select the Find command. When you see the Find dialog box,
type UserSwitch in the text box and make sure that the Keys and the Match whole string only
check boxes are selected, as shown in Figure C. To continue, click the Find Next button.
Figure C

Type UserSwitch in the Find dialog box.

In a moment, you will arrive at the

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Authentication\LogonUI\Use
key. (Check the Status bar to be sure.) You will now see the Enabled value in the UserSwitch key
and notice that it is set to 0. Just double-click the Enable value and change the Value data to a 1.
This process is illustrated in Figure D.
Figure D

Type a 1 in the Value data box.

To continue, click OK and then close the Registry Editor. If you now restart your system, you will
see that the Sign on screen displays all the available user accounts. However, if you sign in to an
account and then restart your system again, you'll see that the Sign on screen will now show

only the last used account.

Automating the procedure


To congure the system so that the sign on screen always shows all user accounts, you can
automate the procedure of changing the Enabled value in the registry. Automating the
procedure requires two steps: creating a good old fashioned batch le and then creating a task
in Task Scheduler that runs the batch le.
The batch le that will launch the Reg.exe command along with a set of parameters that will
perform the same registry edit shown above - change the UserSwitch\Enabled value from a 0 to
a 1. You will congure the task so that it will run that batch le whenever any user signs into
Windows 8.

Creating the batch le


To make the batch le accessible regardless of who is signing in to the system, I created a folder
called ShowAllUsers in the root directory of drive C and then saved my batch le there, as
shown in Figure E.
Figure E

To allow the system to run the batch le, you will create a folder in the root directory.

To create the batch le, just open Notepad and type the command line as shown in Figure F.
Then save the le as ShowAllUsers.bat in the C:\ShowAllUsers folder. Let's take a closer look
and the parameters in the command line.
REGADDHKLM\SOFTWARE\Microsoft\Windows|CurrentVersion|Authentication\LogonUI\UserSwitch/vEnabled
/tREG_DWORD/d1/f

Figure F

You will use Notepad to create the batch le.

REG ADD - The ADD parameter species that we will be adding a value to the registry. (While
we are actually changing an existing value, we have to use Reg.exe's ADD parameter.)
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Authentication\LogonUI\UserSwitch
- This is the path to the value that we will be changing.
/v Enabled - This part of the command line species the name of value that we will be
changing - in this case Enabled.
/t REG_DWORD - This part of the command line species the type of value that we will be
changing - in this case it is a DWORD value.
/d 1 - This part of the command line species the data that we will be assigning to the
Enabled value - in this case the number 1.
/f - This part of the command line species that we want to force the overwriting of existing
data without being prompted to conrm the operation.

Creating the task


Now that you have the batch le created, you can create a task that will run it. To launch the Task
Scheduler in Windows 8, use the [Windows] + W keystroke to access the Search Settings page.
Then, type Schedule in the text box and click Schedule tasks, as shown in Figure G.
Figure G

Accessing the Task Scheduler from the Start screen is easy.

In a moment, you'll see the Task Scheduler window and will select Create Task item in the

Actions panel, as shown in Figure H. When the Create Task dialog box appears, you'll see that it
has six tabs.
Figure H

In the Task Scheduler window, you'll begin by selecting the Create Task action.

On the General tab, you'll assign the task a name in the Name box and type a description in the

Description box. You'll then move down to the Security options panel and select the Run whether
user is logged on or not option and then select the Run with highest privileges check box. Next,
select Windows 8 from the Congure for drop down menu. Your General tab should look like the
one shown in Figure I.
Figure I

You'll congure ve settings on the General tab.

The reason that you select the the Run whether user is logged on or not option is so this task will
run for every user that signs on to the system. And, the reason that you select the Run with

highest privileges check box is so that task will run for every user regardless of whether their
account is set up with administrator or standard user privileges.
Next, you'll need to congure a Trigger. To do so, select the Triggers tab and then click the New
button. When you see the New Trigger dialog box, select At log on from the Begin the task drop
down menu and then select the Any user option. Leave all the other settings as they are. Your
New Trigger dialog box should look like the one shown in Figure J.
Figure J

You'll congure only two settings in the New Trigger dialog box.

To continue, click OK to close the New Trigger dialog box, select the Actions tab, and then select
the New button. When you see the New Action dialog box, select Start a program from the

Action drop down menu. Then in the Settings panel click the Browse button and locate the
ShowAllUsers.bat le in the C:\ShowAllUsers folder. Your New Action dialog box should look like
the one shown in Figure K.
Figure K

You'll congure only two settings in the New Action dialog box.

To continue, click OK to close the New Action dialog box. You don't need to congure any
settings on the Conditions or Settings tabs, so just click OK to close the Create Task dialog box.
When you do, you'll see a dialog box that prompts you to enter your password, as shown in
Figure L. Entering your password will allow the settings you chose in the Security options panel
on the General tab to function for all users.
Figure L

When you click OK, you'll be prompted to enter your password.

When you return to the Task Scheduler window, you can select Task Scheduler Library from the
Console Tree and will nd that the ShowAllUsers task is ready to run, as shown in Figure M. At
this point you can close Task Scheduler.
Figure M

When you select Task Scheduler Library, you'll see that the ShowAllUsers task is Ready to go.

To test your new task, just restart your system. When you do, you will see that all user accounts
are displayed on the Sign on screen. Keep in mind that if you did not manually make the change
to the registry that I showed you in the Edit the registry section above, you will need to sign in at
least once before the Sign in screen will show all users.

What's your take?


If you have multiple accounts set up on your Windows 8 system, chances are that you would like
to have the Sign on screen show all user accounts rather than just the immediately displaying
the last user account that was signed on to the system. In this article, I've shown you how to
accomplish this with an automated procedure. Are you likely to use this procedure on your
Windows 8 system? As always, if you have comments or information to share about this topic,
please take a moment to drop by the TechRepublic Community Forums
(http://www.techrepublic.com/5221-6230-0.html)

and let us hear from you.

Also read:
Change background images in Windows 8 (http://www.techrepublic.com/blog/window-onwindows/change-background-images-in-windows-8/7706)

Reset your password in Windows 8 (http://www.techrepublic.com/blog/window-on-windows/reset-yourpassword-in-windows-8/7665)

Quick Tip: Take fast screenshots with Windows 8 shortcut (http://www.techrepublic.com/blog/windowon-windows/quick-tip-take-fast-screenshots-with-windows-8-shortcut/7530)

About Greg Shultz


Greg Shultz is a freelance Technical Writer. Previously, he has worked as Documentation
Specialist in the software industry, a Technical Support Specialist in educational industry, and a
Technical Journalist in the computer publishing industry.

EDITOR'S PICKS

IBM Watson: The inside story


Rise of the million-dollar smartphone

The world's smartest cities

The undercover war on your internet secrets

You might also like