Login Error when using PSEXEC

Problem Description : 

Receive "Logon failure: the user has not been granted the requested logon type at this computer." when using PSEXEC on a remote PC

 

 

 Resolution : 

 

1) Removed Administrators group from the Local Security Settings policy "Deny access to this computer from the network"

2) Made following registry entries...

Workstation ADMIN$ Share

For NT4 Workstations, Win2K Professional, XP Professional, go to:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanManServer\Parameters

Name: AutoShareWks

Data Type: REG_DWORD

Value: 1

Note: A reboot is necessary for this to take effect.

If you want the administrative shares to be re-created, change the value to 1.

For the Remote Registry service

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\RemoteRegistry

Data Type: REG_DWORD

 

Name: Start

Value: 2

A value of 2 will start the remote registry service automatically. 

 

 

 

 

 Revision Date : 4/10/2009