I needed to find if there is any service running with a service account on the Citrix servers and this script helped me on Windows 2000 & 2003 servers (ofcourse not my work, posting here for records)
-------------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------------
Option Explicit ' force varibales to be declaired
' declair constant variables
Const FOR_READING = 1 ' declair OpenTextFile variables
Const FOR_WRITE = 2 ' declair OpenTextFile variables
Const FOR_APPENDING = 8 ' declair OpenTextFile variables