#145100 - 2005-08-09 04:44 PM
Outlook 2000/Exchange 2003 Profgen.exe
|
Flobob
Lurker
Registered: 2005-08-03
Posts: 3
|
Hello, I am new to the boards, but have been using KiXtart for some time now. Though I am having dificulty with this problem. I would be grateful if somone could email me the current version of Profgen.exe . I am having dificulty tracking down profgen.exe from the web, It seems that the links in the FAQ are broken. Is there a newer version? does Modprof.exe take its place? Any help would be appreciated. Thank you.
|
Top
|
|
|
|
#145102 - 2005-08-09 07:20 PM
Re: Outlook 2000/Exchange 2003 Profgen.exe
|
Flobob
Lurker
Registered: 2005-08-03
Posts: 3
|
Thanks Co,
I have searched the site, though I do not see an updated link to Profgen.exe. It seems that Kdyer keeps the faq pretty up to date, though this file still illudes me. Is there another location I can download it from?
|
Top
|
|
|
|
#145103 - 2005-08-09 07:31 PM
Re: Outlook 2000/Exchange 2003 Profgen.exe
|
StarwarsKid
Seasoned Scripter
   
Registered: 2005-06-15
Posts: 506
Loc: Oregon, USA
|
I have used profgen.exe extensively for the past 4 years. Now that I am moving my users to Outlook2003 I find that I need another solution since the old tools are no longer supported. Kent Dyer has created a fantastic kix script that autogenerates profiles that for Outlook2000 and 2003. Here is the code that I am using (Kent wrote).
NOTE: the areas in RED are those that you will want to customize. Otherwise, everything can be left as-is, and placed in a seperate (or your current) KiX script. If it is a seperate script, just "call" it from your main scripts with Code:
CALL @ldrive+'\outlook.kix' ; This script creates Outlook2000/2003 profiles. Code:
OUTLOOK ; -- OUTLOOK - ALL >> MAIN CONFIGURATION FOR MICROSOFT OUTLOOK TO EXCHANGE SERVERS ;Function OUTLOOK() ; ;Author Kent Dyer (leptonator@hotmail.com ; ;Contributors Lonkero ; Matt "EvilHearted" ; Rad ; Anthony Harper ; ;Action Configure Outlook ; ;Syntax OUTLOOK ; ;Version 1.17 ; ;Date 1-April-2001 ; ;Date Revised 11-April-2005 ; ;Parameters none ; ;Remarks This function is used to configure Outlook with Exchange Server, ; Change 'EXCHANGESERVER' to your server name ; ;Returns Nothing ; ;Dependencies Outlook.prf, MODPROF.EXE (for Outlook 9x/20000, profupdt.exe to integrate ;http://www.microsoft.com/office/ork/2000/download/Outlook.prf ;http://download.microsoft.com/download/f/6/e/f6e04362-83d7-4107-be59-91e0658fa198/outlook.prf ;http://www.microsoft.com/office/orkarchive/2000ddl.htm ;http://download.microsoft.com/download/b/c/3/bc3c8c90-550c-4d22-96d3-616298490c0c/modifyprofile.exe (contains MODPROF.EXE) ; ;KiXtart Ver 4.02 ; ;Example(s) OUTLOOK FUNCTION OUTLOOK() DIM $prfrem,$waste,$explorview,$editorpref,$prf,$serverloc, $exchgsvr,$prfloc,$prffile,$ppru,$exe,$ver,$idx,$keyname,$rc, $outlook,$ns,$unread,$fldr,$x,$regexp,$MSOdir
$waste='FALSE' ; Empty Outlooks Deleted Items Folder on Exit $explorview='Yes' ; Outlook Explorer View 'Yes' or Standard View 'No' $editorpref=30001 ; Editor Preference 10001=Plain Text, 20001=HTML, and 30001=Rich Text $prf='Outlook.prf' $prffile='%temp%\'+$prf $serverloc=@LSERVER+'\Netlogon\Profgen' ; Outlook Executables files location $exchgsvr='MAILSVR' ; Main Exchange Server Location IF @INWIN ;Windows NT/2k/XP/2003 $prfloc='HKCU\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles' ELSE ;Windows 9x $prfloc='HKCU\Software\Microsoft\Windows Messaging Subsystem\Profiles' ENDIF ; -- Current User Profile $ppru=$prfloc+'\'+@USERID
; -- Determine version of Outlook $exe=ReadValue('HKLM\Software\Microsoft\Windows\CurrentVersion\App Paths\OUTLOOK.EXE','') $ver=SPLIT(GetFileVersion($exe),'.')[0]+'.0' $MSOdir=SUBSTR($exe,1,Len($exe)-11)
; -- This is used for when you have people come into the company from another Exchange Server into yours IF INGROUP('GROUPNAME') AND READVALUE($ppru+'\13dbb0c8aa05101a9bb000aa002fc45a','001e6602')<>$exchgsvr $rc=WriteValue($ppru+'\13dbb0c8aa05101a9bb000aa002fc45a','001e6602',$exchgsvr,'REG_SZ') $rc=WriteValue($ppru+'\13dbb0c8aa05101a9bb000aa002fc45a','001e6608',$exchgsvr,'REG_SZ') ENDIF
; -- Look for Outlook Profile ;IF ReadValue($prfloc,'DefaultProfile')<>@USERID AND ReadValue($prfloc,'DefaultProfile')<>'MS Exchange Settings' OR @ERROR IF (ReadValue($prfloc,'DefaultProfile')<>@USERID AND NOT INSTR(ReadValue($prfloc,'DefaultProfile'),'MS Exchange')) OR @ERROR COPY $serverloc+'\'+$prf $prffile $rc=WriteProfileString($prffile,'General','ProfileName',@USERID) $rc=WriteProfileString($prffile,'General','DefaultProfile','Yes') $rc=WriteProfileString($prffile,'General','OverwriteProfile','Yes') $rc=WriteProfileString($prffile,'General','BackupProfile','No') $rc=WriteProfileString($prffile,'Service1','AutoNameCheck','TRUE') $rc=WriteProfileString($prffile,'Service1','EmptyWastebasket',$waste) $rc=WriteProfileString($prffile,'Service1','CloseOriginalMessage','TRUE') $rc=WriteProfileString($prffile,'Service2','HomeServer',$exchgsvr) $rc=WriteProfileString($prffile,'Service2','MailboxName',@USERID)
SELECT CASE $ver='8.0' OR $ver='9.0' ;(e.g. 8.5.5104.0) ;SHELL '%COMSPEC% /C '+$scriptdir+'\Profgen.exe '+$scriptdir+'\Newprof.exe -p '+$prffile+' -X -R -L -T '+$profiledir+'> nul' ; -- THIS IS DANGEROUS as you will want to setup/modify the PRF File on the local workstation ;%0\..\OLProfiles\newprof.exe -p %0\..\OLProfiles\McMinn.prf SHELL '%COMSPEC% /C '+$serverloc+'\newprof.exe -p '+$prffile+' -x' $rc=WriteValue('HKCU\Software\Microsoft\Office\'+$ver+'\Outlook','Machine Name',@WKSTA,'REG_SZ') $rc=WriteValue('HKCU\Software\Microsoft\Office\'+$ver+'\Outlook','CheckInternetAccounts',1,'REG_DWORD') $rc=WriteValue('HKCU\Software\Microsoft\Office\'+$ver+'\Outlook','FirstRunDialog','False','REG_SZ') $rc=WriteValue('HKCU\Software\Microsoft\Office\'+$ver+'\Outlook\Setup','PrimaryClient',1,'REG_DWORD') $rc=WriteValue('HKLM\Software\Microsoft\Office\'+$ver+'\Outlook\Setup','MailSupport',1,'REG_DWORD') $rc=WriteValue('HKLM\Software\Microsoft\Office\'+$ver+'\Outlook\Setup','First-Run','df83b12adc9cd511b57c0002a57ce19c','REG_BINARY') IF $explorview='Yes' $rc=WriteValue($prfloc+@userid+'\0a0d020000000000c000000000000046','001e0360','','REG_SZ') $expview='010000002c0000000200000003000000ffffffffffffffffffffffffffffffff62000000270000003' $expview=$expview+'c030000ac02000001000000000000000100000000000000c00000006400000003000000' $rc=WriteValue('HKCU\Software\Microsoft\Office\'+$ver+'\Outlook\Office Explorer','Frame',$expview,'REG_BINARY') ENDIF CASE $ver='10.0' OR $ver='11.0' ;(e.g. 10.0.2627.1) $rc=DelValue('HKCU\Software\Microsoft\Office\'+$ver+'\Outlook\Setup','First-Run') $rc=WriteValue('HKCU\Software\Microsoft\Office\'+$ver+'\Outlook\Setup','ImportPRF',$prffile,'REG_SZ') IF $ver='10.0' $rc=WriteValue('HKCU\Software\Microsoft\Office\'+$ver+'\Outlook\IM','Enabled',0,'REG_DWORD') ENDIF ; -- This was added as we needed to generate Outlook Profiles in a Citrix Session - thanks Rad! $outlook=CreateObject('Outlook.Application') $ns=$outlook.getnamespace('MAPI') $fldr=$ns.getdefaultfolder(6) $unread=$fldr.unreaditemcount $outlook=0 ENDSELECT DEL $MSOdir+'welcome.msg' ENDIF ENDFUNCTION
_________________________
let the wise listen and add to their learning, and let the discerning get guidance- Proverbs 1:5
|
Top
|
|
|
|
#145105 - 2005-08-10 02:20 PM
Re: Outlook 2000/Exchange 2003 Profgen.exe
|
Flobob
Lurker
Registered: 2005-08-03
Posts: 3
|
Thanks guys.. it was very helpful and Kent if you do read this, great job. The Faq would benefit from this new updated script. I was able to find the new Modprof.exe from Microsoft it seems that Profgen.exe is obsolete.
|
Top
|
|
|
|
#145106 - 2005-08-10 10:28 PM
Re: Outlook 2000/Exchange 2003 Profgen.exe
|
Kdyer
KiX Supporter
   
Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
|
Updated the FAQ.
Thanks!
Kent
|
Top
|
|
|
|
#175560 - 2007-04-21 12:43 AM
Re: Outlook 2000/Exchange 2003 Profgen.exe
[Re: Kdyer]
|
jeremyschubert
Getting the hang of it
Registered: 2005-09-17
Posts: 89
|
Wow, this is fantastic! Great job. Just a couple of quick questions before I test it out:
1. Change 'EXCHANGESERVER' to your server name? You mean the line $exchgsvr='MAILSVR'?
2. $editorpref=xxxxx Does this set Word as the default editor if HTML or Rich Text are selected?
3. $serverloc=@lserver+'Netlogon\Profgen' - Does this refer to where I deposit the files downloaded from the Dependencies section? Can I modify the location?
4. Is there anyway I can script a default signature? Or is that beyond the scope of this?
Thanks guys.
_________________________
--- Bishop Grandin Technology Department 'Either we're on time, or we're late'
|
Top
|
|
|
|
#176285 - 2007-05-15 08:24 PM
Re: Outlook 2000/Exchange 2003 Profgen.exe
[Re: Mart]
|
FRW
Lurker
Registered: 2007-05-15
Posts: 1
|
Hi all,
I am tearing my hair out trying to get Kix to auto-create profiles in our Exchange 2003/Outlook 2003 environment. Our hope was to use Kix to create a profile for a user on the fly whatever computer they log onto on the network.
I know I am missing something really obvious, but I can't seem to find it!
I have kix32.exe in the netlogon directory, along with Outlook.prf and Outlook.kix. I have customized the prf and kix script. When I run "kix32.exe outlook" a mail profile is created but it is a .pst file, not an Exchange profile. I can successfully create the Exchange profile when I simply double-click the Outlook.prf...
Any ideas? HELP!
|
Top
|
|
|
|
#176286 - 2007-05-15 08:59 PM
Re: Outlook 2000/Exchange 2003 Profgen.exe
[Re: FRW]
|
Benny69
Moderator
   
Registered: 2003-10-29
Posts: 1036
Loc: Lincoln, Ne
|
Hi FRW, and Welcome to the board. maybe this will help you out;
;Set a registry key to trigger Outlook to import the PRF file when Outlook starts up
;
; By Andrew Barnes
;
; Tested on OutlookXP, Windows2000 - Easy to modify for others
;
; Beginners : HOW TO: Create a PRF File (Q308300)
;The Custom Installation Wizard:
; Download orktools.exe from:
; The Custom Installation Wizard can be found in:
; "Start\Programs\Microsoft Office Tools\Microsoft Office XP Resource Kit Tools\Custom Installation Wizard"
; once Office XP Resource Kit (orktools.exe) is installed.
; orktools.exe can be found @ ;...
; Create a PRF File by Using the Custom Installation Wizard:
; The PRF file is a text file with syntax that Microsoft Outlook uses to generate a profile. By
; using a PRF file, you can Set up new profiles For users OR modify existing profiles without
; affecting other aspects of your Outlook (OR Microsoft Office) installation. You can also
; manually edit a PRF file to customize Outlook to include services that are NOT included
; In the Custom Installation Wizard user interface.
;Note: The most straightforward way to create a PRF file with Outlook 2002 profile settings is to
; customize the settings In the Custom Installation Wizard, AND then to export the settings to
; a PRF file.
;To create a PRF file In the Custom Installation Wizard:
;1. On the Outlook: Customize Default User Profile page of the wizard, Select how you want to
; customize profiles For your users. To specify settings to be included In a PRF file, Select
; Modify Profile OR New Profile, AND then click Next.
;
;2. On the Next three pages, customize the profile information, For example, configure Exchange
; server connections AND add accounts.
;
;3. On the Outlook: Remove Accounts AND Export Settings page, click Export Profile Settings.
; When you are prompted, type (OR browse to) a file name AND location.
$PrfFile = "C:\somewhere\on a\server\outlook.prf" ;This Variable = "full path and name of the source .prf file"
Function OutlookProfileConfiguration($PrfFile)
; Check for existing Outlook user profile
$def_profile = ReadValue ("HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\", "DefaultProfile")
If @ERROR = 0
;A profile already exists! No need to Configure Outlook.
Exit 1
EndIf
; Check if OfficeXP has never run
$def_outlook = KeyExist("HKEY_CURRENT_USER\Software\Microsoft\Office\")
If Not($def_outlook) ; Key doesn't exist
;****************************************
;***if you use Office XP use this line***
;****************************************
$nul = AddKey("HKEY_CURRENT_USER\Software\Microsoft\Office\10.0\Outlook\Setup")
;******************************************
;***if you use Office 2003 use this line***
;******************************************
;$nul = AddKey("HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Outlook\Setup")
EndIf
; Check for existing Outlook user profile
$def_profile = ReadValue ("HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\", "DefaultProfile")
If @ERROR = 0
;A profile already exists! No need to Configure Outlook.
Exit 1
EndIf
; Set Outlook to First Run State
;****************************************
;***if you use Office XP use this line***
;****************************************
$Firstrun = WriteValue("HKEY_CURRENT_USER\Software\Microsoft\Office\10.0\Outlook\Setup", "First-Run", "00,00,00,00,00,00,00,00", "REG_BINARY")
;******************************************
;***if you use Office 2003 use this line***
;******************************************
;$Firstrun = WriteValue("HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Outlook\Setup", "First-Run", "00,00,00,00,00,00,00,00", "REG_BINARY")
;This section needs to be modified to reflect the name and path of the PRF file
;****************************************
;***if you use Office XP use this line***
;****************************************
$ImportPRF = WriteValue("HKEY_CURRENT_USER\Software\Microsoft\Office\10.0\Outlook\Setup", "ImportPrf", $PrfFile, "REG_SZ")
;******************************************
;***if you use Office 2003 use this line***
;******************************************
;$ImportPRF = WriteValue("HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Outlook\Setup", "ImportPrf", $PrfFile, "REG_SZ")
;OutlookXP successfully configured.
EndFunction
|
Top
|
|
|
|
#194495 - 2009-06-30 12:05 AM
Re: Outlook 2000/Exchange 2003 Profgen.exe
[Re: Benny69]
|
Dex
Just in Town
Registered: 2009-06-29
Posts: 2
Loc: NJ
|
Hi,
Im basically a casual user of kix script. Do i need the Profgen file, it says that its only needed for outlook 2000 and we use 2003 in my company.
also with the line @LSERVER+'Netlogon\Profgen' im guessing this is where I put the outlook.prf file. I updated the serverloc to our exchange server and it doesnt work if i use kix.
my PRF file is working as i excute it I can create profiles in outlook.
|
Top
|
|
|
|
#194506 - 2009-06-30 05:37 PM
Re: Outlook 2000/Exchange 2003 Profgen.exe
[Re: Kdyer]
|
Dex
Just in Town
Registered: 2009-06-29
Posts: 2
Loc: NJ
|
Kent,
Sorry to hijack this thread. I was going to post on the newer thread with the 2007 support and just click on the wrong one,
I got it to work somehow. I deleted all profile and execute the kix file then it works.
Thanks for the help.
Dex
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
0 registered
and 473 anonymous users online.
|
|
|