Solved

Need sample script to add exchange profile to all users

Posted on 2007-11-19
5
2,224 Views
Last Modified: 2010-06-08
I am looking for a vb script to add exchange profile to all users, the script should automatically add the user account to outlook and point to the specific server, the idea is so when a user clicks on outlook it should just open WITHOUT the wizard and the user should see their mailbox. The script should also ignore users whos outlooks/exchange profiles are already setup

the environment is that all users are on outlook 2003 and the exchange server is 2003 with sp2
there is a mix of windows 2000 and windows xp users

I am looking for BOTH a sample prf file and the sample vb script

Lets assume the exchange server is called exchserv and the domain is sub.domain.local

thanks in advance for all your help
0
Comment
Question by:vmamedov
  • 3
  • 2
5 Comments
 
LVL 11

Expert Comment

by:bsharath
ID: 20312549
0
 
LVL 11

Expert Comment

by:bsharath
ID: 20312564
0
 

Author Comment

by:vmamedov
ID: 20314341
I am looking for a script that I can implement and just change the values to fit my environment, a sample prf and a sample vbs script

thanks in advance
0
 

Author Comment

by:vmamedov
ID: 20397977
bsharath, were you able to find a samle prf and vb script for this?
0
 
LVL 11

Accepted Solution

by:
bsharath earned 500 total points
ID: 20400562
Here are some moe links to help you
http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/Server/2003_Server/Q_22945584.html?sfQueryTermInfo=1+outlook+prf

http://www.experts-exchange.com/Software/Server_Software/Email_Servers/Exchange/Q_21790909.html?sfQueryTermInfo=1+outlook+prf


For office 2007 unattended installation I have got some links which can do it. I have also created the installation package from here.

http://www.msfn.org/board/Office_2007_Unattended_Setup_and_Fine_tun_t72392.html
http://forum.landesk.com/showthread.php?t=9341


You will need an Enterprise or Corporate Disc and Product Key to create a unattended install of Office 2007, it is done differently in Office 2007 as it uses MSPs (Windows Installer Patches) rather than MSTs (Windows Installer Transforms) to customize the install sequence.

There is a thread, with instructions on MSFN: http://www.msfn.org/board/lofiversion/index.php/t72392.html

"For Professional Plus, you need to follow these steps:
1. Copy the install source files to your application server.
2. Run setup.exe /admin to configure product options, enter the serial number, etc.
3. Save the resulting .msp file into the Updates folder in the Office 2007 directory on your application server.

I got this which I saved it for future use. Hope this helps.

Here is another excellent procedure to configure outlook profiles automatically. It is a MST file with which you can combine with the unattended installation of office 2003 and later you can login to any machine and your outlook is ready to user even with the pst created for you.

Download the Office Resource Kit files from here

http://office.microsoft.com/en-us/ork2003/HA011401701033.aspx

Here is the installation procedure

http://office.microsoft.com/en-us/ork2003/HA011525761033.aspx

When you install Outlook you should configure the outlook profile as part of creating a transform file with the Custom Installation Wizard.  If you have already deployed outlook then you can modify the installation using the custom maintenance wizard.

Create a maintenance wizard file that configure outlook with the name of your exchange server and %username% as the user name, then copy the maintwiz.exe file to the startup scripts folder of a GPO and create a startup script to apply the maintwiz file to the machine.

Once applied, new profiles will simply have to launch outlook and it will connect to exchange automatically.  I generally create a CNAME for the Exchange server called "mail" and configure outlook to point to this.  This way if you migrate to a new exchange server you wont have to modify all your desktops again.

The Custom Installation Wizard and the Custom Maintenance Wizard are both part of the Office Resource Kit.
I have created a MST file for Office 2003 with Sp2.While installing Office just copy the below command and paste in Run Prompt > Enter

\\Machinename\Office2003withSp2\setup.exe TRANSFORMS="\\Machinename\Office2003withSp2\New Custom Setup File.MST" /qb-

If you have a different installation path change the content marked in red. Make sure the folders dont have spaces.

The installation is done automatically without any users interface with Sp2.
The main purpose of using this code is when ever any user logs in with his user name for the first time the outlook will get configured by itself.

1.      Exchange name
2.      Username
3.      PST file is created in D drive.
4.      Route to PST for receiving mails
All are done by itself.

This saves 5 min of our time to configure Outlook for new joiners. We can install once in a Image to use it henceforth.

If you are configuring for a existing user you just need to change the PST of the user to the old PST path.

Hope this helps...
0

Featured Post

Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

Question has a verified solution.

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

Welcome back!  My apologies for taking so long to write part two of this series; it's been a long time coming!  As I promised in Part 1, this article will focus on how to locate those elusive AD properties that you are searching for.  Why is this us…
This article is the result of a quest to better understand Task Scheduler 2.0 and all the newer objects available in vbscript in this version over  the limited options we had scripting in Task Scheduler 1.0.  As I started my journey of knowledge I f…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

827 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