Solved

Logon Scripts and .PRF extension

Posted on 2014-12-30
3
135 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
Comment Utility
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
Comment Utility
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
Comment Utility
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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

If, like me, you have a lot of Dell servers in the estate you manage this article should save you a little time. When attempting to login to iDrac on any server I would be presented with two errors. The first reads "Do you want to run this applicati…
Disabling the Directory Sync Service Account in Office 365 will stop directory synchronization from working.
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
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…

744 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

14 Experts available now in Live!

Get 1:1 Help Now