Anything for sysadmins!


Suppress AutoDiscover dialog in Outlook 2010

When Outlook loses connection, or when using Outlook Anywhere you'll probably see the following dialog box:

Of course you could select the "Don't ask me about this website again" box, but that's only a local override. What you can do, is suppress the window completely by making a registry edit. You'll have to navigate to the HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Outlook\AutoDiscover\RedirectServers key and add your server names as REG_SZ (String Value) leaving the data field empty. You can add as many servers as needed.


Search in Microsoft Office Outlook 2010 doesn’t return any results

I recently had a problem with Outlook 2010 which didn't return any results when performing a search. Since all search functions in Office 2010 are using the Windows Search Indexer, this had to be the problem.

If you go to Control Panel -> Indexing Options and press the Advanced button you'll see a button Rebuild. When you press this button the current index database will be deleted and Windows Search Indexer will rebuild the index. This will most probably solve the problem with the Outlook 2010 search.

I've also seen some computers that are indexing for days, but never complete the indexing action. This can cause the computer to become really slow and might even take 100% of the CPU. Rebuilding the index might help in situations where the Windows Search Indexer is causing the 100% CPU.


Microsoft Office 2010 customization tool

To create a patch file (.MSP) for Office 2010 you have to run the following command:

setup.exe /admin

After running this command a window will be presented where you can select which product of your Office 2010 deployment you want to customize (only if you have Visio, Project or other installation sources combined).

After making the selection you'll be asked if you want to use a different default file type. Some companies use Open XML or OpenDocument formats to be able to use the documents with other software like OpenOffice.

After selecting the file type you'll see the deployment settings window. Here you can customize the settings for your Office 2010 product deployment.

Afterwards you'll have to store the .msp file by selecting the Save or Save As option in the File menu.

To use the .msp file during the installation you'll have to specify it in the command line. The following command will start the setup with a .msp file that is located in the same folder as setup.exe.

Setup.exe /adminfile "office-install.msp"

You can also use the .msp files to remove a portion of the Office 2010 installation, then you'll have to sequence the uninstall after the complete install. This way you can automate the exceptions in a corporate environment as well.