Good, easy solution Jens if the Admin user is logged on.

This key is better:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList

as all profiles are listed all the time.

[ 14. October 2003, 16:05: Message edited by: Howard Bullock ]
_________________________
Home page: http://www.kixhelp.com/hb/