none
PSEXEC Error Access Denied

    質問

  • Hi Tech Support,

    I got below error when using psexec on remote computer (india). user123 is admin at india. Admin$ and IPC$ can access without error. Please help....

    psexec \\india -u india\user123 -p admin@123 -h cmd

    Error establishing communication with PsExec service on india:
    Access is denied.

    2018年4月24日 9:08

すべての返信

  •  

    Hi,

    What’s the error message before Access is denied?

    On my test machine it show me as the following screenshots.

    After I add the LocalAccountTokenFilterPolicy registry, it can access successfully.

    Please try to take following steps to see if it can work.  

    (Before you do this please back up your registry. Here is link: https://support.microsoft.com/en-us/help/322756/how-to-back-up-and-restore-the-registry-in-windows)

    1. Click Start, click Run, type regedit, and then press ENTER.

    2. Locate and then click the following registry subkey: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System

    3. If the LocalAccountTokenFilterPolicy registry entry does not exist, follow these steps: 

    3.1 On the Edit menu, point to        New, and then click DWORD Value.

    3.2 Type        LocalAccountTokenFilterPolicy, and then press ENTER.

    4. Right-click LocalAccountTokenFilterPolicy, and then click Modify.

    5. In the Value data box, type 1, and then click OK.

    6. Exit Registry Editor.


    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    2018年4月25日 6:08
  • Thanks Vera Hu for reply.

    I've do what you list but still get same error.


    2018年4月26日 1:31
  • Sysinternals is not a Default Win 7 software.

    https://docs.microsoft.com/en-us/sysinternals/

    Actually its a 3rd party installation,even if it came from TechNet/Microsoft.Youre best bet,in run or cmd type: services.msc  scroll to remote data,double click,reset its start-up & defaults.Also,Win firewall might be edited,allow remote data.The normal "Access Denied" comes from user account/uncheck parental software...Also,do youre editing in Win Power Shell.

    2018年4月26日 1:53
  • Please check if you run the PsExec service on 10.XXX PC.

    If no, you need to also download the PsTools, and run the PsExec.exe.


    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    2018年4月26日 7:09
  • Hi, 

    How’s everything going? Please feel free to give me any update.


    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    2018年4月27日 8:02
  • Still not working until my pc has restart for windows updates. Suddenly psexec working back. When psexec on my pc not function. I can using & run it at another pc.

    I think maybe some setting at policy make it cannot run from my pc.

    2018年5月22日 4:52
  • Has anyone find a solution to the "Access Denied" issue?
    • 回答の候補に設定 JSneade_Z 2018年10月2日 17:48
    • 回答の候補の設定解除 JSneade_Z 2018年10月2日 17:49
    2018年7月9日 19:49