Closed somnmos closed 5 years ago
That error message tells me you are connecting with an Admin box but you have not configured the LocalAccountTokenFilterPolicy
. This registry property must be set to 1
as per the first example in https://github.com/jborean93/pypsexec#user-account-control. What this key does is to stop Windows from filtering any network logon for a local account so that it will have it's full Administrative rights. There is no way around this as without it the network logon won't have rights to manage the Windows services.
problem
i want to execute remote command from ubuntu to windows 7, but i get the follow execption.
i read the docs, but don't get some helpful info, can you give me some tips to solve it.
env
code