Stefano
Stefano

Reputation: 131

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?

Upvotes: 9

Views: 17781

Answers (2)

PMD
PMD

Reputation: 64

In domain based environment, Microsoft PowerShell Remoting may be an alternative to PsExec. In workgroup setup, especially among many different versions of Windows it may get bit challenging.

PowerShell remoting requires PowerShell 2.0 on both client and server.

Also, ssh with it's all capabilities (including launching remote commands) works under Windows, even free servers (freesshd) and clients (PuTTY family) are available . Downside is requirement for highly privileged account (usually, in some Administrators group) - at least for initial setup.

The GATE1 part in your log is interesting - PsExec requires so called "admin share" enabled (not sure does it work in Windows 8). I'd bet it's not the system, but a network issue.

Upvotes: 0

nmax
nmax

Reputation: 1111

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)

Upvotes: 14

Related Questions