Username reverting to user after admin sign in

Mon, 2008-10-20 16:07 by 1StopVA · Forum/category:

After logging on as admin, I'd like the pc's to revert to the main users name at login (rather than admin showing up). How can I accomplish this?

No votes yet

DefaultUserName

Mon, 2008-10-20 16:36 by admin

I don't know of any provision for that, but you can easily program it yourself. The default user name is stored in the registry at:

HKEY_LOCAL_MACHINE
 \SOFTWARE
  \Microsoft
   \Windows NT
    \CurrentVersion
     \Winlogon
Value: DefaultUserName REG_SZ

You can export that value with regedit and edit the .reg file to bear the desired name. Delete all other values in the .reg file.

Then you have to make sure the file is re-imported before any user logs on with the command:

regedit /s yourfile.reg

where you have to replace yourfile with the actual file name you chose.

DefaultUserName

Tue, 2008-10-21 16:00 by 1StopVA

Thank you!!

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.