Sebastian42 Posted July 2, 2021 Report Share Posted July 2, 2021 I have a useful program that often does not launch (with Windows, and then not at all). One way around the problem, is to kill its two entries in the Background Processes of Task Manager, and then to relaunch it. I'd like a macro that achieves that, but it's beyond my capacity to devise it. Can anyone help ? Quote Link to comment Share on other sites More sharing options...
Cory Posted July 2, 2021 Report Share Posted July 2, 2021 You don't really need MEP for that. Just use TaskKill in a batch file which would also have the command to launch the application. Quote Link to comment Share on other sites More sharing options...
Sebastian42 Posted July 2, 2021 Author Report Share Posted July 2, 2021 Thank you. "Applies to: Windows Server (Semi-Annual Channel), Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012" That leaves me in doubt whether it applies to x32Win10ProV21H1 but no doubt, serious study can bring a solution. It seems a rather formidable task to fill in the relevant details of taskkill [/s <computer> [/u [<domain>\]<username> [/p [<password>]]]] {[/fi <filter>] [...] [/pid <processID> | /im <imagename>]} [/f] [/t] Luckily, I have found a CMD that seems to achieve my aim without having to do the hard yakka you propose. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.