Sign in as different user is missing from SharePoint 2013 site

Sign in as different user is missing from SharePoint 2013 site

Surprisingly SharePoint 2013 has removed the “Signin as different user”option from the welcome menu. But you can bring back the option by customizing the Welcome.ascx which is presented in the \15\TEMPLATE\CONTROLTEMPLATES\Welcome.ascx directory

This feature allows users who have more than one AD account to quickly login with a different account to SharePoint – but it does not guarantee that no artifacts from the previous user remain!

It was removed by Microsoft because actually it has  number of issues in SharePoint 2007 and 2010. Some of the most common issues are:

•  Caching problems

•  Documents opened in external applications are saved with an unexpected user account

•  Right after user logs in with a different account, the page content shows information from the previous account and the cookies are not properly cleared

• Session variables contain information from previous users as the cookies are not cleared

In other words, this feature was never meant as a security mechanism. Therefore, even though it’s possible to bring the menu option back, you should carefully consider whether doing so is really necessary. After all, it was removed for a reason.

If we want to bring the menu option back for all users, we can modify the Welcome.ascx file in the 15-hive on each server by following  If we just want to be able to log in with a different account without this menu option, we  can use below options.

• Start Windows Internet Explorer by using the Run as different user option, and then go to the SharePoint site

• Access the SharePoint site by using the following URL:

http://<site url>/_layouts/closeConnection.aspx?loginasanotheruser=true

• Add the following element before the existing “ID_RequestAccess” element:

<SharePoint:MenuItemTemplate runat=”server” ID=”ID_LoginAsDifferentUser”


Description=”<%$Resources:wss,personalactions_loginasdifferentuserdescription%>”                  MenuGroupId=”100″   Sequence=”100″   UseShortId=”true”   />

Save the file.

• Another way is to use a runas.exe shortcut to launch browser as another user. Less convenient, but more reliable in the long run.

• Or the last way is to create a JavaScript bookmarklet using your URL plus some client object model which can be checked here:

About Krishana Kumar

Krishana Kumar is SharePoint Architect/Trainer having Architecture experience with high volumes at Enterprise level and global scale - creation of highly scalable solutions with global user base and geographically distributed architectural components. Good knowledge of SharePoint best practices and governance models. I hold Two Master degree in Computer Science with over 11 years of experience working on Microsoft Technologies specially SharePoint, Project, .NET and other Information Worker Technologies. Having good exposer in Client side scripting Angular.js, backbone and Node. I am currently responsible for SharePoint Infrastructure set up and leading teams in various medium and large scale projects, architecting, designing & installing SharePoint farms, developing custom components,, and providing advanced SharePoint administration and development training to teams and customers. I regularly speaks in various SharePoint User Groups and other Events. I have MCSA Windows Azure, MCSA Office 365, MCSE & MCSD SharePoint 2013, Microsoft Certified Developer (MCD) and holds MCPD, MCTIP and MCTS for SharePoint 2010, MCTS MOSS 2007 & WSS 3.0, MCPD, MCITP (EPM 2010 & 2007) and MCSD .NET.
This entry was posted in General Interest. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *