We have users on Outlook 2003 and 2007. We want to move to a new
exchange server.

I assume that our PRF works fine via this modification:

;************************************************* **************
; 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

********************************************************************

However how can I add this bit to our login script so that it can
automatically tell if it needs to modify directory "OUTLOOK11" for
2003 or "Outlook 12" for 2007?



IF EXIST "%appdata%\Microsoft\OUTLOOK\OUTPRF.SET" GOTO :Next
START "" "%ProgramFiles%\Microsoft Office\OFFICE11\OUTLOOK.EXE" /
importprf "\\ex01\SYSVOL\Outlook.prf">>"%appdata%\Microsoft\OUTLOOK
\OUTPRF.SET"

:Next


IF EXIST "%appdata%\Microsoft\OUTLOOK\OUTPRF.SET" GOTO :Next
START "" "%ProgramFiles%\Microsoft Office\Office 12\OUTLOOK.EXE" /
importprf "\\ex01\SYSVOL\Outlook.prf">>"%appdata%\Microsoft\OUTLOOK
\OUTPRF.SET"

:Next

Re: forcing Outlook 2003/2007 server name via PRF/Login script by Roady

Roady
Tue Apr 22 02:52:29 PDT 2008

If you're moving to a new Exchange server, simply use "Move mailbox" in
Active Directory or on the Exchange server (depends on your version. The
next time the users start Outlook they will be automatically redirected to
the new server.

--
Robert Sparnaaij [MVP-Outlook]
Coauthor, Configuring Microsoft Outlook 2003
http://www.howto-outlook.com/
Outlook FAQ, HowTo, Downloads, Add-Ins and more

http://www.msoutlook.info/
Real World Questions, Real World Answers

-----

<tlai909@visto.com> wrote in message
news:533d1037-0970-45ee-ae8b-c1dee8e73df5@f24g2000prh.googlegroups.com...
> We have users on Outlook 2003 and 2007. We want to move to a new
> exchange server.
>
> I assume that our PRF works fine via this modification:
>
> ;************************************************* **************
> ; 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
>
> ********************************************************************
>
> However how can I add this bit to our login script so that it can
> automatically tell if it needs to modify directory "OUTLOOK11" for
> 2003 or "Outlook 12" for 2007?
>
>
>
> IF EXIST "%appdata%\Microsoft\OUTLOOK\OUTPRF.SET" GOTO :Next
> START "" "%ProgramFiles%\Microsoft Office\OFFICE11\OUTLOOK.EXE" /
> importprf "\\ex01\SYSVOL\Outlook.prf">>"%appdata%\Microsoft\OUTLOOK
> \OUTPRF.SET"
>
> :Next
>
>
> IF EXIST "%appdata%\Microsoft\OUTLOOK\OUTPRF.SET" GOTO :Next
> START "" "%ProgramFiles%\Microsoft Office\Office 12\OUTLOOK.EXE" /
> importprf "\\ex01\SYSVOL\Outlook.prf">>"%appdata%\Microsoft\OUTLOOK
> \OUTPRF.SET"
>
> :Next