How to kill Windows Photo Viewer

Hi

I am trying to kills windows photo viewer using kill activity by using “Windows Photo” or “Photo Viewer” or “Windows Photo Viewer” in process name. But it is not killing it. Can you help in this.

Regards

@ankit.jain1 - To kill any process using kill process - input name should be a process name with extension.

To Kill the process - you can try below
use - start process activity and pass below code and try…

File Name : “c:\windows\system32\taskkill.exe”
Arguments :

taskkill /f /fi "WINDOWTITLE eq Photos*" /t

if above didn’t work as expected… replace the Arguments with below…

taskkill /f /im dllhost.exe

1 Like