• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 177
  • 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.
0
kgeddes
Asked:
kgeddes
  • 2
1 Solution
 
DeadmanCommented:
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.
0
 
DeadmanCommented:
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.
0
 
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.
0

Featured Post

Veeam Disaster Recovery in Microsoft Azure

Veeam PN for Microsoft Azure is a FREE solution designed to simplify and automate the setup of a DR site in Microsoft Azure using lightweight software-defined networking. It reduces the complexity of VPN deployments and is designed for businesses of ALL sizes.

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