Page 1 of 1 1
Topic Options
#120144 - 2004-05-26 05:21 AM Difficulty with PRF/Outlook using kdyer's script
raklet Offline
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 Offline
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)
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's

Top
#120146 - 2004-05-26 07:41 AM Re: Difficulty with PRF/Outlook using kdyer's script
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
getting personal folders profile says that the prf has been loaded.
prf that is the default (unmodified) and that the script does not do any changes (no settings given or failed to write)
_________________________
!

download KiXnet

Top
#120147 - 2004-05-26 08:04 AM Re: Difficulty with PRF/Outlook using kdyer's script
Kdyer Offline
KiX Supporter
*****

Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
Updated my response. Thanks Lonk!

Kent
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's

Top
#120148 - 2004-05-26 03:43 PM Re: Difficulty with PRF/Outlook using kdyer's scri
raklet Offline
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 Offline
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 Offline
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
#120151 - 2004-06-02 01:41 PM Re: Difficulty with PRF/Outlook using kdyer's script
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
Quote:

...
Service2=Microsoft Exchange Server
[service2]
[Service2]
ConversionProhibited=TRUE
...





it looks pretty obvious to me.
you have totally corrupted ini (prf) file.
can't have 2 headers named the same.
_________________________
!

download KiXnet

Top
#120152 - 2004-06-02 02:06 PM Re: Difficulty with PRF/Outlook using kdyer's script
stevie_velvet Offline
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 Offline
Fresh Scripter

Registered: 2002-07-31
Posts: 13
...reposting in starters for a new thread

cheers
ms. s

Top
#120154 - 2004-06-02 02:21 PM Re: Difficulty with PRF/Outlook using kdyer's script
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
why you need new thread?
_________________________
!

download KiXnet

Top
#120155 - 2004-06-06 01:53 AM Re: Difficulty with PRF/Outlook using kdyer's script
Kdyer Offline
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



_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's

Top
Page 1 of 1 1


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 1110 anonymous users online.
Newest Members
Viginette, ManuvdWielNL, Sir_Barrington, batdk82, StuTheCoder
17888 Registered Users

Generated in 0.16 seconds in which 0.11 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org