title: DCOM machine level access and launch permissions via PowerShell
body: <p>Is it possible to set machine level "My Computer" access and launch permissions from PowerShell?</p>
  
  <p>The equivalent of</p>
  
  <pre><code>DComPerm.exe -ma set name permit level:l,r
  DComPerm.exe -ml set name permit level:l,r
  </code></pre>
  
  <p>I am looking for a solution using PowerShell v 3.0. The target servers are Windows Server 2008 R2 and 2012.</p>
  
  <p><a href="https://i.stack.imgur.com/paLib.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/paLib.png" alt="My Computer Properties"></a></p>
  
  <p>I have found a number of references for setting the DCOM application security settings. However I can't figure out how to set it at the machine or top level.</p>
  
  <p><a href="https://janbk.wordpress.com/2015/03/12/automating-dcom-acl-with-powershell/" rel="nofollow noreferrer">https://janbk.wordpress.com/2015/03/12/automating-dcom-acl-with-powershell/</a> </p>
  
  <p><a href="https://stackoverflow.com/questions/41934149/alternative-to-using-dcomperm-exe-and-setacl-exe-in-powershell">Alternative to using DcomPerm.exe and SetAcl.exe in powershell</a></p>