If you try to end process in Windows and getting error “Access denied”, you should try one of these commands.
Open cmd.exe as administrator
wmic process where name="processname.exe" call terminatewmic process where "name='processname.exe'" deletetaskkill /IM "process_name" /T /F