Hi, I need a help to start a script where i can see if the service ( shared fles and printers) are active in the desktops.( win9X/w2k and XP)

Any idea ?