Hi all, I want to count the number of displays devices attached to the pc from within a service. We need this to be able to check the status of the monitors that are attached to the display cards. I use the EnumDisplayDevices function to accomplish this. On XP/W2K this was perfectly possible but on Vista it refuses to detect the devices. It has probably something to do with the fact that all services run in session 0 now under Vista and therefore (I guess) has no access to the gdi. When I call the function from within a program (with user logged in), it works. Has anyone got the same phenomenon? I should appreciate any help because this will be a reason that our app should not work on Vista. Eric