I hope this is the appropiate place for this?
I'm getting an access denied error on the code below, particularly the
I'm running on WXP SP2, in VS2003 Enterprise.
I have the WMI Extensions for VS .NET 2003 installed and cannnot access the
any WMI objects from server explorer.
I've found serveral links on the web refering to the wmimgmt.msc which when
I open also give "access denied"
System.Management.WqlObjectQuery("Select * from WIN32_ACCOUNT");
System.Management.ManagementObjectSearcher searcher = new
foreach (System.Management.ManagementObject share in searcher.Get())
sb.Text=string.Format("User: = ", share["Name"]);