Contact List doesn't update itself

  • Thread starter Thread starter Robert Cohen
  • Start date Start date
R

Robert Cohen

I created a script to create a contact list. However, I discover that my contact list doens't update itself. Users will logon and it won't change them to online and users will leave and it wont change to offline. If, however, I log off and log back in, the list gets updated. But it wont further update until I log off and back in again. Any thoughts.
 
Greetings Robert,

Do you happen to be on a corporate network or some other situation where you're probably
using some type of proxy server? If so, the connection between you an the Messenger server
may just be interrupted (assuming you're referring to the .NET Messenger network and not a
local Exchange/SIP-based IM server). Assuming you're using Windows Messenger, you may want
to try MSN Messenger 6.x instead, as it has somewhat better support for maintaining a
connection.

I'm not quite sure what you mean by the script however, what exactly are you doing?
____________________________________________
Jonathan Kay
Microsoft MVP - Windows Messenger/MSN Messenger
Associate Expert
http://www.microsoft.com/windowsxp/expertzone/
Messenger Resources - http://messenger.jonathankay.com

I created a script to create a contact list. However, I discover that my contact list
doens't update itself. Users will logon and it won't change them to online and users will
leave and it wont change to offline. If, however, I log off and log back in, the list gets
updated. But it wont further update until I log off and back in again. Any thoughts.
 
This is exchange server based Windows Messenger and is the 5.0 version of
the exchange server windows messenger

The script I wrote below gathers the names of the users in my organization
with instant messenger enabled and then adds the users to the contact list
in the registry. If I run it, it adds all the users in the organization
into the messenger contact list. However, like I said, it doesn't update
the users status (ie when they go offline and online). The users do get
updated when I log off and on again.
And I know the script is working as far as interacting with the exchange
server since the registry only has the users e-mail address and my contact
list shows the full name of the user in active directory.

Set WshShell= WScript.CreateObject("Wscript.Shell")
Set wnet=CreateObject("Wscript.Network")

strUsername= wnet.username

Set ObjOU= GetObject("LDAP://ou=staff,DC=baltimorebehavioralhealth,DC=org")

For Each ObjUser In ObjOU
If ObjUser.msexchIMaddress <> "" then

strreg=
"HKCU\Software\Microsoft\Exchange\Messenger\Profiles\http://bbhtx.org/instms
g/aliases/" & strusername & "\Contacts\"

strKey= strreg & objUser.msexchIMaddress

WshShell.RegWrite strKey, objUser.msexchIMaddress
end if
next
 
Okay, as it turns out, it has nothing to do with the script.

In my Exchange Instant Messenger, the contact list never updates itself unless you sign out and sign back in.
 
Hi Robert,

Yes, I wouldn't think it would be the script. Do you happen to have the Internet Connection
Firewall engaged? If you do, or aren't sure, click Start, then All Programs, then
Accessories, then Communications and then Network Connections. Then, right click the
network/internet connection, then click Properties. Click the Advanced Tab, and verify that
the Internet Connection Firewall is unchecked.
____________________________________________
Jonathan Kay
Microsoft MVP - Windows Messenger/MSN Messenger
Associate Expert
http://www.microsoft.com/windowsxp/expertzone/
Messenger Resources - http://messenger.jonathankay.com

Okay, as it turns out, it has nothing to do with the script.

In my Exchange Instant Messenger, the contact list never updates itself unless you sign out
and sign back in.

--
Robert Cohen
A legend in his own mind
--

I created a script to create a contact list. However, I discover that my contact list
doens't update itself. Users will logon and it won't change them to online and users will
leave and it wont change to offline. If, however, I log off and log back in, the list gets
updated. But it wont further update until I log off and back in again. Any thoughts.
 
Back
Top