Registry - Winlogn last user logged in - Win7

You know how in XP if you logged in as local administrator and you want to log off and have it set for the user to login by editing the registry:

HKLM\Software\Microsoft\Windows NT\Current Version\Winlogon

You can edit AltDefaultDomainName, AltDefaultUserName, DefaultDomainName, and DefaultUserName so that you change it back to the Domain instead of local computer and also change the user name from Administrator to the client's login ID so when you log off or reboot you can walk away knowing the client won't try to login locally and end up calling.  I do not see those reg keys on a Win 7 box and was wondering if I added them will that work or how do I set it so if I logged in locally as Administrator to install software or what ever I would like to set it back so when I log out it makes it easier for the client to login without having to swtich user and stuff.
MyLopezAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
SylvainDrapeauConnect With a Mentor Commented:
Hello !

Try this key : HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Authentication\LogonUI\LastLoggedOnUser

Syldra
0
 
MyLopezAuthor Commented:
Yes that worked.  Yeah!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.