I work on a Web-Panel to start and end programs on my Windows Server.
The server is a dedicated server with Windows Web Server 2008 R2 and Plesk Panel.
My php code:
taskkill /F /IM Gotcha_Antihack.exe 2>errors.txt
pclose(popen($cmd, "r"));
Text from the errors.txt:
FEHLER: Zugriff verweigert. (Error: access denied)
Can't I execute the taskkill (permissions for the Internet User are granted) or can't the taskkill end the process (the same user start the process)?