1

Is there any way to start google chrome's task manager from command line?

(In fact, I'm even having trouble identifying the process associated with the task manager popup. For instance, I can kill every chrome.exe process except for the gpu-process and utility, neither of which are the task manager pop-up, with the chrome task manager unaffected.)

1
  • 2
    You probably need more then a command line to do this, I’m not 100% sure about some command line capable to do this task..
    – Io-ol
    Apr 16 '20 at 18:17
1

To do this you really need more than the command line.

Try this hybrid script with cmd/bat and vbs, use SendKeys to send Shift+Esc to call the Task Manager in the Chrome interface.

<!-- :
@echo off
"%windir%\system32\wScript.exe" "%~dpnx0?.wsf" & goto :EOF
:: --> 
<job> 
<script language = "vbscript"> 
Set WshShell = WScript.CreateObject("WScript.Shell")
WshShell.Run "Chrome.exe", 9
WScript.Sleep 700
CreateObject("WScript.Shell").SendKeys "+{ESC}"
</script>
</job>
  • You can also use SendKey in Powershell ...
$wshell = New-Object -ComObject wscript.shell
$obj = New-Object -com Wscript.Shell
$wshell.Run('Chrome'),9
Start-Sleep -m 700
$obj.SendKeys("+{ESC}")

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.