Rodger Posted March 1, 2010 Share Posted March 1, 2010 Hello, Lot's of people have configured their IE to save webpage logins (username and password) so they don't have to type it in everytime. Is there a possibilty that AutoIt overrules this so everytime you need to login with username and password for that specific site? Rodger Link to comment Share on other sites More sharing options...
notsure Posted March 1, 2010 Share Posted March 1, 2010 You can delete the cookie which remembers the User/Pass for the websites, or you could just ask IE (with autoit) if the website is on the "login" page or not. Link to comment Share on other sites More sharing options...
Rodger Posted March 1, 2010 Author Share Posted March 1, 2010 You can delete the cookie which remembers the User/Pass for the websites, or you could just ask IE (with autoit) if the website is on the "login" page or not.How can I ask IE with AutoIt if the website is on the "Login" page..... Link to comment Share on other sites More sharing options...
notsure Posted March 1, 2010 Share Posted March 1, 2010 First post a source of the loginpage here. Link to comment Share on other sites More sharing options...
Rodger Posted March 1, 2010 Author Share Posted March 1, 2010 First post a source of the loginpage here.https://prd.ced-services.nl/extranet/ogv/inlog.html Link to comment Share on other sites More sharing options...
ziv Posted March 1, 2010 Share Posted March 1, 2010 Hi is it local program u r ruining ? then you can open IE > tool > internet option > advance > scroll down to security there u will find several option for your browser u can delete all temporary fill or disable windows authenticate and so on Link to comment Share on other sites More sharing options...
Rodger Posted March 1, 2010 Author Share Posted March 1, 2010 Hi is it local program u r ruining ?then you can open IE > tool > internet option > advance > scroll down to security there u will find several option for your browser u can delete all temporary fill or disable windows authenticate and so onI don't want to change the settings in IE. That's the problem ... I want to force the login only for this website and keep the rest as is .... Link to comment Share on other sites More sharing options...
BullGates Posted March 1, 2010 Share Posted March 1, 2010 (edited) If you run the command pointed bellow, you can manage the Stored User Names and Passwords of IE. Maybe you can create a function to remove the remembered credentials if they exist there. rundll32.exe keymgr.dll, KRShowKeyMgr Edited March 1, 2010 by BullGates [topic="51913"]Restrict USB Storage usage to group membership[/topic] * [topic="48699"]Using nircmd library[/topic] * Some admin notes Link to comment Share on other sites More sharing options...
ziv Posted March 1, 2010 Share Posted March 1, 2010 for most web sit there is a logout button click it Link to comment Share on other sites More sharing options...
Rodger Posted March 1, 2010 Author Share Posted March 1, 2010 If you run the command pointed bellow, you can manage the Stored User Names and Passwords of IE. Maybe you can create a function to remove the remembered credentials if they exist there. rundll32.exe keymgr.dll, KRShowKeyMgr I runned the command and nothing is shown. When I go to the above mentioned URL a login popup is shown. When a collegue of my does the same thing, she goes directly to the site without the popup. When I run the command "rundll32.exe keymgr.dll, KRShowKeyMgr" it shows nothing. Link to comment Share on other sites More sharing options...
notsure Posted March 1, 2010 Share Posted March 1, 2010 https://prd.ced-services.nl/extranet/ogv/inlog.html Ah, that's MD5login... not a loginpage. What you can do is overwrite the name and password which are in there. I see its a website from the Netherlands, so i assume you have Dutch as windows language. This should work then; #include <IE.au3> local $oie $oie = _IECreate("https://prd.ced-services.nl/extranet/ogv/inlog.html", 0, 1, 0) winwaitactive("Verbinding maken met") ControlSend("Verbinding maken met", "", "[CLASS:Edit; INSTANCE:2]", "Naam") ControlSend("Verbinding maken met", "", "[CLASS:Edit; INSTANCE:3]", "Wachtwoord") If your windowsversion is not dutch, you have to make modifications in the windowtitle. Link to comment Share on other sites More sharing options...
notsure Posted March 1, 2010 Share Posted March 1, 2010 And if the user is already logged in, just use _iebodyreadHTML to check if he's already logged in or not by searching text on the website after the password is filled in. Link to comment Share on other sites More sharing options...
BullGates Posted March 1, 2010 Share Posted March 1, 2010 Hi Rodger, it seems that the problem is on the authentication configuration. Check under Security, Custom Level, the scrool down until the User Authentication settings appear - there should be some different settings on your account and your colleagues account. [topic="51913"]Restrict USB Storage usage to group membership[/topic] * [topic="48699"]Using nircmd library[/topic] * Some admin notes Link to comment Share on other sites More sharing options...
Rodger Posted March 1, 2010 Author Share Posted March 1, 2010 Hi Rodger, it seems that the problem is on the authentication configuration. Check under Security, Custom Level, the scrool down until the User Authentication settings appear - there should be some different settings on your account and your colleagues account. I tried #include <IE.au3> local $oie $oie = _IECreate("https://prd.ced-services.nl/extranet/ogv/inlog.html", 0, 1, 0) winwaitactive("Verbinding maken met") ControlSend("Verbinding maken met", "", "[CLASS:Edit; INSTANCE:2]", "Naam") ControlSend("Verbinding maken met", "", "[CLASS:Edit; INSTANCE:3]", "Wachtwoord") but still nogo. I will try the other stuff mentioned here...... Link to comment Share on other sites More sharing options...
Rodger Posted March 2, 2010 Author Share Posted March 2, 2010 I solved the issue by doing this: ShellExecute("C:\Program Files\Internet Explorer\iexplore.exe","https://prd.ced-services.nl/extranet/ogv/inlog.html") 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