Solved

Logon Scripts and .PRF extension

Posted on 2014-12-30
3
150 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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
While rebooting windows server 2003 server , it's showing "active directory rebuilding indices please wait" at startup. It took a little while for this process to complete and once we logged on not all the services were started so another reboot is …
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…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

810 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