This issue occurs when you use roaming user profiles and move between different computers.
Note The Document mode, Browser profile, and User agent string option are under the Emulation tab in F12 developer tools in Internet Explorer 11.
To resolve this issue, install the most recent cumulative security update for Internet Explorer. To do this, go to Microsoft Update. Additionally, see the technical information about the most recent cumulative security update for Internet Explorer.
Note This update was first included in the May 2015 cumulative security update for Internet Explorer (MS15-043).
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
See the terminology that Microsoft uses to describe software updates.