• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 679
  • Last Modified:

Automatoc logon

I have created a program that will modify the registry in the Windows NT\Winlogon to include default user name, default password and default domain. It works, but there is a security screen that comes up and I have to click OK. I have already been told by the people who run the network that Group Policy will reset the value after a set amount of time so temporarily automation of a user logon using the administrative account is OK. I am looking for the spot in the registry that will allow me to do disable this security screen. LegalNoticeCaption and LegalNoticeText are blank in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon. Any place else I could look?  
0
Mister_Spock
Asked:
Mister_Spock
  • 6
  • 3
  • 3
  • +1
1 Solution
 
jkrCommented:
What does that "security screen" say?
0
 
sirbountyCommented:
What did you create the program in?
Perhaps you can simply use a sendkeys method to respond to the security prompt?
0
 
KCTSCommented:
It could be a group policy that is generatikng the message. I presume it appears for all users.
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
Mister_SpockAuthor Commented:
Actually, I found the answer on my own. To be fair I'll award the points to the first person who knows how I solved this.
0
 
sirbountyCommented:
control userpasswords2
0
 
sirbountyCommented:
The AutoAdminlogon key...
0
 
Mister_SpockAuthor Commented:
Close, I did have to set the AutoAdminLogon to 1 but I did that before I posted my question. It is not found in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon. It is in the registry though, think in the term of policies. You are in the neighborhood, just the wrong house.
0
 
sirbountyCommented:
It's not the "dontdisplaylastusername"...I wouldn't think.
The only other policies that I see are shutdownwithoutlogon, the legalnotice stuff, and undockwithoutlogon... : \
0
 
sirbountyCommented:
I hate riddles...haha.
I suppose it'd be easier to know 'how' you're changing these values...
Presumably it's not an anti-virus or security center issue...?
Security Screen popup - I can't imagine what that would be... : \
0
 
jkrCommented:
Are you thinking about the "Interactive Logon: Message text for users attempting to log on" group policy as in http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/577.mspx?mfr=true ?
0
 
jkrCommented:
Or in terms of the registry: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurentVersion\policies\system and 'legalnoticetext'
0
 
sirbountyCommented:
I don't 'think' legalnotices would have prevented this...could be wrong...

What about
HKLM\SYSTEM\CurrentControlSet\Control\SessionManager\EnhancedSecurityLevel
0
 
Mister_SpockAuthor Commented:
Actually JKR is right
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\policies\system is where I found this, and yes it was LegalNoticeCaption and LegalNoticeText. Both values have to be deleted. When the PC boots and looks in those keys and sees that they are blank, the legal notice box is not displayed. Group Policy then comes into the picture and adds these values back into the above keys. If you reboot again the box will once again be displayed. Each time I need the PC to automatically log in I have to delete the values again.
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

  • 6
  • 3
  • 3
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now