Solved

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

Posted on 2007-11-15
2
845 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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Join & Write a Comment

Marketers need statistics and metrics like everybody else needs oxygen. In this article we explain how to enable marketing campaign statistics for Microsoft Exchange mail.
Following basic email etiquette rules will help you write a professional email and achieve a good, lasting impression with your contacts.
To show how to create a transport rule in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Mail Flow >> Rules tab.:  To cr…
This video discusses moving either the default database or any database to a new volume.

757 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

17 Experts available now in Live!

Get 1:1 Help Now