Jump to content
Sign in to follow this  

Registry Enumeration

Recommended Posts


We use a service account on PCs we manage, on new builds I want to setup the account and hide the account from the Welcome Screen.

With Vista the SpecialAccounts and UserList don't exist so I'm not sure it'll be created using the code below, any help would be GREAT!

; Check Registry and Hide User Account from Welcome Screen

RegRead("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\SpecialAccounts\UserList", $UserName)

If @error <> 0 Then RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\SpecialAccounts\UserList", $UserName, "REG_DWORD", "0")


Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this