PSexec - get console access Windows 10 problem

Hello,

I've installed Windows 10 on my PC. Meanwhile all looks works pretty well. I put my attention on follow problem, when I tried access console from remote PC, by psexec \\<PC name> -u 'user' -psswd 'password' cmd /k

I got follow error: access denied

My solution:

Open regedit from start. Go to HKEY_LOCAL_MACHINE -> Microsoft -> Windows -> Current version -> Policies -> System

Add REG_DWORD (32 bit) LocalAccountTokenFilterPolicy and set value to 1. (this register exist in previous versions of Windows, but lack on Windows 10)

Then remove firewall, run from admin permission command line: netsh advfirewall set allprofiles state off

Now, psexec should work.

Thanks,

Sasha

Was this discussion helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this discussion?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this discussion?

Thanks for your feedback.

 

Discussion Info


Last updated February 2, 2021 Views 26,379 Applies to: