Saturday, February 06, 2016

Tips to Avoid Login Prompts in SharePoint

Posted in SharePoint, Technical, Business User By Doug Allen @ 2/22/2012

imageOne of the most common issues I hear when implementing SharePoint for new clients, or supporting an existing SharePoint environment is the dreaded login prompt.  There are multiple reasons for the password prompt, but I'll try and cover the basics here.  Personally, I haven’t had to login to our internal company SharePoint in at least 6 or 8 months!  How can you achieve this SharePoint nirvana?  Let’s walk through the common steps to avoid having to login to SharePoint, whether opening the site or when opening documents.  Here’s a quick rundown.

  1. 1.  Internet Explorer Security Zone
  2. 2.  Windows Credential Store
  3. 3.  Prompts When Opening Documents

Internet Explorer Security Zone

Generally, one of the first things you need to do is add the SharePoint site URL or domain to a more trusted security zone in your web browser (we’ll focus on IE for this post).  SharePoint uses activex controls and other features that need to be trusted to run correctly.  Here’s what you need to do. 

  1. Open Internet Explorer, and click Tools –> Internet Options.  This will vary depending on your version of IE.  In IE9, click the gear icon in the top right corner, then click Internet Options.
  2. Click the Security tab, then highlight the zone Local Intranet, then click the Sites button. 
  3. Ensure “Automatically detect intranet network” is checked.  Enter the URL of the SharePoint site.  What I suggest here is to use a wildcard entry, to ensure it covers as much as possible.  So you could enter, or what I recommend is *
  4. Click Ok on all the windows, and close the browser.  Go to SharePoint, and you will likely get prompted.  On this prompt (as seen above), click the checkbox “Remember my credentials”.

Windows Credential Store

This is typically needed when your SharePoint server isn’t in your local network environment.  Whether you knew it or not, Windows XP or Windows 7 (who uses Vista anyway) has what is called a “credential store” or vault.  It stores usernames and passwords used to connect to websites and other network computers, and online services like Live ID or Exchange.  A credential should get stored here from the above prompt when you click “Remember my credentials”. 

  1. To access the credential store, you can try this shortcut by typing the following in the Start -> Run command: “control keymgr.dll”.  If this doesn’t work, you can get there by going to Start –> Control Panel, then picking Credential Manager in the large icons view. 
  2. Under the Windows Credentials heading, look for an entry for the SharePoint URL.  If you don’t find one, enter a new one by clicking Add a New Windows Credential.
  3. Enter the information as it requests.  You can enter the direct URL as in the IE security zone, or you can also use wildcards like *  Enter your username and password just as if you were logging into SharePoint.
  4. Close IE if you had it open, then try SharePoint again.  You should not get prompted.

Getting Prompted When Opening Documents

Another common problem with SharePoint is you get prompted for login credentials when opening or editing documents from a library.  At least with Windows Vista and Windows 7, this is a known issue and lucky for us, there’s a hotfix!  See the following Microsoft KB article:

Prompt for Credentials When Accessing FQDN Sites From a Windows Vista or Windows 7 Computer

Some items of note:

  • If you have Windows Vista, you need to download and install the hotfix file, and apply the registry setting. 
  • If you have Windows 7, it already has the hotfix included, and you just need to complete the registry setting. 
  • If you are the IT admin, I would recommend creating this on your machine, and saving the key to a .reg file you can send to users, or set in your desktop image.

You will follow the steps 1-7 near the bottom of the article.  As in the above steps, you can use the wildcard like * for the entry.  Close the registry editor, and enjoy opening documents free from login prompts! 

While we’re here, I have to share one other thing that I see all the time that I haven’t seen documented. 

Problem with Explorer View Being Slow

I fought this for a long time.  Every time I would try to use Explorer View, it would work, but it would a LONG time to come up, like 30 seconds.  My coworker could open Explorer View and it would open in about 1 second.  The fix turned out to be the fix I’ve seen for other weird strange issues with SharePoint.  Here’s how to fix it.

  1. Open Internet Explorer, and click Tools –> Internet Options. This will vary depending on your version of IE. In IE9, click the gear icon in the top right corner, then click Internet Options.
  2. Click the Connections tab, then click the LAN Connections button at the bottom of the window.
  3. Check the state of the first checkbox “Automatically detect settings”.  This will likely be checked.  Uncheck it!
  4. Click ok until all windows are closed, and close IE.  Open SharePoint, and try to open a library in Explorer View.  It’s magic!
, , , ,


Got something to say? Join the discussion »
    Posted by mdininio on 2/5/2016
    Thank you. Removing a previous user form the Windows Credential Store worked for me. Thanks C5!
    Posted by Doug Allen on 12/14/2015

    That's a common issue and can be easy to miss. On the SharePoint server itself, the first thing to check is ensure those URLs are in your local intranet IE security zone, set to autologin. If it still doesn't work, this is a known authentication config you can set via a registry key and resolve the issue. This is the main KB from MS on this issue:

    If you want a far more technical explanation of how to correct it, read Spence's post:

    Regardless, you can use either method in the KB, but the recommendation for production is not to disable it entirely (which is method #2), but rather list the URLs to be allowed (method #1 in the KB). Here's a walkthrough with screenshots if you like:

    This should take care of your issue. That would be my best guess anyway. Hope it helps!
    Posted by Slady on 12/14/2015

    i installed sp 2013 Foundation on a Win 2012 R2 server standard.
    I also created 2 aliases 'sp' and 'sharepoint' and registered them in DNS and Sp SP central administration.
    My Sharepoint start page (intranet) is available from client PCs and terminal server but not direct from the sharepoint server using IE 11.
    It kepps asking for credentials and after 3 unsuccessful logins IE shows a blank site without any error description.
    Do You have any advice for me how to fix it up?
    Many thanx in advance, from germany.

    Posted by shp_user_42 on 7/26/2015
    This helped me so much! Thanks!
    Posted by iGregor on 1/27/2014
    Trackback from iGregor

    SharePoint Prompt for Login ...
    Posted by Doug Allen on 12/17/2013

    There could be policies and such involved at the office vs. your home. What browsers are you using in both places with versions? What OS are you running in both places? At work is anyone able to bypass prompts?

    Posted by blithe32 on 12/17/2013
    I have a SharePoint site and it prompts for my credentials when I'm in the office. But if I'm working from home I can get through the site without having to my enter username and password.

    Can you please help me understand?

    Thank you.
    Posted by SPAdam on 7/30/2013
    Its a known issue and there could be multiple causes for SharePoint Keeps Asking for Password Every time. As stated, Try adding your site to "Trusted Sites" list in Internet Explorer as the first step.

    Find other possible workaround to fix this issue at:
    Posted by Charles on 4/20/2013

    I tried your solution for avoiding windows prompt with explorer view (SharePoint in another domain than client machine case) but I can't get of the authentication windows... I tried everything, I double check everything...

    Do you have anything that could help me ?
    Posted by Anderson on 2/5/2013
    Here we have just to add permissions to user to restore previous versions of files.

leave a reply

 [Quick Submit with Ctrl+Enter]

Remember my details
Notify me of followup comments via e-mail


About C5 Insight

We are a Microsoft Gold Certified partner focusing on SharePoint, Microsoft Dynamics CRM and  Learn more about us by visiting our website.

We Wrote the Bible on Microsoft SharePoint and Dynamics CRMBook-Microsoft Dynamics CRM 2011 and SharePoint 2010 Bible

Upcoming Events

Comparing Salesforce and Dynamics CRM for Sales

02/10/16 @ 2:00 PM ET "Our CRM is so good that our sales team members WANT to use it," said no sales manager ever. Are yo... ...

The Evolution of the Intranet: Creating a Culture of Collaboration

02/18/16 @ 3:00 PM ET This webcast will be broadcast LIVE from Transitioning Your Intranet to a Digital Workplace - See mo......

Deminar: Microsoft Social Engagement for Marketing, Sales, Service and Research

02/24/16 @ 2:00 PM ET In this deminar (that's demo + seminar) session, we will take a look at the Microsoft Social Engagem......

Top Downloads

SharePoint 2013 Feedback Solution - collect feedback from users into a custom feedback list that captures their feedback and exactly where they were in SharePoint when they provided it.

Why CRM Fails - research into CRM failure, best practices, and how to recover from a failing project.

The 60 Second Collaboration Readiness Self-Evaluation - is your team really ready to collaborate?  If they're not, software isn't going to help.  Take the quick self-evaluation in each department to understand how well your culture collaborates.

Identify Your Support Gaps - collaboration and CRM projects often fall short when it comes to supporting users, because support for these projects is different from other projects.  



The information herein may be used solely at your own risk.  No warranty is made by the author or by C5 Insight, Inc.

The opinions expressed herein are those of the individual authors and do not necessarily represent C5 Insight, Inc in any way.

Copyright 2011-2013 by C5 Insight