We help IT Professionals succeed at work.

Open Web Page Automatically with Basic Authentication

I have a computer that runs scheduled tasks all day, and the majority of those tasks are starting web pages that run reports and what not.  I recently had a request to run a specific report; however, that report is on a site that uses basica authentication.  So, when I do the scheduled task, it starts the web page, but hangs there waiting for information for the username / password.  This is a fixed IE 6.0 environment.  Anyone have any ideas on how to open a specifc web page with specific basic authentication criteria?
Watch Question

Chief Technology Ninja
Distinguished Expert 2019
Hi dzirkelb,
If you are willing to store your username and password you can enable
Internet Explorer -> Tools -> Internet Options -> Content ->Autocomplete Section -> Settings -> User Name and Passwords on Forms
Once you have checked that checked box login to the site once and save your credentials, Next time it will not ask you for the credentials. Also if it is your Intranet site you might wanna give it a shot to Integrated Windows Authentication.


The site uses basic authentication, meaning you get a pop-up to enter in your username and password.  You can check a box to save the login credentials; however, you have to click ok to actually log in, meaning I have to be physically there to click ok.  And, it uses windows authentication from our active directory already.

We have an intranet site already added to our local intranet site zone through group policy, but I do not want to add this site to all computers, just this auto PC.  When I go to add the site manually in the intranet sites, it says it is already active in a zone somewhere, but I do not see it anywhere.

I did just find a solution.  For IE 6.0, you can add iexplore.exe DWORD values in the following reg key:

For all users of the program, set the value in the following registry key:
HKEY_LOCAL_MACHINE\Software\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_HTTP_USERNAME_PASSWORD_DISABLE

then, for my site, I use https://username:password@website.com

and it works like a charm, thanks!

Chinmay PatelChief Technology Ninja
Distinguished Expert 2019

Thanks. This is something new I learnt today :)