Announcement

Collapse
No announcement yet.

Can a login script configure default exchange server for windows 2000 clients??

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Can a login script configure default exchange server for windows 2000 clients??

    Hi to all , this is my first post here, i have been looking around the forums and in different areas of this great site for a reference on how to create a login script for windows 2000 clients that can set the default microsoft exchange server for the computers in an AD domain.Recently where i work a migration from exchange 5.5 to 2003 was done .I have noticed that on some computers the profiles of the users wich are roaming, are keeping the old MS Exchange server name ,the procedure of migrating did change the default email server on the windows 2000 clients where it run without problems,but as soon as the user log on another computer the roaming profile is not saving the exchange server setting for the new one.We can fix that manually but in an environment where we have more than 600 users this become a little messy to be doing it manually, so i'm asking for some help here folks if any one can bring light and have and idea i got my eyes open. If there a way that i can set the default ms exchange server for that windows 2000 clients via a login script or a group policy at domain level,or other way that i can enforce those win 2k clients to set the default email server for the new one we have and don't search for the old one.???

    any help would be apreciated

    thanks in advance .
    Last edited by krazyivan; 14th December 2006, 03:07.

  • #2
    Re: Can a login script configure default exchange server for windows 2000 clients??

    These instrcuctions should help. I have a policy on my network which creates the outlook when the user logs in and opens outlook:

    Create Outlook Profile When User Logs In.

    1. Copy the text below to a notepad file then Customize the the items with red text to specifiy your exchange enviroment. Then change the file extension to ".prf"
    __________________________________________________ ____________
    ;Automatically generated PRF file from the Microsoft Office Customization and Installation Wizard

    ; ************************************************** ************
    ; Section 1 - Profile Defaults
    ; ************************************************** ************

    [General]
    Custom=1
    ProfileName=Outlook
    DefaultProfile=Yes
    OverwriteProfile=APPEND
    ModifyDefaultProfileIfPresent=TRUE
    BackupProfile=No

    ; ************************************************** ************
    ; Section 2 - Services in Profile
    ; ************************************************** ************

    [Service List]
    ;ServiceX=Microsoft Outlook Client
    ServiceEGS=Exchange Global Section
    Service1=Microsoft Exchange Server
    ServiceEGS=Exchange Global Section
    Service2=Outlook Address Book

    ;************************************************* **************
    ; Section 3 - List of internet accounts
    ;************************************************* **************

    [Internet Account List]

    ;************************************************* **************
    ; Section 4 - Default values for each service.
    ;************************************************* **************

    [ServiceEGS]
    MailboxName=%UserName%
    HomeServer=servername

    [Service1]
    OverwriteExistingService=No
    UniqueService=Yes
    MailboxName=%UserName%
    HomeServer=servername
    AccountName=Microsoft Exchange Server

    [Service2]

    ;[ServiceX]
    ;FormDirectoryPage=
    ;-- The URL of Exchange Web Services Form Directory page used to create Web forms.
    ;WebServicesLocation=
    ;-- The URL of Exchange Web Services page used to display unknown forms.
    ;ComposeWithWebServices=
    ;-- Set to TRUE to use Exchange Web Services to compose forms.
    ;PromptWhenUsingWebServices=
    ;-- Set to TRUE to use Exchange Web Services to display unknown forms.
    ;OpenWithWebServices=
    ;-- Set to TRUE to prompt user before opening unknown forms when using Exchange Web Services.

    ;************************************************* **************
    ; Section 5 - Values for each internet account.
    ;************************************************* **************

    ;************************************************* **************
    ; Section 6 - Mapping for profile properties
    ;************************************************* **************

    [Microsoft Exchange Server]
    ServiceName=MSEMS
    MDBGUID=5494A1C0297F101BA58708002B2A2517
    MailboxName=PT_STRING8,0x6607
    HomeServer=PT_STRING8,0x6608
    OfflineAddressBookPath=PT_STRING8,0x660E
    OfflineFolderPath=PT_STRING8,0x6610

    [Exchange Global Section]
    SectionGUID=13dbb0c8aa05101a9bb000aa002fc45a
    MailboxName=PT_STRING8,0x6607
    HomeServer=PT_STRING8,0x6608
    RPCoverHTTPflags=PT_LONG,0x6623
    RPCProxyServer=PT_UNICODE,0x6622
    RPCProxyPrincipalName=PT_UNICODE,0x6625
    RPCProxyAuthScheme=PT_LONG,0x6627
    CachedExchangeConfigFlags=PT_LONG,0x6629

    [Microsoft Mail]
    ServiceName=MSFS
    ServerPath=PT_STRING8,0x6600
    Mailbox=PT_STRING8,0x6601
    Password=PT_STRING8,0x67f0
    RememberPassword=PT_BOOLEAN,0x6606
    ConnectionType=PT_LONG,0x6603
    UseSessionLog=PT_BOOLEAN,0x6604
    SessionLogPath=PT_STRING8,0x6605
    EnableUpload=PT_BOOLEAN,0x6620
    EnableDownload=PT_BOOLEAN,0x6621
    UploadMask=PT_LONG,0x6622
    NetBiosNotification=PT_BOOLEAN,0x6623
    NewMailPollInterval=PT_STRING8,0x6624
    DisplayGalOnly=PT_BOOLEAN,0x6625
    UseHeadersOnLAN=PT_BOOLEAN,0x6630
    UseLocalAdressBookOnLAN=PT_BOOLEAN,0x6631
    UseExternalToHelpDeliverOnLAN=PT_BOOLEAN,0x6632
    UseHeadersOnRAS=PT_BOOLEAN,0x6640
    UseLocalAdressBookOnRAS=PT_BOOLEAN,0x6641
    UseExternalToHelpDeliverOnRAS=PT_BOOLEAN,0x6639
    ConnectOnStartup=PT_BOOLEAN,0x6642
    DisconnectAfterRetrieveHeaders=PT_BOOLEAN,0x6643
    DisconnectAfterRetrieveMail=PT_BOOLEAN,0x6644
    DisconnectOnExit=PT_BOOLEAN,0x6645
    DefaultDialupConnectionName=PT_STRING8,0x6646
    DialupRetryCount=PT_STRING8,0x6648
    DialupRetryDelay=PT_STRING8,0x6649

    [Personal Folders]
    ServiceName=MSPST MS
    Name=PT_STRING8,0x3001
    PathToPersonalFolders=PT_STRING8,0x6700
    RememberPassword=PT_BOOLEAN,0x6701
    EncryptionType=PT_LONG,0x6702
    Password=PT_STRING8,0x6703

    [Unicode Personal Folders]
    ServiceName=MSUPST MS
    Name=PT_UNICODE,0x3001
    PathToPersonalFolders=PT_STRING8,0x6700
    RememberPassword=PT_BOOLEAN,0x6701
    EncryptionType=PT_LONG,0x6702
    Password=PT_STRING8,0x6703

    [Outlook Address Book]
    ServiceName=CONTAB

    [LDAP Directory]
    ServiceName=EMABLT
    ServerName=PT_STRING8,0x6600
    UserName=PT_STRING8,0x6602
    UseSSL=PT_BOOLEAN,0x6613
    UseSPA=PT_BOOLEAN,0x6615
    DisableVLV=PT_LONG,0x6616
    DisplayName=PT_STRING8,0x3001
    ConnectionPort=PT_STRING8,0x6601
    SearchTimeout=PT_STRING8,0x6607
    MaxEntriesReturned=PT_STRING8,0x6608
    SearchBase=PT_STRING8,0x6603

    [Microsoft Outlook Client]
    SectionGUID=0a0d020000000000c000000000000046
    FormDirectoryPage=PT_STRING8,0x0270
    WebServicesLocation=PT_STRING8,0x0271
    ComposeWithWebServices=PT_BOOLEAN,0x0272
    PromptWhenUsingWebServices=PT_BOOLEAN,0x0273
    OpenWithWebServices=PT_BOOLEAN,0x0274
    CachedExchangeMode=PT_LONG,0x041f
    CachedExchangeSlowDetect=PT_BOOLEAN,0x0420

    [Personal Address Book]
    ServiceName=MSPST AB
    NameOfPAB=PT_STRING8,0x001e3001
    Path=PT_STRING8,0x001e6600
    ShowNamesBy=PT_LONG,0x00036601

    ; ************************************************** **********************
    ; Section 7 - Mapping for internet account properties. DO NOT MODIFY.
    ; ************************************************** **********************

    [I_Mail]
    AccountType=POP3
    ;--- POP3 Account Settings ---
    AccountName=PT_UNICODE,0x0002
    DisplayName=PT_UNICODE,0x000B
    EmailAddress=PT_UNICODE,0x000C
    ;--- POP3 Account Settings ---
    POP3Server=PT_UNICODE,0x0100
    POP3UserName=PT_UNICODE,0x0101
    POP3UseSPA=PT_LONG,0x0108
    Organization=PT_UNICODE,0x0107
    ReplyEmailAddress=PT_UNICODE,0x0103
    POP3Port=PT_LONG,0x0104
    POP3UseSSL=PT_LONG,0x0105
    ; --- SMTP Account Settings ---
    SMTPServer=PT_UNICODE,0x0200
    SMTPUseAuth=PT_LONG,0x0203
    SMTPAuthMethod=PT_LONG,0x0208
    SMTPUserName=PT_UNICODE,0x0204
    SMTPUseSPA=PT_LONG,0x0207
    ConnectionType=PT_LONG,0x000F
    ConnectionOID=PT_UNICODE,0x0010
    SMTPPort=PT_LONG,0x0201
    SMTPUseSSL=PT_LONG,0x0202
    ServerTimeOut=PT_LONG,0x0209
    LeaveOnServer=PT_LONG,0x1000

    [IMAP_I_Mail]
    AccountType=IMAP
    ;--- IMAP Account Settings ---
    AccountName=PT_UNICODE,0x0002
    DisplayName=PT_UNICODE,0x000B
    EmailAddress=PT_UNICODE,0x000C
    ;--- IMAP Account Settings ---
    IMAPServer=PT_UNICODE,0x0100
    IMAPUserName=PT_UNICODE,0x0101
    IMAPUseSPA=PT_LONG,0x0108
    Organization=PT_UNICODE,0x0107
    ReplyEmailAddress=PT_UNICODE,0x0103
    IMAPPort=PT_LONG,0x0104
    IMAPUseSSL=PT_LONG,0x0105
    ; --- SMTP Account Settings ---
    SMTPServer=PT_UNICODE,0x0200
    SMTPUseAuth=PT_LONG,0x0203
    SMTPAuthMethod=PT_LONG,0x0208
    SMTPUserName=PT_UNICODE,0x0204
    SMTPUseSPA=PT_LONG,0x0207
    ConnectionType=PT_LONG,0x000F
    ConnectionOID=PT_UNICODE,0x0010
    SMTPPort=PT_LONG,0x0201
    SMTPUseSSL=PT_LONG,0x0202
    ServerTimeOut=PT_LONG,0x0209
    CheckNewImap=PT_LONG,0x1100
    RootFolder=PT_UNICODE,0x1101

    [INET_HTTP]
    AccountType=HOTMAIL
    Account=PT_UNICODE,0x0002
    HttpServer=PT_UNICODE,0x0100
    UserName=PT_UNICODE,0x0101
    Organization=PT_UNICODE,0x0107
    UseSPA=PT_LONG,0x0108
    TimeOut=PT_LONG,0x0209
    Reply=PT_UNICODE,0x0103
    EmailAddress=PT_UNICODE,0x000C
    FullName=PT_UNICODE,0x000B
    Connection Type=PT_LONG,0x000F
    ConnectOID=PT_UNICODE,0x0010
    __________________________________________________ _______________


    2. Place the "Outlook Profile.prf" file in the \SYSVOL\Domainname\scripts directory.

    3. Import the "Outlook.adm" template to User_Configuration\Administrative Templates.
    This will create a new policy template called Outlook Profile. (Search for this on the internet)

    4. Enable this policy and then type the path of the "Outlook Profile.prf" file. ex. \\Domian Name\SYSVOL\Domain Name\scripts\outlook profile.prf.

    Comment


    • #3
      Re: Can a login script configure default exchange server for windows 2000 clients??

      Excellant reply - Have some reputation points



      Michael
      Michael Armstrong
      www.m80arm.co.uk
      MCITP: EA, MCTS, MCSE 2003, MCSA 2003: Messaging, CCA, VCP 3.5, 4, 5, VCAP5-DCD, VCAP5-DCA, ITIL, MCP, PGP Certified Technician

      ** Remember to give credit where credit is due and leave reputation points sigpic where appropriate **

      Comment


      • #4
        Re: Can a login script configure default exchange server for windows 2000 clients??

        Yo !!! Your our batchmate seems like..Hehe ! We also done migration from 5.5 to 2003 exchange. Excuse me but i want to ask > you mean "Microsoft Outlook 2000" config & "Microsoft Outlook 2003" ????? It's not really releted to Microsoft Windows operating system. As fas as my knowledge there is no way to deploy any script for this. Out of box ..It's a big head ache actually. Even Microsoft dont have articles when you have Exchange 5.5 on Windows 2000 ..not on Windows NT...
        Well i see no way to make it automated. deploy automated installation of Office 2003 if you have enough bulk licenses. I still get silly calls from users saying they are not able to open Outlook. Damn Damn !! :P




        Originally posted by krazyivan View Post
        Hi to all , this is my first post here, i have been looking around the forums and in different areas of this great site for a reference on how to create a login script for windows 2000 clients that can set the default microsoft exchange server for the computers in an AD domain.Recently where i work a migration from exchange 5.5 to 2003 was done .I have noticed that on some computers the profiles of the users wich are roaming, are keeping the old MS Exchange server name ,the procedure of migrating did change the default email server on the windows 2000 clients where it run without problems,but as soon as the user log on another computer the roaming profile is not saving the exchange server setting for the new one.We can fix that manually but in an environment where we have more than 600 users this become a little messy to be doing it manually, so i'm asking for some help here folks if any one can bring light and have and idea i got my eyes open. If there a way that i can set the default ms exchange server for that windows 2000 clients via a login script or a group policy at domain level,or other way that i can enforce those win 2k clients to set the default email server for the new one we have and don't search for the old one.???

        any help would be apreciated

        thanks in advance .
        All in 1
        Solaris,Linux & Windows admin + networking.

        Comment

        Working...
        X