[THIN] Re: Running Outlook.prf once

  • From: "Matthew Shrewsbury" <MShrewsbury@xxxxxxxxxxxxxxx>
  • To: <thin@xxxxxxxxxxxxx>
  • Date: Tue, 31 Jan 2006 11:56:03 -0500

Write a batch file that checks for a flag. If the flag doesn't exist
then run the Outlook.prf and after running sets the flag so it won't run
again.

 

Something like ...

 

IF EXIST H:\Windows\coscan.prf goto Outlook

 

copy M:\WINNT\profgen\coscan.prf H:\Windows

 

start "M:\Program Files\Microsoft Office\Office10\OUTLOOK.EXE"
/importprf H:\Windows\coscan.prf

goto end

 

:Outlook

 

start OUTLOOK.EXE

 

:end

 

Matthew Shrewsbury, MCSE+Internet MCSE 2000 CCA Server+

Senior Network Administrator

-----Original Message-----
From: thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx] On
Behalf Of Michael Boggan
Sent: Tuesday, January 31, 2006 11:45 AM
To: thin list
Subject: [THIN] Running Outlook.prf once

 

We are using a PRF file to generate each users mail profile when they
run Outlook.  Since we are also using roaming profiles, we only want to
run the PRF file the first time the login. Right now it is part of the
Outlook icon on the desktop.  This is not working because it regenerates
there mail profile everytime they run it, so any changes they make are
erased; such as signature configurations.  Any suggestions on how this
can be run only the first time they login and then they use the regular
outlook.exe the rest of the time.

 

Thanks,

 

Michael Boggan

Other related posts: