Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have configure IIS on my laptop and after that i have started the default site and if i want to open localhost on my browser it ask me for username and password but i had no provide any username and password at the configure time so what is default username and password for localhost?

share|improve this question

migrated from Apr 3 '11 at 21:52

This question came from our site for professional and enthusiast programmers.

up vote 2 down vote accepted

IIS doesn't store usernames or passwords. The username or password you're seeing is probably a Windows Authentication prompt - enter your windows login.

If you use a browser like Internet Explorer, it may log in automatically for you (popular in intranet environments).

share|improve this answer

your iis website should be configured to use windows authentication. and if its asking for username and password, means that your current logged in user has not sufficient privileges to access that website.

trying your pc administrator account may solve this problem. also you can find windows authentication in web.config or machine.config file.

share|improve this answer
Where in the machine.config file are the usernames and passwords? Also would those allow me to remotely connect to the computer to edit files? – William Apr 3 '11 at 21:59
Lime - Usernames and passwords are not stored there. The authentication is Windows-based, so you need to be using valid Windows credentials with sufficient rights. – Chris Thorpe Apr 3 '11 at 22:37

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.