Tuesday, December 11, 2012

Disabling Outlook 2010’s: “The Windows Search Engine is currently disabled.” warning with Group Policy

As most VMware View administrators know, VMware’s Windows 7 Optimization Guide:

VMware-View-OptimizationGuideWindows7-EN.pdf

… suggests that the Windows Search service should be disabled and executing any of the provided scripts will do so:

image

clip_image002

What happens when this service is disabled is that Outlook 2010 begins to display the following warning window:

Microsoft Outlook 

The Windows Search Engine is currently disabled. Outlook will not be able to provide fast search results using the Instant Search functionality unless this service is running.

Do not show this message again

image

clip_image002[4]

The problem I’ve continuously encountered with VMware View environments is that users will misinterpret this message as search not being available in their Outlook mailboxes thus generating support calls to the service desk.

I searched through the available settings in the Office 2010 ADM template but was unable to find a setting that prevented this window from displaying to users but as it turns out, we can actually use the following registry key to accomplish this:

HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Outlook\Options\General

Name: PONT_STRING
Type: REG_SZ
Data: 53

image

**Note that some registries may not have the General key as shown here:

clip_image002[6]

… but you can manually create it by right clicking on the Options key then select New –> Key:

image

image

With the General key created, proceed with creating the new String Value as such:

image

Name the key as PONT_STRING and set the value to 53:

clip_image002[8]

clip_image002[10]

clip_image002[12]

With this key present, Outlook will no longer prompt you with the warning message:

image

Using Active Directory Group Policy to Create the Key

Although I prefer modifying the master image to prevent this warning from being presented to the user because I never liked having too many policies applied to users when they log in, you can’t actually modify HKCU on the master image because the key belongs to the logged on user and the only way to do that is to use a local policy so in this situation, it would make more sense so the following demonstrates how to create the GPO.

Begin by creating a new Group Policy in Group Policy Management Console and edit the policy:

image

Navigate to User Configuration –> Preferences –> Windows Settings –> Registry and create a new Registry Item:

image

Fill in the fields as follow:

Action: Create
Hive: HKEY_CURRENT_USER
Key Path: Software\Microsoft\Office\14.0\Outlook\Options\General
Value name: PONT_STRING
Value type: REG_SZ
Value data: 53

**Note that you will probably not find the key by clicking on the Key Path browse button because Office 2010 is most likely not installed so instead of browsing, copy and past the path into the Key Path field.

clip_image002[16]

image

With the policy configured, proceed with applying it to the user objects of users that you want to prevent this warning message from displaying.

4 comments:

cmaphore said...

There is a user policy which may enforce the policy, negating for a registry preference:

User Configuration -> Administrative Templates -> Microsoft Outlook 2010 -> Outlook Options -> Preferences -> Search Options

"Prevent installation prompts when Windows Desktop Search component is not present"

Anonymous said...

fantastic, I looked a while for this fix. Be aware, setting data to only 53 will reenable other warnings that previously might have been disabled. Consult this URL for a list over codes: http://www.slipstick.com/outlook/show-dialogs-dismissed-using-dont-show-dialog-setting/

DamianD said...

since im not happy with the outlook and windows search engine I'm using Lookeen. its a neat outlook plugin that is a great search help

Anonymous said...

Thanks a lot, I followed the instruction and I resolve my the issue.
Now the test is fully automated.