title: Powershell Access Denied Issue
body: <p>I'm trying to download registry hives from computers in my domain, and I'm testing some commands locally first. I have two machines (VMs) not on the same domain: SRV2K12 and US-TEST. I can run <code>reg.exe save HKLM\SYSTEM \\SRV2K12\Hives\&lt;hostname&gt;</code> (where  is the local hostname manually typed) successfully on both machines. However, I ultimately need to run the commands remotely, so I'm using Invoke-Command. On my Win 2012 server, I can use <code>Invoke-Command -computername SRV2K12 -ScriptBlock {reg.exe save HKLM\SYSTEM \\SRV2K12\Hives\&lt;hostname&gt;</code> and it works as expected. On my Windows 7 and Windows 10 machines, it doesn't work. I get this error:</p>
  
  <pre><code>ERROR: Access is denied.
      + CategoryInfo           : NotSpecified: (ERROR: Access id denied.: String) []. RemoteException
      + FullyQualifiedErrorId  : NativeCommandError
      + PSComputerName         : &lt;hostname&gt;
  NotSpecified: (:) [], RemoteException
  </code></pre>
  
  <p>I can run <code>Invoke-Command -ScriptBlock {reg.exe save HKLM\SYSTEM \\SRV2K12\Hives\US-TEST}</code> on the US-TEST Windows 7 machine just fine, and it saves the hive to the remote computer. But when I add the <code>-computername US-TEST</code> attribute (on the Win 7 or 10 machine) it tells me access is denied.</p>
  
  <p>Any ideas how I can get that to work? I have already ran <code>enabled-psremoting -force</code> on those machines and it completes successfully. I also ran <code>Set-item wsman:localhost\client\trustedhosts -value *</code> on both machines. No change.</p>