Unable to connect Windows system using PSExec

Krishnendu Bhowmick 0 Reputation points
2023-06-30T10:19:35.93+00:00

I am facing trouble connecting my Windows Pro 10 N system using PSExec. The error message I am receiving is "Could not start PSEXESVC service on 172.10.15.220: Access is denied."

To resolve the issue, I have tried the following:

  • Modified the registry by running the commands: reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" /v EnableLUA /t REG_DWORD /d 0 /f reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" /v LocalAccountTokenFilterPolicy /t REG_DWORD /d 1 /f
  • Changed the GPO by going to Computer Config > Windows settings > Security Settings > Local Policies > User Rights Assignment: and ensuring "allow log on locally" and "allow log on through remote desktop services".

None of these solutions has worked. Can someone help me find a solution to this problem?

Sysinternals
Sysinternals
Advanced system utilities to manage, troubleshoot, and diagnose Windows and Linux systems and applications.
1,239 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Alex Mihaiuc 256 Reputation points Microsoft Employee
    2023-07-05T15:59:15.75+00:00

    psexec currently depends on Server (LanmanServer) for its operation. Could it be that it's stopped or disabled on your machine?


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.