• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 182
  • Last Modified:

Logon Scripts and .PRF extension

Windows 2008 domain with WIndows_7 and some Windows XP clients. We have a situation here where we want to avoid the use of GPO and Roaming Profiles over a VPN for a certain group of users, we going to go with local profiles. We are researching the use of a batch script to do the usual 'net use' stuff for drives and printers etc to produce a manual profile but, what is really catching us is using a .PRF extension to control the default behaviour of Outlook Client 2010, where it defaults into cached mode, we want to force it into On-Line mode when the VPN user log on to the domain. We are looking for help scripting this.
  • 2
1 Solution
DeadmanIT ConsultantCommented:
To apply a .prf file by using other options
Specify the .prf file as a command-line option for Outlook.exe to import a .prf file without prompting the user. For example: outlook.exe /importprf \\server1\share\outlook.prf.
DeadmanIT ConsultantCommented:
Go to C:\windows\sysvol\sysvol\mydomain.com\scripts

Create new txt file. In that type

 outlook.exe /importprf \\server1\share\outlook.prf

go to file ---> save as --> outlook.bat( save the file as .BAT file)

go to Active directory--->select your vpn user -->Right click----> properties--> profile tab ---> logon script mention your .BAT file name.

Click appy ---> OK.
kgeddesAuthor Commented:
After all the work done on roaming profiles, my leaders in their wisdom, have this morning, decided not to use logon scripts. They have also discounted group policy. Thus I won't waist more of anyone's time on this. .... closed.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Easily manage email signatures in Office 365

Managing email signatures in Office 365 can be a challenging task if you don't have the right tool. CodeTwo Email Signatures for Office 365 will help you implement a unified email signature look, no matter what email client is used by users. Test it for free!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now