Page 1 of 1 1
Topic Options
#45672 - 2003-09-20 03:53 AM Please help
pt Offline
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
#45673 - 2003-09-20 04:53 AM Re: Please help
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
well, the code by kdyer in FAQ forum is the easiest way.
the fact that there is a lot of changes needed makes it harder.
you can always modify the prf-file to suite your needs (set the server and such) and you will end up with some 4-10 line long script.
_________________________
!

download KiXnet

Top
#45674 - 2003-09-20 05:37 AM Re: Please help
Howard Bullock Offline
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 ]
_________________________
Home page: http://www.kixhelp.com/hb/

Top
#45675 - 2003-09-20 04:05 PM Re: Please help
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
I would imagine that a Citrix published app may be another option albeit $$$.

[ 20. September 2003, 16:22: Message edited by: LLigetfa ]
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#45676 - 2003-09-20 10:51 PM Re: Please help
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
that's why normal ppl play with the profiles.
_________________________
!

download KiXnet

Top
#45677 - 2003-09-21 05:58 PM Re: Please help
Kdyer Offline
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
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's

Top
#45678 - 2003-09-21 06:01 PM Re: Please help
Kdyer Offline
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
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's

Top
#45679 - 2003-09-21 06:08 PM Re: Please help
Kdyer Offline
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 ]
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's

Top
#45680 - 2003-09-22 09:44 PM Re: Please help
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
A) We're using roaming profiles and have no problems at all with users roaming to different computers and reading their Outlook email.

B) The FAQ Forum contains information on how to configure Outlook with the help of KiXtart and other utilities.
_________________________
There are two types of vessels, submarines and targets.

Top
Page 1 of 1 1


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 640 anonymous users online.
Newest Members
ManuvdWielNL, Sir_Barrington, batdk82, StuTheCoder, M_Moore
17887 Registered Users

Generated in 0.079 seconds in which 0.056 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org