Results 1 to 4 of 4

Thread: I need to change the server name on existing profiles via script.

  1. #1
    Join Date
    Sep 2011
    Posts
    6
    Rep Power
    4

    Default I need to change the server name on existing profiles via script.

    Good Afternoon!

    As the title says I need to be able to run a VB script and change the server name on existing Outlook profiles from "Hostname" to a "FQDN".

    In my searching for information it would appear that perhaps the server name is stored in the registry at HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles. I have looked through all of the binary entries from regedit, some are readable and some are not garbage. At any rate I do not see it in there.

    So does anyone know if that info is stored in the registry, where it might be, if the registry profile path are the same for all users, and if it can be edited?

    Wow, that was a lot of questions in one sentence, thanks a bunch for any help!

  2. #2
    Join Date
    Sep 2006
    Posts
    1,334
    Rep Power
    11

    Default

    Under the Registry location you mentioned:

    HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles

    you will see each profile. Under each profile, there are a bunch of GUIDs. In regedit, if you click on a given GUID on the left, you will see a bunch of MAPI properties on the right. Under one of the GUIDs (and you can't tell by the name, obviously), there will be a REG_BINARY property on the right with the Name 001f6640. This means that it's MAPI prop 0x6640 (which is the one we use for Zimbra Server Name), and its type is 001f (PT_UNICODE). The associated value is the hex representation of the Zimbra Server Name.

    Happy scripting.

  3. #3
    Join Date
    Sep 2011
    Posts
    6
    Rep Power
    4

    Default

    Thank you for the reply. I found this key after I originally posted this, however when i try to edit it from regedit it shows as garbage in the Zimbra profile. When I change it from Outlook profiles it shows OK in the registry.

  4. #4
    Join Date
    Sep 2006
    Posts
    1,334
    Rep Power
    11

    Default

    It's probably really dangerous to change it in this way. I tried messing around with it, and after I changed it on one profile, the profile wouldn't load, and the mail applet would hang when trying to look at the properties that particular profile. There are probably a few places that need changing.

Similar Threads

  1. How to: cold standby server (no cluster)
    By fisch09 in forum Installation
    Replies: 50
    Last Post: 02-18-2014, 09:51 AM
  2. Replies: 1
    Last Post: 02-11-2008, 06:47 PM
  3. Installation on existing server
    By superyo in forum Installation
    Replies: 4
    Last Post: 09-29-2005, 10:05 AM
  4. How will this affect existing server
    By lledynot in forum Installation
    Replies: 1
    Last Post: 09-17-2005, 12:34 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •