Quantcast
Channel: Windows 7 Miscellaneous forum
Viewing all articles
Browse latest Browse all 11372

PsExec: "Acess is denied" when trying to run on a machine where the admin is different domain account.

$
0
0

I was trying to run the following command  from my machine logged as domain\user1:

psexec \\machine-name notepad.exe -u domain\user2 -p password

User2 is the admin on the target machine and also on the same domain as user1.

I have also verified the following solution recommend elsewhere but none of them worked:

1. running the command as administrator

2. net use \\targetpc /user:user  is also working but still the same error

Moreover, when the both the machines were logged in with same credentials the command worked fine.

Please help!!!!


Viewing all articles
Browse latest Browse all 11372

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>