#120144 - 2004-05-26 05:21 AM
Difficulty with PRF/Outlook using kdyer's script
|
raklet
Lurker
Registered: 2004-05-26
Posts: 3
|
Thank you for your hard work. I found the FAQ on Outlook/Exchange configuration and used the script to try and auto generate an Outlook profile. I have tried each of the different scripts found on the FAQ and have tried various updated scripts that can be found in different posts but Outlook doesn't seem to produce the desired result.
I have watched the script perform its various actions and verified that it detects the correct Outlook version, enters the proper registry keys, and creates a .prf file; however, when I launch Outlook the Outlook configuration wizard still pops up asking for settings. If I run the script against an Outlook profile that has already been setup, it deletes the existing profile but does not recreate it. Instead, it only creates a "personal folders" mailbox, but nothing else. I have tried launching Outlook with it reading the "ImportPRF" registry key and have tried double-clicking directly on the .prf file itself. When I double-click the file, it tells me that Outlook is going to import settings, but no luck.
Can someone please offer some advice on how to troubleshoot this issue? I have tried this on Outlook 2003 and Outlook XP. I am using Windows XP with SP1 and KiXtart version 4.22
Thanks
Tyler
Edited by raklet (2004-05-26 05:26 AM)
|
|
Top
|
|
|
|
#120145 - 2004-05-26 07:35 AM
Re: Difficulty with PRF/Outlook using kdyer's script
|
Kdyer
KiX Supporter
   
Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
|
So.. Once the Registry Changes have been made, have you tried launching Outlook? If we look at Microsoft's site, we see how this comes about (near the bottom).. Anthony Harper pointed out to me that under Outlook XP/2003, you do not need to launch Outlook, but just adding the Reg Information and the PRF file. However, I see the point as the $ppru key is not generated on the client until you do.
What is the name you are using for the $ppru key?
Maybe have a look at the "new" version? RFC- Outlook Configuration Script.
Kent
Edited by kdyer (2004-05-26 08:04 AM)
|
|
Top
|
|
|
|
#120147 - 2004-05-26 08:04 AM
Re: Difficulty with PRF/Outlook using kdyer's script
|
Kdyer
KiX Supporter
   
Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
|
Updated my response. Thanks Lonk!
Kent
|
|
Top
|
|
|
|
#120148 - 2004-05-26 03:43 PM
Re: Difficulty with PRF/Outlook using kdyer's scri
|
raklet
Lurker
Registered: 2004-05-26
Posts: 3
|
Thank you for your responses. You folks are amazing.
Yes, I have tried launching Outlook after the registry changes are made. It just launches the config wizard. Same thing if I launch Outlook by clicking on the prf file.
My $ppru key is set to ...NT\CurrentVersion\Windows Messaging Subsystem\Profiles...
I tried the new version as well. I started with a fresh profile and made sure there were no reg entries for Outlook or Office or HKCU. I then ran the script and rechecked the entries. New entries were made in HKCU and a prf was created in the user's docs\local settings\temp folder. I launched Outlook by clicking on the Outlook icon and got the configuration wizard.
Is it something with the way I have installed Office? I just did a standard install with no special package configuration.
Thanks,
Tyler
|
|
Top
|
|
|
|
#120149 - 2004-05-28 01:08 AM
Re: Difficulty with PRF/Outlook using kdyer's scri
|
raklet
Lurker
Registered: 2004-05-26
Posts: 3
|
I have an answer.
The prf file that was generated off of the sample Outlook.prf was not a valid prf file. I had to use the Office 2003 resource kit's "Configuration Installation Wizard" to generate a custom profile for me. However, the profile generated is significantly different that the syntax used by the kix script. The script tries to write in the prf file but adds erroneous entries that break things. So, I just commented out the PRFSETTINGS function and copy the prf file directly over to the hard drive and use it that way. This works because the prf file uses the variable %UserName% to populate the mailbox name and profile name.
I still use the kix script to generate registry entries.
Thank you all.
Tyler
Edited by raklet (2004-05-28 01:09 AM)
|
|
Top
|
|
|
|
#120150 - 2004-06-02 01:34 PM
Re: Difficulty with PRF/Outlook using kdyer's script
|
stevie_velvet
Fresh Scripter
Registered: 2002-07-31
Posts: 13
|
...a problem i didn't want to return to !! The script seems fine, but I get the error, "Unable to open you defualt e-mail folders. Outlook could not start because a location to send and receive mail could not be found" It seems Microsoft Exchange Serevr is not added...
i stipped the code to it's simplest form: SHELL '%COMSPEC% /C c:\bin\Profgen.exe c:\bin\Newprof.exe -p c:\bin\outlook.prf -X -R -L > nul'
on a profiel that contains... DefaultStore=Service2 Service2=Microsoft Exchange Server [service2] [Service2] ConversionProhibited=TRUE HomeServer=EXCHANGE MailboxName=MYUSERNAME ExchangeConfigFlags=4
Anything wrong with this...?
...also i've noticed MailboxName=PT_STRING8,0x6607 ; -- The name of the user's Exchange Server Mailbox
HomeServer=PT_STRING8,0x6608 ; -- The name of the Microsoft Exchange Server the user should ; connect to.
...help !!!!!
ms s.
|
|
Top
|
|
|
|
#120152 - 2004-06-02 02:06 PM
Re: Difficulty with PRF/Outlook using kdyer's script
|
stevie_velvet
Fresh Scripter
Registered: 2002-07-31
Posts: 13
|
typing mistake ~ there is not a duplicate [section2] i don't have access to the office2000.res.kit ~
Just copied a defualt.prf from the web, & ran it again ~ still no go under a pre-configured MS Exchange Settings Subkey, i have plent of sb-sub keys, but under my username subkey ~ i have only 4 & none of them have the exchange configured keys ~ the solution seems pretty simple ~ but can't figure it unless i have a dodgy profgen.exe & newprof.exe
..anything else i could check ?
ms. s
|
|
Top
|
|
|
|
#120153 - 2004-06-02 02:20 PM
Re: Difficulty with PRF/Outlook using kdyer's script
|
stevie_velvet
Fresh Scripter
Registered: 2002-07-31
Posts: 13
|
...reposting in starters for a new thread
cheers ms. s
|
|
Top
|
|
|
|
#120155 - 2004-06-06 01:53 AM
Re: Difficulty with PRF/Outlook using kdyer's script
|
Kdyer
KiX Supporter
   
Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
|
Steve,
Sorry for the late response (been on holiday). I would recommend the following..
Downloading a new PRF file from - Outlook.prf
Which is contained within - Documentation for the research/resources behind these scripts
Thanks,
Kent
|
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
0 registered
and 664 anonymous users online.
|
|
|