Force Outlook 2010 to ask for credentials via group policy?

4

1

Setting: Exchange 2010 backend and the clients are on Outlook 2010

Goal: Force Outlook 2010 to always prompt for logon credentials via group policy, login script, etc.

What I know so far I know that Outlook has this functionality (can be found in More settings, Security tab) via a checkbox that says "Always prompt for logon credentials." The idea is that I want to have that be checked on every machine for every user, every time. I have run Process Monitor and looked at all the registry keys that Outlook accesses when making the checkbox change, but it seems like its a per user basis (not scriptable)

Hopes and dreams That someone has narrowed down a specific reg entry that can be modified to always prompt, or that someone has already written a script that forces that checkbox to autocheck itself.

user76211

Posted 2012-07-03T17:40:23.993

Reputation:

Answers

2

The value you want is PromptForCredentials, and it is seemingly stored in HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Outlook\Security, according to this forum post.

However, this Microsoft KB article and another answer in the above forum post suggest it should be in HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\14.0\Outlook\Security. (Note the addition of the Policies key under Software.) So you may have to test both keys to find out which one it really is.

Regardless, since you want to always prompt for credentials, you would set PromptForCredentials to one (1).

Patrick Seymour

Posted 2012-07-03T17:40:23.993

Reputation: 7 662

Setting the DWORD inside the key KEY_CURRENT_USER\Software\Policies\Microsoft\Office\14.0\Outlook\Security (with Policies) has the desired effect. The other key doesn't. – Der Hochstapler – 2012-07-15T13:41:19.270

1

To force Outlook to login once, which is what I needed:

Go to Start -> Control Panel-> Credentials manager -> Generic Credentials-> There will be few entries, select each and select option 'Remove from Vault'.

Credential Manager

Restart your PC. Start Outlook and you will be prompted for your credentials.

Dean

Posted 2012-07-03T17:40:23.993

Reputation: 153

0

I believe this can be set for one account on the Exchange server itself via the Security option of "Always prompt for username and password".

If this works, you can then look for a way of setting this for all users on the server (I don't have an Exchange server to play with).

harrymc

Posted 2012-07-03T17:40:23.993

Reputation: 306 093

0

  1. Download the Office 2010 Administrative Template files.

  2. Unpack them by running the appropriate installer. This will place 3 folders in the selected target location (ADM, ADMX and Admin).

  3. Copy the contents of the ADMX folder to %WINDIR%\PolicyDefinitions.

  4. Open the Group Policy Editor, you will now find new Administrative Templates at your disposal:

    enter image description here

  5. Amongst other useful policy templates, you'll also find: enter image description here
    enter image description here

I'm not sure if either of these correlates to the setting you have in mind, but I believe the templates are always a good start :)

Der Hochstapler

Posted 2012-07-03T17:40:23.993

Reputation: 77 228

I generally agree that the GPO templates are the way to go. However, I searched the Excel spreadsheet that comes with the Office 2010 Administrative Templates. I did not find an entry for PromptForCredentials. – Patrick Seymour – 2012-07-15T13:21:56.860

@PatrickS.: You're right, I verified your answer and from what it seems, none of the templates sets PromptForCredentials, so they will not be useful in this case. I still consider the templates a useful piece of information in this context and, thus, would like to keep the answer. – Der Hochstapler – 2012-07-15T13:43:27.210

No argument from me. I try to use GPO templates first. Much easier for other admins to see what you've done and change if needed. – Patrick Seymour – 2012-07-15T14:35:47.113