How do i prevent the outlook logout from redirecting to msn?

Anonymous
2013-06-29T05:05:34+00:00

At some point signing out of Outlook started redirecting to MSN. This is really frustrating - especially when accidently clicking anywhere on the screen that is NOT the login field causes the login form to disappear.

How do I disable this redirect? I would like to see the outlook login page when I sign out - not the MSN news page.

Outlook | Web | Outlook.com | Settings

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

116 answers

Sort by: Oldest
  1. Anonymous
    2016-11-25T07:52:49+00:00

    Hey fellow sufferees,

    so this issue is seriously annoying and the fact that (as pointed out somewhere in this Thread) the dnsapi.dll actually contains a "msn.com" entry somewhere is just unbeleivable. Its a mystery how they had to remove their own products from windows a few years ago but do not need to remove that msn.com exception from an API (Aplication Programming Interface).

    Well for those of you who have some extension on their browser which just injects JavaScript to pages (instead of getting a full blown redirection plugin) here is another really short solution. It is derived from some 'insider' who replied earlier with a link that logs you out and redirects to the login page (thx to you):

    $('a[aria-label="Sign out"]').attr('href', 'https://login.live.com/logout.srf?ru=##encoded-url##').click(function() {});

    The above will find the logout button on outlook.com and insert a link to the logout web site with the redirect url option set to ##encoded-url##. So you can use the provided logout function and still  wont end up on that cancerous crime of a web page (Of course the ##encoded-url## will need to be replaced!!!).

    DOES NOT WORK, the menu containing the logout button is created each time the menu is opened, so the above would only work with an open menu!

    THIS WORKS in outlook.live.com at least:

    window.replaceRedirect = function() {

        $('a[aria-label="Sign out"]').attr('href', 'https://login.live.com/logout.srf?ru=##encoded-url##')[0].onclick = function() {};

    };

    $('button.o365cs-me-nav-item').click(function() { setTimeout(window.replaceRedirect, 500); });

    A little explaining (i feel like ppl are just throwing plugins in each other faces in here and do not in the slightest try to clear things up for noobish users): 

    The "https://login.live.com/logout.srf?ru=" is the actual logout. It will call the logout service of "Windows live" and provide the redirect URL (ru -> Redirect Url) to the service as well. Normally the service is called with the msn.com or no Redirect URL and therefore redirects to msn.com.

    Step by Step:

    However you access the Microsoft product (mail, account... whatever), just before you type in your name in the user box, copy the complete path in the AddressBar of your browser (it will show only login.live.com/login.srf, but if you click the address bar a complete path should be presented, that's the one you should copy).

    Then go to "http://urlencode.org/" and paste that copied address in there and hit the "encode button" (this will convert all characters on the given text into representations of those characters so the service won't  try to actually parse them, for example the colon sign must be encoded so that it won't be "translated into a command" [the easiest way i can put it]).

    Then take the result and paste it behind https://login.live.com/logout.srf?ru=

    The result would be https://login.live.com/logout.srf?ru=##pasted-text## where ##pasted-text## obviously is replaced with the text you pasted. This address can then be used as a mean to log out of the microsoft service you logged in to.

    (side note: You somehow cannot remove the ID= part from the url, it will then always redirect to the msn.com page)

    Of course you can also just use the above created URL and make a bookmark on your browser, if you do not have a possibility for javaScript injection.

    (JavaScript injection is nothing to be concerned about here, the above code only affects the html element itself and JavaScript is executed on the client (your own PC) Browser only, so you cannot do anything wrong with that and it will not harm your PC in any way (it wouldnt even be possible).

    I hope these instructions are clear for everyone.

    PS: do not bother to ask me which java script injection i use or what's it called or whatever, if you dont know how to find it yourself, you're probably better off using a bookmark anyways.

    PSS: The actual redirection does not seem to be done by the logout service, only if the presented ru is a login.live url. Otherwise the service will just redirect to: https://login.live.com/gls.srf?**urlID=msnhome**&lc=1033 (marked the part redirecting to the MSN Home Page bold)

    PSSS: FFS it's unbeleivably difficult to edit texts in here, one doesn't even notice that the text is not updated after submitting the 1st edit, so the 2nd edit reverts it all!

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2016-11-25T14:52:18+00:00

    I can't believe this has been ongoing for over a year now and I still keep getting notifications about someone replying here..

    I think the link came from me, let me repost it once more:

    https://login.live.com/logout.srf?id=64855&ru=https%3a%2f%2flogin.live.com%2flogin.srf%3fwa%3dwsignin1.0%26ct%3d1358241172%26rver%3d6.1.6206.0%26sa%3d1%26ntprob%3d-1%26wp%3dMBI_SSL_SHARED%26wreply%3dhttps%3a%252F%252Fmail.live.com

    So for those who are still complaining, this is a EASY-TO-USE workaround so that you'll always be redirected to the login page once signing out. Here's some tutorials on how to bookmark this link for browsers.. hopefully this will close this thread.

    Internet Explorer

    1. Open the Run window, by Right Clicking on the Start button, and selecting "Run" (Windows 8 & above), or holding down Windows Key+R.

    2. Type: %userprofile%\Favorites

    3. Right click on any empty space, select "New" > "Shortcut"

    4. Copy the logout URL on the textbox, and click Next.

    5. Give any name to your bookmark, I name it "Outlook Mail".

    6. Done - Check the IE bookmarks area and simply click on it to instantly logout then get to the login screen.

    Firefox:

    1. On the login link that I provided, simply Right Click on it and select "Bookmark this Link".

    2. Rename the link to anything you want, then change the bookmark folder to an easily accessible area, like the Bookmarks Toolbar

    3. Done - the bookmark should be set.

    Chrome :

    1. Hold the CTRL+SHIFT+ O keys to open the Bookmarks Manager. Alternatively, you can just type in the address bar : chrome://bookmarks.

    2. Right click on any of the white space, and select "Add Page...".

    3. Type in any name you prefer, and copy the URL on the next textbox.

    4. Done - should be bookmarked. If you want to see it immediately, hold down CTRL+SHIFT+B to make the Bookmarks Toolbar visible.

    No need for any add-ons for your browsers. Just bookmark the link, and be on your way to logging in multiple email accounts. **This is a workaround, not a fix. It's highly unlikely Microsoft will do something about this.**So simply use the bookmark and be on your way.

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  3. Anonymous
    2016-11-28T00:25:33+00:00

    Thanks for the help, though you're acting a little dismissive of people's concerns, and just because you're providing a workaround doesn't mean it needs to be peppered with condescension.

    "Complaining" isn't an inherently negative thing - it is not so much the difficulty of a workaround that concerns people, it's the principle that Microsoft has a failure to acknowledge feedback like this and a failure to change to meet the needs of it's customers. A workaround does not invalidate these concerns.

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2016-11-28T03:57:52+00:00

    Thannks a lot for your help, but a workaround is not the actual concern it is just a way to avoid the unwanted thing; I'm not having the expected result on Chromiun under Ubuntu it dosn't show the login page.

    Was this answer helpful?

    0 comments No comments
  5. Anonymous
    2017-02-12T13:37:59+00:00

    It has been more than 3 years!!!! now. And you said the problem would be fixed, which is NOT!

    It still redirect after logout from outlook.com.

    Why do you say something which is not true?

    Was this answer helpful?

    0 comments No comments