• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 130
  • Last Modified:

Windows 10 not saving two sets of credentials

We are running a Windows 2012 R2 Server with Exchange 2013 installed.   I have one user who has two exchange accounts.  I have set them up separately in Outlook 2016 and Outlook 2010 running on Windows 10 and it will only retain one of the email accounts credentials.   Once you put the other credentials in and and click remember, it overwrites the other account and will not retain both.  Does anyone know of a solution for this?
0
Izitrong
Asked:
Izitrong
  • 21
  • 7
  • 6
  • +6
1 Solution
 
QlemoBatchelor, Developer and EE Topic AdvisorCommented:
You cannot really run two Outlook releases on one machine. One reason is that they share the same credential store (and a lot more), without any way to differ between Outlook/Office releases.
You can set up more than one Exchange account in Outlook 2010 and above, though.
1
 
JohnBusiness Consultant (Owner)Commented:
Agree. Two Outlook's is a NO-NO. Get rid of one fully, restart and test Credentials again. They will now likely work.
0
 
Mitul PrajapatiJunior IT EngineerCommented:
In Microsoft Outlook 2016, the default is 10 accounts and the maximum allowed is 9999 accounts.

Check the registry value;

HKEY_CURRENT_USER\Software\Policies\Microsoft\Exchange
DWORD: MaxNumExchange

Outlook 2016 values: a decimal value between 1 and 9999
0
IT Degree with Certifications Included

Aspire to become a network administrator, network security analyst, or computer and information systems manager? Make the most of your experience as an IT professional by earning your B.S. in Network Operations and Security.

 
IzitrongAuthor Commented:
They both were working fine until I solved the Autodiscover issue.  Then all this started.
0
 
IzitrongAuthor Commented:
I have removed both accounts and and tried to set them up again, that did not work, still the same issue.  I have also removed the profile and set p a new one to no avail.
0
 
JohnBusiness Consultant (Owner)Commented:
Did you also remove Outlook 2010?
0
 
IzitrongAuthor Commented:
Yes, the entire hard drive was wiped and it is a complete reinstall of the new software
0
 
JohnBusiness Consultant (Owner)Commented:
I am not sure, then, why the Server would save two sets of credentials. Maybe try running DISM.

Open cmd.exe with Run as Administrator and run dism.exe /online /cleanup-image /restorehealth  See if you can restart the server when DISM completes.
0
 
IzitrongAuthor Commented:
This is on more then one computer running Windows 10.   Bottom line it is our President of the company.  He has 3 locations he works out of and all three computers have the same issue.  It leads me  to believe that it is something on the Exchange or server end.   Super weird.
0
 
IzitrongAuthor Commented:
I am not running two version of outlook, only running one version, 2016 on a Windows 10 operating system with two exchange email addresses.  A different computer is running Outlook 2010 running Windows 10 Operating system with the same problem.  Windows credential manager will only hold one set of credentials for mail.company.com.  Once I add the other credential, it just overwrites the existing credential.
0
 
JohnBusiness Consultant (Owner)Commented:
If it has the same username (and password) then I think what you get is normal
0
 
IzitrongAuthor Commented:
no, different user name
0
 
QlemoBatchelor, Developer and EE Topic AdvisorCommented:
I still don't get what you mean. If the Exchange accounts are different, you can use different credentials for each, despite it's the same Exchange server they are on.
0
 
IzitrongAuthor Commented:
I understand what you are saying, however, in Windows 10 under Windows Credential Manager, this is where the credentials are held.  It will only hold one credential for mail.company.com site,   When I add the other account, all it does it overwrite the existing credential for the mail.company.com.   It will not hold two credentials for the same site.
0
 
QlemoBatchelor, Developer and EE Topic AdvisorCommented:
Yes, you can only enter one user per web site. Are you using Exchange Online?
0
 
IzitrongAuthor Commented:
No, it is on our local server
0
 
QlemoBatchelor, Developer and EE Topic AdvisorCommented:
Then credentials are stored in the email profile, nowhere else. No credential store concerned.
0
 
IzitrongAuthor Commented:
Ok, so If the Credential Manager only allows for One user name per site, is their a logical work around?
0
 
JohnBusiness Consultant (Owner)Commented:
Yes, so far as I know, that is how it works (and for me as well).
0
 
IzitrongAuthor Commented:
So there is no workaround that you are aware of?
0
 
JohnBusiness Consultant (Owner)Commented:
Not so far as I know given your posts here.
0
 
IzitrongAuthor Commented:
I appreciate that, Thank you!
0
 
Fred MarshallPrincipalCommented:
There is *much* more to this than I likely know about.
But, just in case this may apply to you, I'll suggest some things that apply to a simpler situation using Windows Credentials stored on the workstation.
You can only save one set of credentials for a "server" on a Workstation.
Open Manage Windows Credentials and try setting some up - you'll see.

