Running wmi process remotely, doesnt have proper domain user privileges
<p>i need to run a WMI script, to create a process on a remote with specific privileges (in a domain).</p>

<p>The scenario is as the following:
Computer <code>A</code> with domain user <code>a</code>
Computer <code>B</code> with domain user <code>b</code>
Computer <code>C</code> with domain user <code>c</code>
Domain admin user, called <code>administrator</code></p>

<p>from computer <code>A</code>, im running runas.exe, and creating a new CMD prompt  with <code>administrator</code> account privileges.</p>

<p>from this command prompt, im running a VBS script to create a remote process on computer <code>B</code> (successfully).</p>

<p>Within the new process on computer <code>B</code> im trying to access directories on both computer <code>A</code> and <code>C</code>. both result in <code>Access denied (5)</code>.</p>

<p>when im running on computer <code>B</code> runas, using the <code>administrator</code> privileges, i do have the access to other computer, and the domain admin privileges, but when the process is ran from WMI i dont.</p>

<p>If i am running cmd.exe, and i type <code>whoami</code>, i get <code>DOMAIN_NAME\Administrator</code>, so i know for sure i am running in the domain admin privileges.</p>

<p>Does anyone have an idea of what the reason for this might be?</p>