Page 1 of 2 12>
Topic Options
#24227 - 2002-07-02 11:20 AM Newprof.exe from Exchange 2k Resource kits
Yvonne Offline
Fresh Scripter

Registered: 2002-07-01
Posts: 10
Loc: Brunei
Anyone has NewProf.exe that works for outlook 2002?
Top
#24228 - 2002-07-02 01:54 PM Re: Newprof.exe from Exchange 2k Resource kits
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
yvonne,
checked from the KB and it says:
quote:
1. Use NewProf.exe
This utility ships with Microsoft Outlook. Instructions on using it can be found in the MSDN Library, under the topic "Creating a Profile with NEWPROF". For additional information, click the article numbers below to view the articles in the Microsoft Knowledge Base:
Q145905 XCLN: Newprof.exe Command-Line Options
Q148664 XCLN: Description of the Profile Descriptor File

from http://support.microsoft.com/default.aspx?scid=kb;EN-US;q306962

shortly, it ships with outlook.

btw, that link has total of 5 ways to create profile and KB has plenty more.

cheers,
_________________________
!

download KiXnet

Top
#24229 - 2002-07-02 03:18 PM Re: Newprof.exe from Exchange 2k Resource kits
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
this is follow up topic from
http://81.17.37.55/board/ultimatebb.php?ubb=get_topic;f=1;t=004053

yvonne, I use the same newprof tool for all outlook versions.
when it produces errors, it probably is not outlook related but the outlook.prf you're trying to use might be misconfigured.

one thing more, is that in my case I had to write a small script for newprof utilization.
it swithces the username for newprof as it seems to check it from the registry.
code:
$ = readvalue("HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles","DefaultProfile")
if @error and @inwin=1
? ? " Ladataan sähköposti-asetukset palvelimelta..." sleep 2
$temp = readvalue("HKEY_CURRENT_USER\Software\Microsoft\MS Setup (ACME)\User Info","DefName")
$ = writevalue("HKEY_CURRENT_USER\Software\Microsoft\MS Setup (ACME)\User Info","DefName",@fullname,"reg_sz")
shell @ldrive+"Profiles\newprof.exe -P "+@ldrive+"Profiles\exchange.prf"
$ = writevalue("HKEY_CURRENT_USER\Software\Microsoft\MS Setup (ACME)\User Info","DefName",$temp,"reg_sz")
endif

the prf I use is the default:
quote:
; Outlook PRF file for Exchange Server users
; -------------------------------------------
; Copyright (C), Microsoft Corporation, 1996.
;
; The following PRF file is included as an example of how to create a PRF file that will
; configure Outlook users with Exchange Server. Section 1, 2, and 3 may be modified.
; DO NOT MODIFY SECTION 4. It will most likely cause Exchange services to crash.
; Be very careful when editing to ensure property values match their property types.
; NOTE: The HomeServer setting for the Microsoft Exchange Server must be filled in
; before using this file.
;
; For information about how to disable Outlook Profile Setup and instead use the
; the Inbox Setup Wizard, see NONE.PRF in the Office Resource Kit.

offcourse the profilename is changed to make it more specific than just outlook profile.

and homeserver also.

user info is read from reg like I said and it should work like charm, with these changes.

cheers,
_________________________
!

download KiXnet

Top
#24230 - 2002-07-03 08:21 AM Re: Newprof.exe from Exchange 2k Resource kits
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
yvonne, did you have the problem solved or does it still exist?

cheers,
_________________________
!

download KiXnet

Top
#24231 - 2002-07-03 09:08 AM Re: Newprof.exe from Exchange 2k Resource kits
Yvonne Offline
Fresh Scripter

Registered: 2002-07-01
Posts: 10
Loc: Brunei
Dear Lonkero,

I still have problem when running command
NewProf.exe -P exchange.prf

Can you zip me the files? My email address is
yyeo@jis.edu.bn

You're a star!

