Sign in to follow this  
Followers 0
kodius

Registry Enumeration

1 post in this topic

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")

EndIf

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  
Followers 0