Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


Automated Login

 
Logged in as: Guest
arrSession:exec spGetSession 2,2,2861
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> WSH & Client Side VBScript >> Automated Login
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 Automated Login - 5/2/2005 7:39:59 AM   
  adamgleiss

 

Posts: 7
Score: 0
Joined: 5/2/2005
From:
Status: offline
Hello,

I am writing a basic script to set some settings in a fresh OS install(could be XP, 2000, 98, etc.). My problem is after the install, when connecting to the internet for the first time, a login message box appear asking for my username and password. Everything works fine if I put in the information. How would I automate this behavior by haveing my script write to the registry? I have been looking for the correct entries all day and have assumed they are named something different than username and password. Any help would be greatly appreciated.
 
 
Post #: 1
 
 Re: Automated Login - 5/2/2005 8:04:28 AM   
  kirrilian


Posts: 628
Score: 3
Joined: 3/15/2005
From:
Status: offline
what username/password are you talking about? for a dial up you mean? that would be a setting in IE, search for the registry entry for whatever ver of windows you need to change it on. a quick search shows that it can be different registry keys for different versions of windows

reference:
http://support.microsoft.com/kb/q175312/

(in reply to adamgleiss)
 
 
Post #: 2
 
 Re: Automated Login - 5/2/2005 8:41:21 AM   
  adamgleiss

 

Posts: 7
Score: 0
Joined: 5/2/2005
From:
Status: offline
Thanks for your quick response,

Here is the situation. I am an QA intern that needs to repeatedly install fresh versions of operating systems in our QA lab in order to have a clean slate for product testing. I want to write a script that modifies certain settings automatically to save time. The one that is giving me trouble is when IE opens for the first time it give a dialog box that wants a username, password, and has an option to remember the password. The box's title is "Connect to ourdomainname". It's not dial up, we are on a LAN here and I think the information is dealing with a proxy (which I am not familar with). I hope this helps describe the situation.

(in reply to adamgleiss)
 
 
Post #: 3
 
 Re: Automated Login - 5/2/2005 8:32:34 PM   
  token

 

Posts: 1917
Score: 0
Joined: 1/14/2005
From:
Status: offline
Did you use a different userID/password when logon to the machine than the one you manually entered ? If you can find out where the userID and password are stored in the registry, you could write those entries into the registry during the installation process. You can probably determine the necessary registry locations by searching the registry for the userID/password after you manually enter them.

(in reply to adamgleiss)
 
 
Post #: 4
 
 Re: Automated Login - 5/3/2005 3:33:04 AM   
  adamgleiss

 

Posts: 7
Score: 0
Joined: 5/2/2005
From:
Status: offline
Thank you for your relpy. I login to the local machine with the administrator password but when connecting to the web server I use the username assigned to me. I tried the search and it didnt find the username, maybe its encrypted? Can registry items be hidden?

(in reply to adamgleiss)
 
 
Post #: 5
 
 Re: Automated Login - 5/3/2005 6:37:27 AM   
  token

 

Posts: 1917
Score: 0
Joined: 1/14/2005
From:
Status: offline
They can't be hidden as far as I know. The password might be encrypted but the userID should be in plaintext. On a second thought, the userID/password might be stored locally. It could be merely transfer to the proxy server and that's it. Different proxy sever use different techniques to authenticate users. If you use ISA, it supports the normal methods, anonymous, Windows-integrated, or plain-text. My guess is that it defaults to windows-integrated and when the user in question (administrator) doesn't have the permission to use the proxy, IE automatically prompts for a userID and password. The only way I can think of (I'm not sure if it will work) is to create a domain account that matches the account (with the same password) you use to logon to the local machine (eg: administrator) and grant that account the permission to use the proxy.

(in reply to adamgleiss)
 
 
Post #: 6
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> WSH & Client Side VBScript >> Automated Login Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts