Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PsExec Windows 8 access denied

I've 8 computers running Windows 8 (the basic edition) and I'm trying to run some application on each of them with a batch script.

I tried:

PsExec.exe -i -d -u USER -p PASSWD \\PCNAME explorer.exe

But it gives me:

PsExec v1.98 - Execute processes remotely
Copyright (C) 2001-2010 Mark Russinovich
Sysinternals - www.sysinternals.com

Couldn't access GATE1:
Access is denied.

It works fine on other PCs with Windows 7 Professional.

Does it works just on Pro edition? If so, is there a way I can run something remotely on Win 8?

like image 713
Stefano Avatar asked Dec 17 '12 14:12

Stefano


People also ask

How do I unblock PsExec?

Turns out that when you have UAC enabled psexec does not work as supposed. We need to set HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA to 0 then psexec starts working as expected. Highly active question.

Does PsExec need admin rights?

To start using PsExec, just close the existing PowerShell console and launch a new one. If you want to use it in a command prompt, you can launch a command prompt. Whichever you choose, just make sure you launch an elevated session since PsExec requires administrator privileges to run programs on remote computers.

How do I enable PsExec services?

To use PXE to deploy an OS, distribute both x86 and x64 PXE-enabled boot images to one or more PXE-enabled distribution points. To enable PXE on a boot image, select Deploy this boot image from the PXE-enabled distribution point from the Data Source tab in the boot image properties.


1 Answers

I resolved the same PsExec "Access is Denied" error on a Windows 8 Pro 64-bit target machine with the following registry modification on the target machine:

Registry Location: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System

Add DWORD LocalAccountTokenFilterPolicy

Set LocalAccountTokenFilterPolicy to 1

(Reboot)

like image 99
nmax Avatar answered Oct 11 '22 15:10

nmax