topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Tuesday October 15, 2024, 8:59 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: An utility to kill certain processes when reinitiating or turning off the pc  (Read 4402 times)

Contro

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 3,940
    • View Profile
    • Donate to Member
I am with windows 8.1
I remember certain utilities or modifications in the windows registry to accelerate the time of closing the windows system.
I have found nothing for windows 8.1 safe.
I would like an utility to be executed automatically when reiniating or turning off the system to close apps of my election.

Do you know anyone ?

Best Regards

Curt

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 7,566
    • View Profile
    • Donate to Member
Closing an application / a program on a smartphone:

How to close an app in Windows 8

Closing Windows:

I have found nothing for windows 8.1 safe.


By default, Windows 8.1 should be configured to start up and shutdown fast (you can confirm Fast Startup\Shutdown is enabled by scrolling down the System Settings box) but if it’s still not shutting down to your standards you can do a few things:

The fastest way to shutdown your computer, without pulling the plug, is to press the Windows Key + r and type: shutdown /s /t 0

- it's easy to make such a hotkey combination part of a shortcut:

Right click the desktop and go to New and choose Shortcut.

Enter this: C:\Windows\System32\shutdown.exe /s /t 0

The “/s” thing tells Windows to shutdown and the “/t” says wait 0 seconds in time to do it. In other words, do it now!

https://www.donationcoder.com/forum/index.php?topic=10467.0

Just create a shortcut to force shutdown and your problem should be solved.

------------------
Modified:
Sorry, Contro, Now I have tried it myself on Win_10: The method will of course close Windows all right, but \sometimes/ it didn't work with my Firefox, so there may easily be others it doesn't work with. :-(
« Last Edit: October 10, 2016, 03:37 PM by Curt »

Contro

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 3,940
    • View Profile
    • Donate to Member
Closing an application / a program on a smartphone:

How to close an app in Windows 8

Closing Windows:

I have found nothing for windows 8.1 safe.


By default, Windows 8.1 should be configured to start up and shutdown fast (you can confirm Fast Startup\Shutdown is enabled by scrolling down the System Settings box) but if it’s still not shutting down to your standards you can do a few things:

The fastest way to shutdown your computer, without pulling the plug, is to press the Windows Key + r and type: shutdown /s /t 0

- it's easy to make such a hotkey combination part of a shortcut:

Right click the desktop and go to New and choose Shortcut.

Enter this: C:\Windows\System32\shutdown.exe /s /t 0

The “/s” thing tells Windows to shutdown and the “/t” says wait 0 seconds in time to do it. In other words, do it now!

https://www.donationcoder.com/forum/index.php?topic=10467.0

Just create a shortcut to force shutdown and your problem should be solved.

------------------
Modified:
Sorry, Contro, Now I have tried it myself on Win_10: The method will of course close Windows all right, but it didn't work with my Firefox, so there may easily be others it doesn't work with. :-(

I know this method.

But it's safe ?

Some programs is better wait certain time.

So I would like to control the process more accurately.

 :-*

IainB

  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 7,543
  • @Slartibartfarst
    • View Profile
    • Read more about this member.
    • Donate to Member
You might consider somehow using an AHK or batch file to send commands to Process Hacker to Terminate specific processes. It seems to have a pretty effective Terminate command that has the necessary priority interrupt status to stop most stuff in its tracks. Or even maybe use AHK on its own? I haven't used AHK for terminating processes, so I don't know whether it gets the necessary priority interrupt status.

Contro

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 3,940
    • View Profile
    • Donate to Member
Perhaps. I have the killprocesses.exe AHK script with an ini in this format :
[settings]
  NumberOfProcesses=2
  process1=winamp.exe
  process2=iexplore.exe

  SecondsBeforeKilling = 5

But then I will have to make another script to close the system...

 :-*

Contro

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 3,940
    • View Profile
    • Donate to Member
I think this post is of utility for me :

https://www.donation...?topic=12661.new#new