Solved

new users and need script to setup outlook for each user when they log in..

Posted on 2007-11-15
2
846 Views
Last Modified: 2010-05-18
I need to setup a script to setup Outlook for my new users on a terminal server.
I am running exchange 2003 and server 2003  standard Edition.

can someone point me in the right direction or provide me with a  good solutions. i have about 150 users i need to configure outlook for a script or some sort of auto fill will work great. but i could be dreaming.

Thanks
0
Comment
Question by:vonsean
2 Comments
 
LVL 8

Expert Comment

by:JSoup
ID: 20293379
http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/Windows/XP/Q_22596100.html?eeSearch=true
PRF For Outlook?
Bookmark:Question: How ot make it so when users login to there Outlook for the first time, Outlook is automatically set up.
0
 
LVL 4

Accepted Solution

by:
itquestions earned 125 total points
ID: 20298609
Here is what I did for our setup:

I created a prf file (there are many instructions avail on the internet on how to do this).  I then used winrar to create a zipped self extracting archive.  I also created a login script that checked for the "first run" registry key.  If the key had been run, it would skip the registry entry and move forward, but if the program had not been run, it would create a shortcut on the users desktop that pointed to the winrar file I created.  works great.  I can even change little settings here or there since the pcf file is actually a text file.  Here is what I have.  If you have some more questions, let me know.

**********************VBS Script to ADD shortcut********************

Dim WshShell, regkey, readreg, filesys
Set WshShell = WScript.CreateObject("Wscript.Shell")
Set filesys = createobject("Scripting.FileSystemObject")

regkey = "HKCU\Software\Microsoft\Office\11.0\Outlook\Setup\First-Run"

On Error Resume Next
readreg = WshShell.RegRead(regkey)
If Err Then
            Err.Clear
            RegRead = Null
            
'-------This ADDs a shortcut to the %userprofile% desktop--------

' Path --- Change this to the location of the self-extracting prf file
strFilePath = "c:\program files\"

' File you want to run
strFile = "oakbrook.exe"

' Name you want displayed under the shortcut Icon
strFileName = "Setup Email"

' You can replace StartMenu with 'Desktop' or "StartMenu'
strLink = WshShell.SpecialFolders("Desktop") + "\" & strFileName & ".lnk"

Set WshShortcut = WshShell.CreateShortcut(strlink)
WshShortcut.Description = strFileName
WshShortcut.TargetPath = strFilePath & "\oakbrook.exe"

WshShortcut.WindowStyle = 1
WshShortcut.WorkingDirectory =  strFilePath
WshShortcut.Save

'-------------------------------------------------------------

Else
filesys.DeleteFile strFilePath & "Setup Email.lnk"

End If
*****************************************************************


Winrar file ---- Zip the pcf file into it and create a sfx archive with these parameters.  I have the sfx archive located in the program files directory and have the pcf file self extract to that location.  You can change things around so they go to the temp dir or something.  I hope this helps.

;The comment below contains SFX script commands

Setup=outlook.exe /importprf "c:\program files\oakbrook.prf"
Silent=1
Overwrite=1

0

Featured Post

Do email signature updates give you a headache?

Do you feel like you are constantly making changes to email signatures? Are the images not formatting how you want them to? Want high-quality HTML signatures on all devices, including on mobiles and Macs? Then, let Exclaimer solve all your email signature problems today.

Question has a verified solution.

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

This article lists the top 5 free OST to PST Converter Tools. These tools save a lot of time for users when they want to convert OST to PST after their exchange server is no longer available or some other critical issue with exchange server or impor…
Read this checklist to learn more about the 15 things you should never include in an email signature.
The basic steps you have just learned will be implemented in this video. The basic steps are shown to configure an Exchange DAG in a live working Exchange Server Environment and manage the same (Exchange Server 2010 Software is used in a Windows Ser…
how to add IIS SMTP to handle application/Scanner relays into office 365.

896 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

11 Experts available now in Live!

Get 1:1 Help Now