Quote:

Has anyone come across a tool or written KiX script that helps with the transition from one Exchange server to another by modifying the Exchange server name in the profile?

I will decommission my Exch5.5 server on Wednesday and am looking for a way to check who has a profile on their computer that still doesn't have the new server name.

Thanks!




Hey.. You can try the following:
Code:

$exchgsvr='MAILSVR' ; Main Exchange Server Location
IF @INWIN ;Windows NT/2k/XP/2003
$prfloc='HKCU\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles'
ELSE
;Windows 9x
$prfloc='HKCU\Software\Microsoft\Windows Messaging Subsystem\Profiles'
ENDIF
; -- Current User Profile
$ppru=$prfloc+'\'+@USERID
; -- This is used for when you have people come into the company from another Exchange Server into yours
IF AND READVALUE($ppru+'\13dbb0c8aa05101a9bb000aa002fc45a','001e6602')<>$exchgsvr
$rc=WriteValue($ppru+'\13dbb0c8aa05101a9bb000aa002fc45a','001e6602',$exchgsvr,'REG_SZ')
$rc=WriteValue($ppru+'\13dbb0c8aa05101a9bb000aa002fc45a','001e6608',$exchgsvr,'REG_SZ')
ENDIF



HTH,

Kent


Edited by kdyer (2006-06-14 02:28 AM)
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's