winlogon, username and password - winlogon

I would like to extend the winlogon dialog to include an additional button that will write the username and password to the registry when the button is pressed. Simply put, when the user presses the button to enable autologon, the registry is updated to flag this as an autologon system and to use these parameters (gathered from the two text boxes and the domain dropdown)
So my question is this...
does the winlogon application iteself handle the username, password and domain control, and then calls the gina.dll passing the value of the text boxes and drop down, or does the winlogon call the gina.dll and the gina.dll presents the dialog to enter the ensername and password?
this is for windows xp only - and in a very secured environment.
thanks

Related

Is it possible to configure proxy authentication username and password in windows?

I have a squid proxy server with basic SQL db authentication. When setting it on a client machine, the user is prompted with a dialog that asks for the username/password.
When they are entered and the save box is checked, the prompt no longer appears in IE but chrome asks every time it is started.
My question - is it possible to preconfigure the username/password in registry or somewhere else? I have tried the
http://username:password#server:port
and variations of it with no success. When that string is entered the browsers ignore it completely and proceed with no proxy.
I looked into setting up ntlm on squid but it seems that if the client is on a different domain the user will still be prompted.
You can choose the below steps to enforce IE using the same connection during the whole authentication procedure.
Click Start, click Run, type regedit, and then click OK.
Locate and then click either of the following keys in the registry:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings
HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings
On the Edit menu, point to New, and then click DWORD.
Type ReleaseSocketDuring401Auth, and then press ENTER.
On the Edit menu, click Modify.
Type 0, and then click OK.
Microsoft Blog:
http://blogs.msdn.com/b/asiatech/archive/2012/03/28/ie-always-prompts-for-authentication-when-browsing-through-proxy-server.aspx

Can i customize windows log in screen as per my requirement?

I just want to integrate windows with my already developed system.
I need login screen that contains window user name And when i click on login button some other page or popup should ask me my system user name and password along with one button.
without my system user name and pass word user can not login to computer.
i just wanted to know that is it possible or not.
If it is possible than give me a way please..
Thank you.

Adding a button to the Windows 7 Logon screen

I want to implement a self reset password functionality for Windows 7 users. When the Logon screen prompts the domain users should be presented with a forgot password button which will open the password reset wizard. So the problem is how to add a command button to the standard windows logon screen?
I know about GINA in Windows XP as mentioned here:
Adding command button to Windows Logon screen
But this topic is 3 years old, and with Vista / Windows 7 Microsoft came up with "Microsoft Windows Credential Provider".
Those button are called "Tiles", and they are implemented in a Credential Provider. Anything you read about a Gina will not work in Vista or later.
Those tiles a created by the LogonUI.exe process, itself launched by Winlogon.exe. LogonUI.exe runs with high priviledges. You don't want to run anything there. Besides, any wizard you run will run under the system account. Security issues aside, anything that resets the password of the current user will not work.
But let's assume that you have a solution that can reset a user's password. Like a web site (or a local application) that :
Ask for the user's name
Ask some security questions
Connects to Active Directory to reset the password
Then here is a way to implement the functionality.
Create a user, a domain user if possible. Give it a name and a password easy to remember, like "reset" and "reset". Make shure that everybody knows the password.
Change the shell of that user to Internet Explorer, that you would be running in kiosk mode, pointing to your web application.
Now when someone wants to reset their password, here is what they will do :
Use the standard Windows Credential Provider, like they do every day, but with the user "reset" and the password "reset".
Instead of the normal Windows shell, they will be presented with your password reset web application.
The user resets their password and they are instructed to log off using CTRLATLDEL
They can log in with their own username and brand new password.
This idea can be improved upon if you are ready to write some code:
Instead of Internet Explorer, write a simple web application that wraps the web browser control. if the application is closed, or any other funny business, logoff.
Hack one of the Credential Provider samples to supply the well know password reset username and password, making password reset merely a click away
Change that password reset credential provider's image to reflect the password reset functionnality.

Building a custom credential provider for Windows 7

After looking through the code for building custom credential providers for Windows 7, I managed to get my own tile to show up on the logon screen, and can logon as the desired user. However, I am trying to implement a system where an event (a Bluetooth device in range) triggers a logon/unlock, without needing to click on the tile.
I can set it to fill in the password automatically (maybe I will implement pulling the password from the device), but either way, I must click the tile first. If it is locked, I need to click "Other Credentials" before that, too.
How would I go about implementing the logon credential provider without displaying a tile on the logon screen? It would be nice if I could keep the existing password option focused, and bypass it the moment the device comes in range.
EDIT: I made some progress, but I still think I need to do this without a tile. If I set the *pbAutoLogon parameter to true, and fill in the username and password before that, then the following behavior occurs:
If the default credential is selected (lock/unlock), then I need to click on "other credentials". If I log off, both credentials are displayed by default.
If both credentials are shown, and my provider is enabled after that, then the logon is automatic.
If my provider is enabled first, then "other credentials" is selected, I still need to click on my provider, after which logon is automatic
You need to change your credential settings to log in automatically and then your provider needs to tell LoginUI that the credentials have changed.
One of the sample credential providers supplied by microsoft works in this way.

Triggering the Change Saved Password dialog in firefox

I am implementing a change password ui, but when I change the password, the dialog that firefox's password manager displays to change the saved password doesn't appear.
I can't find the documentation on what is required for the form fields to trigger this behavior.
If anyone has the resource that goes through how firefox decides when to display the change saved password dialog that would be helpful.

Resources