title: Get physical path corresponding to a network share on local computer
body: <p>I want to be able to get the physical path (<code>C:\somepath...</code>) corresponding to an UNC path to a network share on the <strong>local</strong> computer (<code>\\mycomputer\somepath...</code>).</p>
  
  <p>I've tried doing this using <a href="http://briancaos.wordpress.com/2009/03/05/get-local-path-from-unc-path/" rel="nofollow">ManagementObjectSearcher as described here</a>.  This works fine when running as an Adminstrator, but fails when running from a non-privileged account.</p>
  
  <p>No exception is thrown, the <code>SelectQuery</code> simply returns a ManagementObject whose <code>path</code> property is null.</p>
  
  <p>I would like to be able to get this information from a non-privileged account, without adding the account to privileged groups such as Administrators or Power Users.</p>
  
  <p>Can anyone indicate how to do this - what are the minimum privileges needed to execute this query successfully?</p>
  
  <p>I've tried giving permission to the account <a href="http://tomas-simonavicius.blogspot.com/2009/04/managementobjectsearcher-access-is.html" rel="nofollow">as described here</a> using Computer Management / WMI Control / Security but this makes no difference - even if I give all permissions to the Root node with Apply onto "this namespace and subnamespaces".</p>