Set Default Outlook Address Book via Script

The default Outlook Address Book is saved in the Windows registry. I've created this script to be used to push down a new Address Book view at logon for a large group of users. The script will read the current default Outlook profile for the currently logged on user, then push down the address book view you specify.

To configure the script:

  1. Set your Outlook Address Book to the view you want to set on the remote workstation. (Tools - Address Book - Tools - Options - Set show this address list first).
  2. Export the registry key for this Outlook profile.
     
    [HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\(your default Outlook profile)\9207f3e0a3b11019908b08002b2a56c2]
  3. Open the .REG file and copy the HEX code for "01023d06". For example:
     00,00,00,00,dc,a7,40,c8,c0,42,10,1a,b4,b9,08,00,2b,2f,e1,82,01
  4. Edit the Set-DefaultABView.VBS file (see attached) line to use your hex code. Make sure to leave in the double-quotes.
     Const DestABUsers =  "00,00,00,00,dc,a7,40,c8,c0,42,10,1a,b4,b9,08,00,2b,2f,e1,82,01"
  5. Save, and test drive.

Now, you can push it out as part of your logon scripts?? or add it to the RunOnce settings on your Windows image.

:)

Have Fun!

AttachmentSize
set-DefaultABView.zip2.42 KB

Comments

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <blockquote> <center> <hr> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <img>
  • Lines and paragraphs break automatically.
  • Web page addresses and e-mail addresses turn into links automatically.
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>, <drupal6>, <html>, <java>, <javascript>, <php>, <posh>.

More information about formatting options

Type the characters you see in this picture. (verify using audio)
Type the characters you see in the picture above; if you can't read them, submit the form and a new image will be generated. Not case sensitive.