Hide User Accounts at Windows Logon Screen

On some Computer installations, I prefer to cread two user accounts like “User” and “UserAdmin” to have the Admin Rights still separated even if UAC is implemented. This gives you the advantage that windows asks for a password before any program gets elevated rights and ensures that you don’t only click on yes as usual. In my oppinion it’s more secure to work this way for people that have less experience on computers.

But if I create this additional account, that account is also visible as logon account on startup. To prevent this account being listed there, I had to change the following Registry key:

  • Open “HKLM\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\Winlogon
  • Create a Subkey “.\SpecialAccounts
  • Create a Subkey “.\SpecialAccounts\UserList

The whole new key should look like this:

HKLM\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\Winlogon\SpecialAccounts\UserList

Now you can create a DWORD with the name of the user you want to change the setting. As an example, let’s use “UserAdmin” here:

Now you can use the following Values for that DWORD:

0 = hide User Account
1 = show User Account

Windows temporary profile

If you’re logging in to a computer and get a message telling you “you’ve been logged on with a temporary profile”, you can solve that problem by just rebooting the computer. But sometimes, there’s a bigger fault in background. In this case, a colleague just gave me this hint:

HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList

Under the ProfileList subkey, delete the subkey that is named <<SID>>.bak

Cleaning up disk space

Cleaning up disk space by deleteing old Windows Updates was more easy on Windows XP than Win7 now. Updates are stored under the “%windir%\winsxs” folder, where you should not delete anything if you love your stable operating system.

A colleague just told me he found the trick to cleanup those updates, it’s just starting the following command under Win7 / Server 2008r2:

dism /online /cleanup-image /spsuperseded

This command cleans up the %windir%\winsxs folder which holds (among others) files for Service Packs. The only drawback to this procedure is that once executed you won’t be able to uninstall the Service Pack(s) any longer – so use it cautiously and at your own risk.

— edit 05-Nov-2012

Windows Vista and Server 2008 (r1) do not have dism included. To cleanup WinSxs there you can use “compcln.exe” instead, it removes all Service Pack files. Take care, you’ll not be able to downgrade from SP2 to SP1 after running this command.

— edit May-2014

There is an update from Microsoft available (KB2852386)┬áthat makes the Windows’ Cleanup Diskspace Feature able to cleanup WinSXS Folder files. Just install the update and follow the instructions in the KB Article.