How to CM_Connect_Machine to Windows Vista ?(CR_NO_CM_SERVICES error) RRS feed

  • Question

  •  am listing devices successfully (connected or disconnected) on remote Windows machines like Win 2000, XP, 2003, etc, using the SetupDi  and CM_ family of functions, everything works fine. However then trying to access a Vista (Enterprise) machine ( remote registry enabled, valid credentials, etc ) for example with CM_Connect_Machine it fails with error : CR_NO_CM_SERVICES (0x00000032). Any idea what needs to be enabled for this?


    Another thing I tried is to connect with "Administrative Tools>Computer Management" on the remote machine, the connection is established successfully but when i try to enter on "Device Manager" it fails with the error:

        Unable to access the computer AVISTA.

        Make sure that this computer is on the network, has remote administration  enabled,  and is running the  "Plug and Play" and "Remote Registry" services.

        The error was: Access is Denied.


    I would gladly appreciate any advice. Thanks.

    Tuesday, April 10, 2007 11:56 AM