IGrouppolicyobject OpenDSGPO method takes more time


  • Hi..

    I use openDSGPO method of iIGroupPolicyObject interface to open a gpo to read its registry settings..

    If the gpo i am trying to open is present in same domain or within same forest, the method returns soon. But if the gpo is present in different forest, the method takes around 32 seconds to return.

    I am passing Active directory ldap path which includes the DC name as the first argument.

    Am able to ping that DC from the machine where i am running the code.

    Any idea?

    Wednesday, September 14, 2016 1:23 PM