kodius Posted April 13, 2009 Share Posted April 13, 2009 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 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now