#45672 - 2003-09-20 03:53 AM
Please help
|
pt
Lurker
Registered: 2003-09-20
Posts: 1
|
Hello all. I am very new to Kix. I took it up because I am presented with a porblem I cannot solve with VBSCRIPT. I need to come up with a script that allows users to log in to any workstation in the domain and access their email through Outlook 2000. We have an Exchange 2000 server and it is a Windows 2000 environment. I read somewhere that it is easy to configure outlook through logon scripts with KIX, but so far I have to say that it looks extremely complicated. I have searched extesibley and have only been able to find one script on this, (the one by Kent Dyer), and it looks very convoluted with functionality that I don't need and very hard to understand. All I need is a simple script to create a mailbox for the user that logs in. Can someone show me how to do this in the simplest manner possible? We don't use PST files, or Personal Address Books.
|
|
Top
|
|
|
|
#45674 - 2003-09-20 05:37 AM
Re: Please help
|
Howard Bullock
KiX Supporter
   
Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
|
Creating a local profile for random users on every computer they log on to does not seem like an effective way to permit users to access their email from computers other than the one they normally use.
Look into implementing the Outlook web interface, "Microsoft Outlook Web Access". This will enable any user to access their mailbox from any browser.
quote: Version 5.5 SP4 Microsoft (R) Outlook (TM) Web Access is a Microsoft Exchange Active Server Application that gives you private access to your Microsoft Outlook or Microsoft Exchange personal e-mail account so that you can view your Inbox from any Web Browser. It also allows you to view Exchange server public folders and the Address Book from the World Wide Web. Anyone can post messages anonymously to public folders or search for users in the Address Book. For more information about this Outlook product, click here.
[ 20. September 2003, 05:40: Message edited by: Howard Bullock ]
|
|
Top
|
|
|
|
#45677 - 2003-09-21 05:58 PM
Re: Please help
|
Kdyer
KiX Supporter
   
Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
|
If memory serves, there is a "simple" version in the FAQ.
The full version is the result of a ton of testing, user feedback, etc. If you don't need all of it, you should be able to get away with the EXCHANGE Server, Userid, and Default Mail profile for the PRF file..
Kent
|
|
Top
|
|
|
|
#45678 - 2003-09-21 06:01 PM
Re: Please help
|
Kdyer
KiX Supporter
   
Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
|
Also, if you don't have 98, 2000, 2002, 2003.. You should be able to weed out of the version(s) you don't have.
Kent
|
|
Top
|
|
|
|
#45679 - 2003-09-21 06:08 PM
Re: Please help
|
Kdyer
KiX Supporter
   
Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
|
Here you go.. This should be about a simple as they come.. This is assuming that you have Outlook 2000 on the system..
code:
$prf='Outlook.prf' $serverloc=@lserver+'\Netlogon\Profgen\Outlook2000' ; Outlook Executables/files location $exch='EXCHANGESERVER'
;Registry locations $ushelfolders='HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders' $userwinkey='HKCU\Software\Microsoft\Windows' $profilelocation=$userwinkey+' NT\CurrentVersion\Windows Messaging Subsystem\Profiles' $scriptdir=SUBSTR(READVALUE($ushelfolders,'Desktop'),1,LEN(READVALUE($ushelfolders,'Desktop'))-8) $prffile=$scriptdir+'\'+$prf $ppru=$profilelocation+'\'+@userid $mses=$profilelocation+'\MS Exchange Settings'
IF KeyExist($ppru) OR KeyExist($mses) RETURN ELSE COPY $serverloc+'\'+$prf $profiledir IF @userid<>ReadProfileString($prffile,'General','ProfileName') $rc=WriteProfileString($prffile,'General','ProfileName',@userid) ENDIF IF 'Yes'<>ReadProfileString($prffile,'General','DefaultProfile') $rc=WriteProfileString($prffile,'General','DefaultProfile','Yes') ENDIF IF $exch<>ReadProfileString($prffile,'Service2','HomeServer') $rc=WriteProfileString($prffile,'Service2','HomeServer',$exch) ENDIF IF @userid<>ReadProfileString($prffile,'Service2','MailboxName') $rc=WriteProfileString($prffile,'Service2','MailboxName',@userid) ENDIF
IF 0=Exist($scriptdir+'\Profgen.exe') COPY $serverloc+'\Profgen.exe' $scriptdir ENDIF IF 0=Exist($scriptdir+'\NEWPROF.EXE') COPY $serverloc+'\NEWPROF.EXE' $scriptdir ENDIF SHELL '%COMSPEC% /C '+$scriptdir+'\Profgen.exe '+$scriptdir+'\Newprof.exe -p '+$prffile+' -X -R -L > nul' ENDIF RETURN
HTH,
Kent [ 21. September 2003, 19:39: Message edited by: kdyer ]
|
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
0 registered
and 1057 anonymous users online.
|
|
|