Solved

Logon Scripts and .PRF extension

Posted on 2014-12-30
3
141 Views
Last Modified: 2014-12-31
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
Comment
Question by:kgeddes
  • 2
3 Comments
 
LVL 7

Expert Comment

by:Deadman
ID: 40523462
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
 
LVL 7

Accepted Solution

by:
Deadman earned 500 total points
ID: 40523483
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
 

Author Closing Comment

by:kgeddes
ID: 40525091
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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article, I am going to show you how to simulate a multi-site Lab environment on a single Hyper-V host. I use this method successfully in my own lab to simulate three fully routed global AD Sites on a Windows 10 Hyper-V host.
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

29 Experts available now in Live!

Get 1:1 Help Now