My problem relates to windows 7/vista where services run on different sessions, and started from 'SYSTEM' account. If I use GetUserName from a service I will get 'System' username.
But my requirement is to determine the Logged On username.
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download