I have a code developed in WMI that connects to remote machine to collect
system information. At present it uses a service account to connect to the
WMI on the remote machine but I want to have the connection to WMI on the
remote computer being established using the rights\privileges of the calling
user without using a predefined service account for this purpose i.e based on
the rights of the calling user the connection to the remote WMI will be
established or refused.
Can this be done?
Any help or clue on this would be greatly appreciated...
I am running my code on Win2k3\iis6 and having the same service account that
is making the connection to the remote WMI being used as the identity of the
I have used aspnet_regiis -ga option to assign appropriate rights to the
service acounts before using it as the identity on the application pool
My code is running with integrated authentication and identity impersonate
is set to true in the web.config file