A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook - Installation
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

PRF problem with PST password



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old November 5th 07, 02:08 AM posted to microsoft.public.outlook.installation
Groupex1
external usenet poster
 
Posts: 4
Default PRF problem with PST password

I have been using the PRF files for a couple of months now for my terminal
service users and just recently got calls about email not configuring.
The problem reported has to do with PST are password protected and when the
PRF files tries to add them it won't prompt user for password. It throws an
error that says "This information service has not been configured. Select an
existing file to confiure, or type the name of a new file to create" The
user then browses to the PST and only until then it prompts for password. If
the password is removed from the PST and profile erased so it configures
again it maps PST without a problem.
Any ideas would be helpful.

Thank you in advance


Here's the PRF I'm using
I can't seem to find how to use these variables that I can use for the
Personal folders. Does anybody know if this is the solution to my issue?
RememberPassword=
Password=

;Automatically generated PRF file from the Microsoft Office Customization
and Installation Wizard

; ************************************************** ************
; Section 1 - Profile Defaults
; ************************************************** ************

[General]
BackupProfile=No
Custom=1
DefaultProfile=Yes
OverwriteProfile=Append
ModifyDefaultProfileIfPresent=true
DefaultStore=Service2

; ************************************************** ************
; Section 2 - Services in Profile
; ************************************************** ************

[Service List]
;ServiceX=Microsoft Outlook Client
ServiceEGS=Exchange Global Section
Service1=Microsoft Exchange Server
ServiceEGS=Exchange Global Section
Service2=Unicode Personal Folders

;************************************************* **************
; Section 3 - List of internet accounts
;************************************************* **************

[Internet Account List]

;************************************************* **************
; Section 4 - Default values for each service.
;************************************************* **************

[ServiceEGS]
MailboxName=%UserName%
HomeServer=mail_server

[Service1]
OverwriteExistingService=YES
UniqueService=Yes
MailboxName=%UserName%
HomeServer=mail_server
AccountName=Microsoft Exchange Server

[Service2]
UniqueService=No
Name=Personal Folders
PathAndFilenameToPersonalFolders=\\File_server\Use rs\%USERNAME%\personal\%username%.pst
EncryptionType=0x50000000


  #2  
Old November 15th 07, 07:02 AM posted to microsoft.public.outlook.installation
Daines Lobo
external usenet poster
 
Posts: 4
Default PRF problem with PST password -

Why dont you try entering the password in the prf. In the "Password-" field for the personal folder, just try entering the password of the pst. And then go to the client, delete the registry key that has the first run value. After this try importing the prf using the importprf switch from the run command.

Also one importing thing here, if pst is stored on UNC, then that is actually not supported even by Microsoft. So it is recommended that the pst is on the local path.
I hope this will resolve your issue.
reply to this post with the result....

A Womand Told Me
http://www.awomantoldme.com
  #3  
Old November 16th 07, 06:06 AM posted to microsoft.public.outlook.installation
Groupex1
external usenet poster
 
Posts: 4
Default PRF problem with PST password -

I tried this and it does work but with 50 users having their PSTs with
passwords, it's just not a solution. I need the PRF to map their current
PSTs and prompt them for password.

"Daines Lobo" wrote:

Why dont you try entering the password in the prf. In the "Password-" field for the personal folder, just try entering the password of the pst. And then go to the client, delete the registry key that has the first run value. After this try importing the prf using the importprf switch from the run command.

Also one importing thing here, if pst is stored on UNC, then that is actually not supported even by Microsoft. So it is recommended that the pst is on the local path.
I hope this will resolve your issue.
reply to this post with the result....

A Womand Told Me
http://www.awomantoldme.com

  #4  
Old November 24th 07, 12:38 AM posted to microsoft.public.outlook.installation
stovetopp77
external usenet poster
 
Posts: 1
Default PRF problem with PST password -