Top
#24232 - 2002-07-03 09:22 AM Re: Newprof.exe from Exchange 2k Resource kits
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
yvonne, I might but then would not be to share the possible solution in here.
so my quess is (as didn't find any articles in MSDN nor in KB) that the -p is wrong.

as read from commandline arguments:
quote:
-P is the .PRF file with the complete path
and you have only the filename there.

cheers,
_________________________
!

download KiXnet

Top
#24233 - 2002-07-03 09:31 AM Re: Newprof.exe from Exchange 2k Resource kits
Yvonne Offline
Fresh Scripter

Registered: 2002-07-01
Posts: 10
Loc: Brunei
Dear Lonkero

I have tried many ways. used profgen from Exch2k Cd, use NewProf.exe from outlook 97-2k. I have also filled in the complete path each time I try the command NewProf.exe -P C:\Outlook.prf

Once I have received the zip file from you, i will try at my side and find out the problem, then publish the solution to everyone here, just like the others [Smile]

thank you again!!

Top
#24234 - 2002-07-03 09:34 AM Re: Newprof.exe from Exchange 2k Resource kits
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
got it?
remember to modify the homeserver field

cheers,
_________________________
!

download KiXnet

Top
#24235 - 2002-07-03 09:45 AM Re: Newprof.exe from Exchange 2k Resource kits
Yvonne Offline
Fresh Scripter

Registered: 2002-07-01
Posts: 10
Loc: Brunei
Yes! I just got your email. I will try it out now.

You'r a star!

Top
#24236 - 2002-07-03 10:13 AM Re: Newprof.exe from Exchange 2k Resource kits
Yvonne Offline
Fresh Scripter

Registered: 2002-07-01
Posts: 10
Loc: Brunei
Dear Lankero

Have you tried running the script on Windows 2000 Pro platform + officexp + Exch2k server? I have modified your script to use our variables but still receive Newprof Application Error - The instruction at "0x77f821e1" referenced memory at "0x00000014". The memory could not be "read"

Any ideas?

Top
#24237 - 2002-07-03 10:24 AM Re: Newprof.exe from Exchange 2k Resource kits
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
still, newprof has nothing to do with office.
it creates registry entries.
there is the none.prf in the package.
what happens if you try to call it?

I'm running my newprof on win9x/NT/2k-platforms and have no error whatsoever.
what comes to exchange 2k...
don't have it as want to keep my mailservers at the same version.

this seems to be getting pretty strange.

yvonne, may I ask you to post also to msexchange.org it has somehow working board.
actually pretty well but you may need to wait for answer for several weeks.

anyway, there might be posts on the same problem you have.

I could check myself now too but I'm little bit busy with FS management server install.

you are star no less,
_________________________
!

download KiXnet

Top
#24238 - 2002-07-03 10:39 AM Re: Newprof.exe from Exchange 2k Resource kits
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
well, checked anyway for you.
closist I found:
http://forums.msexchange.org/ultimatebb.cgi?ubb=get_topic;f=3;t=001882

so, if the client has profile created before destroy/overwrite it if you have upgraded your server.

other one I recall from memory:
if you have no exchange mailbox (as many administrative accounts do not) it will produce an error if trying to create a profile.

cheers,
_________________________
!

download KiXnet

Top
#24239 - 2002-07-04 09:03 AM Re: Newprof.exe from Exchange 2k Resource kits
Kdyer Offline
KiX Supporter
*****

Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
Yvonne/Lonkero,

Did you get a chance to look in the FAQ Forum and specifically - Exchange/Oulook Configuration?

I wrote a little bit about this for Outlook 2002..

quote:

; -- Should not work with Outlook 2002 or Outlook XP, you will want to use GPO Editor for deployment
; -- You should be able to issue the following command line: outlook.exe /importprf \\server1\share\outlook.prf
; -- Ref. http://www.microsoft.com/technet/treeview/default.asp?url=/TechNet/prodtechnol/office/officexp/reskit/officexp/part5/c18dpou.asp
; -- Look under: "Customizing an Outlook Installation"

Have Fun!

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

Top
#24240 - 2002-07-04 09:12 AM Re: Newprof.exe from Exchange 2k Resource kits
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
kent, how you know it's not for 2002?
didn't find any m$-statement on that...

btw, I should be looking to faqs but how you teach a old dog to read?

cheers,
_________________________
!

download KiXnet

Top
#24241 - 2002-07-04 09:15 AM Re: Newprof.exe from Exchange 2k Resource kits
Kdyer Offline
KiX Supporter
*****

Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
Lonkero,

Maybe so..

However, her opening question was for creating profiles for Outlook 2002..

Thanks,

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

Top
#24242 - 2002-07-04 09:41 AM Re: Newprof.exe from Exchange 2k Resource kits
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
maybe in this topic [Big Grin]

if you see the link on my post it points to earlier profile creation topic and yvonne's opening reply was:
quote:
Anyone has any idea how to run outlook.exe /importprf in quiet mode?
cheers,
_________________________
!

download KiXnet

Top
#24243 - 2002-07-04 10:03 AM Re: Newprof.exe from Exchange 2k Resource kits
Kdyer Offline
KiX Supporter
*****

Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
Yeah.. I did some digging and did not see anything with regard to -s /S or -silent either..

Outlook 2002 Information

PRF Tips for Outlook 2002 - http://www.slipstick.com/outlook/ol2002/prftips.htm

http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&threadm=28dc01c1faa3%24ec93b180%249ee62ecf%40tkmsftngxa05&rnum=1&prev=/groups%3Fq%3DOutlook%2B2002%2BPRF%2Bgroup:microsoft.public .*%26hl%3Den%26lr%3D%26ie%3DUTF-8%26selm%3D28dc01c1faa3%2524ec93b180%25249ee62ecf%2540tkmsftngxa05%26rnum%3D1
quote:

I too ran into this problem today and was unable to find a solution
documented anywhere. As I guess, I added the line "BackupProfile=No"
in the Section 1, [General] section and it works! Give it a try. It
sure would be nice if there was documentation for the new .prf file
format in Outlook 2002!

Customizing Profiles with an Outlook 2002 Profile File
http://www.microsoft.com/office/ork/xp/four/outc03.htm
Importing the PRF file -
outlook.exe /importprf \\server1\share\outlook.prf

Outlook Deployment
http://www.exchangeadmin.com/Articles/Index.cfm?ArticleID=24675

Microsoft Outlook 2002 Problems for Developers
http://www.slipstick.com/dev/ol2002problems.htm

HOW TO: Create a PRF File for Configuring MAPI Profiles During a Customized Outlook 2002 Installation (Q308300)
http://support.microsoft.com/default.aspx?scid=kb;EN-US;q308300

HOW TO: Add and Customize Outlook 2002 User Profile Account Information in the Custom Installation Wizard (Q307755)
http://support.microsoft.com/default.aspx?scid=kb;EN-US;Q307755

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

Top
#24244 - 2002-07-04 10:06 AM Re: Newprof.exe from Exchange 2k Resource kits
Kdyer Offline
KiX Supporter
*****

Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
Added this information to the FAQ too..

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

Top
#24245 - 2002-07-04 10:19 AM Re: Newprof.exe from Exchange 2k Resource kits
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
good. now just need to remember that it's there [Roll Eyes]
_________________________
!

download KiXnet

Top
#24246 - 2002-07-05 06:46 AM Re: Newprof.exe from Exchange 2k Resource kits
Yvonne Offline
Fresh Scripter

Registered: 2002-07-01
Posts: 10
Loc: Brunei
Thanks Lankero/kent

I am still working on this problem, planning to rebuild a machine and run NewProf.exe, to see if I still receive this error message, " NewProf.exe-application error. Reference to the Memory can't be read"

At the same time, I am searching for solution to run /importprf in quiet mode from technet.

I will always keep you updated here.

Top
Page 1 of 2 12>


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

Who's Online
0 registered and 138 anonymous users online.
Newest Members
MaikSimon, kvn317, kixtarts2025, SERoyalty, mytar
17872 Registered Users

Generated in 0.295 seconds in which 0.243 seconds were spent on a total of 14 queries. Zlib compression enabled.

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