I want to write a .bat Script, where i want to kill a task remotly from my pc on my windows server 2022.
When i try the command "taskkill /u Administrator /p mypassword /s 192.168.178.226 /im Cluster_Manager.exe /f /t"
it says:
Error: The process with pid 4664 (child process of pid 2384) could not be terminated. Cause: internal error
Firewall is already disabled.
I have no idea what it could be...
[Edit]
I used the PSExec tool form "https://learn.microsoft.com/en-us/sysinternals/downloads/psexec". The tool solved the problem for me.