I can't believe you'd have 10,000 shares on one server!

The second oldest trick, albeit less accurate, is to query WINS with NBTSTAT for the UserID. WINS only allows one UserID so if it doesn't return one for the PC you cann assume:
1. the user haqsn't logged off
2. there is another user with the same NetBIOS name
3. the record hasn't aged out of WINS

Don't tell me... you're running without WINS...

This topic has been discussed several times. Try using the search tools.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.