But:
Let's say we have a file server SERVER at 10.10.10.10 with two folders:  c:\Joe and c:\sam
(There is name service available on the network).
Folders Joe and Sam have different sharing and security permissions.  
Joe uses User1/pw1   Sam uses User2/pw2

I have a workstation that I want to access *both* folders with saved credentials.
I access \\10.10.10.10 with credentials User1/pw1 in order to access C:\Joe.  These credentials are saved locally.
I access \\SERVER with credentials User2/pw2 ini order to access C:\Sam.  These credentials are saved locally.
This works, it appears, because \\10.10.10.10 and \\SERVER are "different" and credentials can be saved separately.
0
 
btanExec ConsultantCommented:
probably not the key issue since the discussion has gone further but just share - Please note that even if you follow these recommendations, you might still run into issues when you use two versions of Office on the same PC
  • In most cases you can't run Office 2016 and Office 2010 on the same computer. The exception to this is if Office was installed using an MSI. That is,  you can't have Office 2010 and Office 2016 applications installed using Click-to-Run on the same computer.
  • Installed KB 2553378 and KB 2760631. These updates Office 2010 made it work better together in side-by-side installations with later version of Office.
  • We do not support the use of multiple versions of Office on versions of Windows that have Remote Desktop Services (RDS) enabled. See No support for multiple Office versions installed on a machine with Terminal Services.
  • Install earlier versions of Office first. For example, install Office 2010 before installing Office 2016 (or Office 2013).
  • Make sure all versions of Office are either 32-bit or 64-bit. You can’t have a mix of both.
https://social.technet.microsoft.com/Forums/office/en-US/89774f42-22c2-4bd5-a637-c1539b41bd40/running-outlook-2010-and-2016-concurrently?forum=officesetupdeployprevious
0
 
Davis McCarnOwnerCommented:
The workaround is to use the Mail control panel applet and create a new profile with the second account.  Set it to prompt for which profile to use, too.  You may need to close Outlook to switch profiles; but, it should work.
0
 
McKnifeCommented:
Tell me, why would you not simply do this:
Give user 1 full access to the mailbox (including send as permissions), open outlook as user1, map the 2nd user's mailbox to the folder tree of the first user and that's that. Why (on earth) run two instances of outlook?
0
 
IzitrongAuthor Commented:
We are not running two instances of Outlook.  All we are doing is having two email accounts set up in one instance of outlook.  Your idea is not bad though.
0
 
Fred MarshallPrincipalCommented:
If I'm not mistaken, this is entirely an issue at the workstations.  Is that right?

Re: the advice provided earlier about running two versions of Office, I would not do that.  It has been suggested otherwise that it doesn't work.  I made the mistake of trying once.  That was enough to dissuade me from further attempts.  Up to you.

But, if you aren't running two instances of Outlook then you can't be running more than one version of Office (on the same workstation).  Is that right?

As far as I know, you should be able to have many email accounts set up in one Outlook instance / profile; each account with their own respective credentials for email.
But maybe the Exchange server setup affects how that works.  It seems it would be too bad if that were the case.  Hard to imagine.
0
 
IzitrongAuthor Commented:
It really has to do with Windows 10 and the storing of Credentials.  Dont get me wrong, it works, you just have to supply the password everytime for one account.   This all started after I resolved the Autodiscover on the server.  That is configured correctly, so it drops back to the workstation and the credentials.
0
 
JohnBusiness Consultant (Owner)Commented:
I am not sure it is a Windows 10 issue. I have multiple credentials stored on my Windows 10 machine. None however with the same email domain name. The issue may be there.
0
 
Steve KnightIT ConsultancyCommented:
Couple of ideas here for you... are those credentials on the same domain as yours or stored credentials for another domain, i.e. is the logged in user the right credentials for one of the email account anyway?

Does it work if you run-as Outlook using different credentials, that would then run as a different profile effectively and therefore the credentials and access for that user - hold down shift and right click outlook icon and run as different user for testing.

Also forgetting autodiscover for a minute, set it up manually to point to your exchange server and with user details in etc. but use an alias for the servername that it can resolve - either in his HOSTS table pointing "mail1" say to the IP of the server - or in your DNS pointing mail1.domain.com mail2.domain.com etc. to the server or perhaps just the IP address.

Going to get messy then if you are accessing from the internet with activsync too unless you have a wildcard certificate for domain.com.
0
 
IzitrongAuthor Commented:
This is outlook 2016, you cannot set up the email account manually as you can in the older versions.  However, I have tried that on a Windows 10 machine running outlook 2010 and I have the same problem.
0
 
Steve KnightIT ConsultancyCommented:
True, I'd missed that, I saw the comments about 2010.... so it is really only down to credential manager then, in which case this seems to work for me with a quick test... created a shortcut as this

runas /user:domain\theotheruser /savecred "C:\Program Files\Microsoft Office 15\root\office15\outlook.exe"

