How to automatically configure outlook 2003 for users each time they move to new computer

Is it possible when a new user sits at computer to automatically have thier email setup when they log into computer
Who is Participating?
Serge FournierConnect With a Mentor Analyst ProgrammerCommented:
this question is old

use the developer office tool kit (free to download at microsoft site)
generate a .PRF file with your setup
click on prf file for automatic outlook setup (2007 is different, this work for 2003)

you need more? there is a key to verify if outlook was never run and then run the PRF if first run

Set objshe    = WScript.CreateObject("WScript.Shell")
set objEnv    = objshe.Environment("PROCESS")
Set objFSO    = wscript.CreateObject("Scripting.FileSystemObject")
Set objNet    = CreateObject("WScript.Network") 
set objsheapp = wscript.CreateObject("Shell.Application")
Set objReg    = GetObject("winmgmts:{impersonationLevel=impersonate}!\\.\root\default:StdRegProv")
      'if objFSO.fileEXISTS(useappdat & "\Microsoft\Office\MSOut11.pip")=0 then
      '   d=regwri("HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Outlook\Setup\firstrun","-","REG_SZ")
      '   d=regwri("HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Outlook\Setup\ImportPRF","c:\_stas\outlook\outlook2k3.prf","REG_SZ")
      'end if
'====== write a value in registry, trap error
function regwri(regkey, value, type01)
   if type01<>"" then
      on error resume next
      objshe.RegWrite regkey,value,type01
      objshe.RegWrite regkey,""
   end if
   if err.number<>0 then
      'msgfin = msgfin & "`n" & regkey & "`n"
      toterrcop = toterrcop + 1
      msgfin03 = msgfin03 & vbcrlf & "error - register base not written: " & vbcrlf & regkey & vbcrlf & err.description & vbcrlf
      if usenam = debugname then
         'msgbox("cannot write key" & vbcrlf & regkey & vbcrlf & value)
      end if
   end if
end function

Open in new window

felnyConnect With a Mentor Commented:
The best way is using a movible user's.

Just create a c:\profile\users in the server, or a disc to shere, and then copy that in the profile of the properties, look at the picture.

You are not goint to be able to connect to exchange, you are going to be able all your configurations on all the computer, My documents, screensaver, picture, etc.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.