CONFIGURATION DCOM (service de composant DCOM, pas COM+)
exterminatix
Messages postés10Date d'inscriptionjeudi 15 janvier 2004StatutMembreDernière intervention 4 novembre 2010
-
13 oct. 2005 à 16:03
exterminatix
Messages postés10Date d'inscriptionjeudi 15 janvier 2004StatutMembreDernière intervention 4 novembre 2010
-
14 oct. 2005 à 09:58
Bojour,
Je cherche à configurer les services de composant DCOM
- niveau authentification
- sécurité
- identité
Je sais comment lister tous les services de composant grace à la WMI , mais je ne peut que parcourir pas modifier. Cela apportera peut-être l'indice déterminant pour résourdre le probléme qui est de configurer les objets DCOM.
strComputer = "."
Set objWMIService = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate}!\" & strComputer & "\root\cimv2")
Set colServices = objWMIService.ExecQuery ("Select * from DCOMApplicationSetting")
For each objService in colServices
aut =objService.AuthenticationLevel
util= objService.RunAsUser
' et ainsi de suite .....
' [ CustomSurrogate];
' string [ Description];
' boolean [ EnableAtStorageActivation];
' string [ LocalService];
' string [ RemoteServerName];
' string [ RunAsUser];
' string [ ServiceParameters];
' string [ SettingID];
' boolean [ UseSurrogate];
Next
a la place de Win32_DCOMApplicationSetting avec à chaque fois leurs propriétes propres.
Merci d'avance.
A voir également:
Une erreur s'est produite lors du chargement des informations. (either no configuration (ovhconfig or runtime), or the current configuration is not valid (please, double check the module's requirement) (as a reminder, the global configuration is used for module). (configuration found: php 7.3))