Windows 10: auto restart process

Page 2 of 2 FirstFirst 12
  1.    14 Oct 2017 #11

    You can make a batch file like this
    Code:
    taskkill /F /IM HWiNFO64.exe
    start "HWiNFO64" "C:\Users\Hali\Downloads\hw64_558\HWiNFO64.exe"
    Save it somewhere as HWiNFO_restart.bat . You must make the path in red above the same as where you have the HWiNFO64.exe on your system - mine was in downloads.

    Then use task scheduler to run it on resume from sleep. From task scheduler click "create new task".

    1. On general tab name it and set to run with highest privileges as HWiNFO needs administrator rights.
    Click image for larger version. 

Name:	Capture1.PNG 
Views:	11 
Size:	21.3 KB 
ID:	158055

    2. On Trigger tab create a new trigger to launch task when Event ID 1 is received in the Power-Troubleshooter System log (this is resume from sleep)
    Click image for larger version. 

Name:	Capture2.PNG 
Views:	11 
Size:	38.0 KB 
ID:	158051

    3. On action tab add a new action to call the bat file (put the path where you saved the bat file)
    Click image for larger version. 

Name:	Capture3.PNG 
Views:	11 
Size:	22.1 KB 
ID:	158054

    4. On the conditions untick the "Run only on AC power" if you want.
    Click image for larger version. 

Name:	Capture4.PNG 
Views:	11 
Size:	22.7 KB 
ID:	158053

    Nothing to do on the settings tab so you can just click OK to save it.

    I've not tested the fan (as I have wrong make of laptop so don't have the option) but it restarts the program OK.
      My ComputerSystem Spec

  2.    14 Oct 2017 #12

    lx07 said: View Post
    You can make a batch file like this
    Code:
    taskkill /F /IM HWiNFO64.exe
    start "HWiNFO64" "C:\Users\Hali\Downloads\hw64_558\HWiNFO64.exe"
    Save it somewhere as HWiNFO_restart.bat . You must make the path in red above the same as where you have the HWiNFO64.exe on your system - mine was in downloads.

    Then use task scheduler to run it on resume from sleep. From task scheduler click "create new task".

    1. On general tab name it and set to run with highest privileges as HWiNFO needs administrator rights.
    Click image for larger version. 

Name:	Capture1.PNG 
Views:	11 
Size:	21.3 KB 
ID:	158055

    2. On Trigger tab create a new trigger to launch task when Event ID 1 is received in the Power-Troubleshooter System log (this is resume from sleep)
    Click image for larger version. 

Name:	Capture2.PNG 
Views:	11 
Size:	38.0 KB 
ID:	158051

    3. On action tab put add a new program to run (put the path where you saved the bat file)
    Click image for larger version. 

Name:	Capture3.PNG 
Views:	11 
Size:	22.1 KB 
ID:	158054

    4. On the conditions untick the "Run only on AC power" if you want.
    Click image for larger version. 

Name:	Capture4.PNG 
Views:	11 
Size:	22.7 KB 
ID:	158053

    Nothing to do on the settings tab so you can just click OK to save it.

    I've not tested the fan (as I have wrong make of laptop so don't have the option) but it restarts the program OK.
    Thanks very much, ill give it a try!
    I'm guessing "C:\Users\Hali\Downloads\hw64_558\HWiNFO64.exe" is where your program files are
      My ComputerSystem Spec

  3.    14 Oct 2017 #13

    jamos316 said: View Post
    Thanks very much, ill give it a try!
    I'm guessing "C:\Users\Hali\Downloads\hw64_558\HWiNFO64.exe" is where your program files are
    Yes - it is where I downloaded it (I used the portable version).

    Yours will be in "C:\Program Files\Something or other" if you installed it I guess.
      My ComputerSystem Spec

  4.    14 Oct 2017 #14

    lx07 said: View Post
    Yes - it is where I downloaded it (I used the portable version).

    Yours will be in "C:\Program Files\Something or other" if you installed it I guess.
    worked ike a charm, thanks for sharing!
      My ComputerSystem Spec

  5.    14 Oct 2017 #15

    jamos316 said: View Post
    worked ike a charm, thanks for sharing!
    You are most welcome and thanks for the rep!
      My ComputerSystem Spec

  6.    14 Oct 2017 #16

    I just went to the HWinfo64 forum and found that out as well. It only supports a few Dell/HP makes. On top of that it's not official feature of HWinfo64. That being said, that maybe the issue right there.

    This is straight from their website:
    Fan Control is not an official HWiNFO feature and there are currently only very few specific machines supported:
    - Alienware - all current models should be supported, but there are limitations based on model and fan control mode (EC support disabled/enabled)
    - DELL - many models supported, but fan control limited to 3 levels only. Some DELL machines might have problems using fan control
    - Only very few specific HP models (8530w, 8740w) featuring SMSC EMC2103/EMC2113 controllers, some older ENVY 15/17)

    There are currently no plans to extend fan control support to other machines.
    The main reason for such limited fan control support is that almost all notebooks use proprietary methods (closed Embedded Controller firmware), that are kept secret by manufacturers.
    In most cases it's very difficult to determine how to control fans on such machines and sometimes it might not be possible at all. Also the huge amount of different fan control imlpementations (EC firmwares) and no universal methods possible make it even more difficult.
    Also please note that using the Embedded Controller interface (to monitor and control fans) can cause problems on some machines.
    So please, if fan control on your machine is not supported by HWiNFO do not ask for support - it will not be answered. The only exception are new Alienware models that might be added, but only in case it's deemed feasible.
      My ComputerSystem Spec


 
Page 2 of 2 FirstFirst 12

Related Threads
Auto-kill a process in General Support
Is there a way to auto-sense that a process has started and automatically kill it, without user intervention? I am aware of Auto-kill any process v.2.2, but that, according to one reviewer, requires user input. Thanks.
How to Restart explorer.exe Process in Windows 10 The explorer.exe process is the user shell for Windows, and is used by such items as the desktop, File Explorer, Start menu, and taskbar. Restarting the explorer.exe process is to stop and start...
Hey guys, I just restarted my laptop because one application was not working properly and than I saw this error and than laptop auto restart and back to desktop. 97150 DM Log Collector: 97287 Regards.
Never in 5 years has this PC crashed until yesterday. I was editing in Photoshop Adobe Camera RAW some 25 .CR2 files when without warning the PC went to a black screen as if the power shut down. But, the PC has a battery backup which I was checking...
My Laptop with Win 10 build 10240 has two updates pending, a Security update and a Graphics driver update. The update process got to "Downloading updates 4%" and has not moved in two days. I tried rebooting and I have an internet connection. How can...
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 21:06.
Find Us