Quantcast
Channel: Security forum
Viewing all articles
Browse latest Browse all 12072

Psexec shows Access denied when i execute a .exe file on a remote machine

$
0
0

Hi All,

I am using Psexec application to run exe on multiple remote machines in the domain. When i run the the .EXE i get the error message saying access is denied.

I am running this script against agents in a list.

Below is the script i am running in the batch:

"C:\Windows\system32\PsExec.exe" @C:\Test.txt cmd

1. I am first connecting to the cmd of the remote computer and it connects successfully.
2. When i enter the .exe file location on the command prompt (which is also in a shared drive but in the same domain).
3. I ran the batch file as Run as administrator
4. I am itself a member of the Domain admins and Administrators group of the domain.
5. Turned off firewall on both sides.
6. Turned off UAC fully as per the below MS article - http://technet.microsoft.com/en-us/library/cc709691(v=ws.10).aspx
7. Pressed shift and right click so i will get the Run as option and mentioned different domain admins user account and password.

Below is the screenshot for your reference: 

Restated both the machines after doing these changes. But still the same issue.

But still i get access is denied. Can anyone please help.


Gautam.75801


Viewing all articles
Browse latest Browse all 12072

Trending Articles



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