A solution that might work for you is to prompt the user for their password
using a scripting language and then build the PRF on-the-fly (ex. save it to
the user's profile), then launch the newly created, customized PRF.

Note: Code below assumes a default PRF file stored in \\mydomain\NETLOGON

Example Script:
'Start of script
title = "Configure Outlook with PRF"

'File manipulation constants
Const ForReading = 1
Const ForWriting = 2
Const ForAppending = 8

debugmode = 1
LDAPDisplayName = 1
checkPrevious = 1

service = "LDAP"
server = "Server"
sourceFile = "\\mydomain\NETLOGON\somepath\" & service & ".prf"

Set objShell = WScript.CreateObject("WScript.Shell")

'Get user profile, sAMAccountName
Set objEnv = objShell.Environment("PROCESS")
userProfile = objEnv("UserProfile")
if debugmode = 1 then wscript.echo "userProfile:" & vbcrlf & userProfile

sAMAccountName = objEnv("UserName")
if debugmode = 1 then wscript.echo "sAMAccountName:" & vbcrlf & sAMAccountName

targetFile = userProfile & "\" & sAMAccountName & "_" & server & "_" &
service & ".prf"
if debugmode = 1 then wscript.echo "targetFile:" & vbcrlf & targetFile

'PRF file; check existence
Set objFSO = CreateObject("Scripting.FileSystemObject")
if checkPrevious = 1 then
prfExists = objFSO.FileExists(targetFile)

If prfExists Then
if debugmode = 1 then wscript.echo "PRF file previously created and
executed" & vbcrlf & targetFile
wscript.quit
End If
end if

'get user password
password = inputbox("Please enter your PST password:",title,"")

'Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objTextFile = objFSO.OpenTextFile (sourceFile, ForReading)

fileData = objTextfile.readall
fileData = replace(fileData,"Password=***DEFAULT_PASSWORD***" ,"DisplayName="
& password)

Set objTextFile = objFSO.OpenTextFile (targetFile, ForWriting, true)
objTextFile.Writeline fileData
objTextFile.close


'Execute configured PRF file
targetFile = chr(34) & targetFile & chr(34)
if debugmode = 1 then wscript.echo "Import targetFile:" & vbcrlf & targetFile
objShell.Run "outlook.exe /importprf " & targetFile

'Clear PRF file
fileData = "PRF executed. This is now a placeholder file."
Set objTextFile = objFSO.OpenTextFile (targetFile, ForWriting, true)
objTextFile.Writeline fileData
objTextFile.close

if debugmode = 1 then wscript.echo title & " - Complete!"
'End of Script

"Groupex1" wrote:

I tried this and it does work but with 50 users having their PSTs with
passwords, it's just not a solution. I need the PRF to map their current
PSTs and prompt them for password.

"Daines Lobo" wrote:

Why dont you try entering the password in the prf. In the "Password-" field for the personal folder, just try entering the password of the pst. And then go to the client, delete the registry key that has the first run value. After this try importing the prf using the importprf switch from the run command.

Also one importing thing here, if pst is stored on UNC, then that is actually not supported even by Microsoft. So it is recommended that the pst is on the local path.
I hope this will resolve your issue.
reply to this post with the result....

A Womand Told Me
http://www.awomantoldme.com

  #5  
Old November 15th 07, 07:02 AM posted to microsoft.public.outlook.installation
Daines Lobo
external usenet poster
 
Posts: 4
Default PRF problem with PST password -

Why dont you try entering the password in the prf. In the "Password-" field for the personal folder, just try entering the password of the pst. And then go to the client, delete the registry key that has the first run value. After this try importing the prf using the importprf switch from the run command.

Also one importing thing here, if pst is stored on UNC, then that is actually not supported even by Microsoft. So it is recommended that the pst is on the local path.
I hope this will resolve your issue.
reply to this post with the result....

A Womand Told Me
http://www.awomantoldme.com
  #6  
Old November 15th 07, 07:02 AM posted to microsoft.public.outlook.installation
Daines Lobo
external usenet poster
 
Posts: 4
Default PRF problem with PST password -

Why dont you try entering the password in the prf. In the "Password-" field for the personal folder, just try entering the password of the pst. And then go to the client, delete the registry key that has the first run value. After this try importing the prf using the importprf switch from the run command.

Also one importing thing here, if pst is stored on UNC, then that is actually not supported even by Microsoft. So it is recommended that the pst is on the local path.
I hope this will resolve your issue.
reply to this post with the result....

A Womand Told Me
http://www.awomantoldme.com
  #7  
Old November 15th 07, 07:02 AM posted to microsoft.public.outlook.installation
Daines Lobo
external usenet poster
 
Posts: 4
Default PRF problem with PST password -

Why dont you try entering the password in the prf. In the "Password-" field for the personal folder, just try entering the password of the pst. And then go to the client, delete the registry key that has the first run value. After this try importing the prf using the importprf switch from the run command.

Also one importing thing here, if pst is stored on UNC, then that is actually not supported even by Microsoft. So it is recommended that the pst is on the local path.
I hope this will resolve your issue.
reply to this post with the result....

A Womand Told Me
http://www.awomantoldme.com
 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Receiving mail problem with" Enter Network Password" problem. Denzil Outlook - General Queries 5 February 25th 07 01:48 PM
Password problem Larry Outlook - General Queries 3 December 15th 06 08:10 PM
Password Problem Matthew McG Outlook Express 8 November 27th 06 12:12 PM
Password Problem will_s Outlook - General Queries 0 October 15th 06 12:58 AM
password problem bonswar Outlook - Installation 3 September 13th 06 12:29 AM


All times are GMT +1. The time now is 09:28 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.