then Outlook will start with a new profile within a new windows profile for the 'other' user, and therefore assuming the credentials will be stored in that profile along with the Outlook profile.

I haven't followed that through to credential manager yet without setting up some test accounts but if you already have outlook open it's going to be another copy of Outlook on the same account that opens.

Steve
0
 
Fred MarshallPrincipalCommented:
I know of no impediment to setting up an email account manually in Outlook 2016.  I just tried it to make sure and it's just a tiny bit trickier than before.  But it's not that difficult.  Use "Manual or Additional Server Types" and go from there according to the type that's needed.  Will that work for you?
0
 
IzitrongAuthor Commented:
That is still gonna use autodiscovery
0
 
Fred MarshallPrincipalCommented:
I'm not sure that it MUST use autodiscovery - maybe.  I understand that you're using Outlook 2016 and that may mean that you may also be using Office 365 in that same context.  But do you HAVE TO choose "Office 365 automatic setup" or can you perhaps use one of the other choices?
0
 
IzitrongAuthor Commented:
Outlook 2016 only uses autodiscover to make a secure connection to the server.
0
 
Davis McCarnOwnerCommented:
As I already said, what you need to do is to create a second Outlook PROFILE with the second email account.  Set the profile preference to prompt for the profile and you'll be able to choose which profile/account runs each time you start Outlook.
0
 
Steve KnightIT ConsultancyCommented:
Davis - the problem isn't the profile, it is that the user/password details are for the same server and Windows only has the concept of one saved password for that site for the Windows login, that was why I suggested doing run-as on Outlook.

Stepping back for a minute, as these all on the same exchange server, is there any reason he can't just have delegated rights to the 'other' mailboxes to see, send from etc. from his main mailbox?!

Steve
1
 
Fred MarshallPrincipalCommented:
Perhaps this has been established here.  But I'm not so sure.  It could "integrate" the discussion if we knew for sure:

Are we talking (at all) about what appears in Manage Windows Credentials on the worstations?  Yes or no?
A screen shot of that dialog window pointing to the email credentials would surely confirm, eh?

Izitrong (author) says:
Windows credential manager will only hold one set of credentials for mail.company.com.
Yet, I have never seen an email account causing credential storage here.

Qlemo says:
Then credentials are stored in the email profile, nowhere else. No credential store concerned.

That *I* may be concerned isn't the issue.  That others may be confused by all this would be.  

Perhaps someone could explain how this works or does not work as I am not the expert on locally-hosted server-based email using Outlook 2016.  What email setup situation causes there to be *any* credentials in the Manage Windows Credentials store?
0
 
IzitrongAuthor Commented:
Screen shot of Credentials Manager
0
 
Fred MarshallPrincipalCommented:
So this looks like a login to a server which happens to have "mail" in it's URL.
I don't know (I really don't) how this gets on this list.
Was it manually entered or was it automagically entered?  I understand NOT manual, right?

If this is necessary, then as before, there can be but one entry here.

Can this configuration be confirmed by anyone who's using the same setup?
0
 
IzitrongAuthor Commented:
This is an entry made by windows when I check the box to remember user.  There is no manual entry.
0
 
Steve KnightIT ConsultancyCommented:
So I stick by existing suggestions... Can I ask why (if) #2 has been ruled out for some reason?

1. Something to clear the credentials each time and then would be prompted on each Outlook start
2. Use delegated access, i.e. in this case give HBM full access to the other mailboxes then they just appear in Outlook...
3. Use different windows profiles (with runas or switch user) to have different credentials stored for the same host.

Steve
0
 
IzitrongAuthor Commented:
I will try #2 and see if that is acceptable to him.  I will report back on Monday!  The different profile thing will just drive him crazy, he like to see both email on the screen.
0
 
Steve KnightIT ConsultancyCommented:
It is certainly how most people do it with different accounts on the same domain that I deal with for on premises and cloud accounts  ... all very easy, you just turn on "From" button and have a drop down including your different accounts and choose the one to reply from in a particular message and the delegated accounts automagically show up in Outlook and your various calendars combined etc.
0
 
McKnifeCommented:
Yes, same as I suggested. Just configure both accounts usable at the same time in outlook - very easy and no problems to be expected.
0
 
IzitrongAuthor Commented:
Yes the Delegation worked perfectly, Thank you all for your input!
0
 
Steve KnightIT ConsultancyCommented:
Good, don't forget to select answer(s)

Steve
0
 
IzitrongAuthor Commented:
Thank you all for your help!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Managing Security & Risk at the Speed of Business

Gartner Research VP, Neil McDonald & AlgoSec CTO, Prof. Avishai Wool, discuss the business-driven approach to automated security policy management, its benefits and how to align security policy management with business processes to address today's security challenges.

  • 21
  • 7
  • 6
  • +6
Tackle projects and never again get stuck behind a technical roadblock.
Join Now