WIN Server 2019 Hibernate

Windows specific questions, problems.
Post Reply
F0n1x

WIN Server 2019 Hibernate

Post by F0n1x »

Hello,

I use my Win Server 2019 to run a QBitorrent client.
There is a problem when I Hibernate my Server.
(Basically, there is no option to Sleep or Hibernate a win server so I use "C:\Windows\System32\shutdown.exe /h")
So after I wake up my server the WebUI is not working.
- I tried to restart the network adapter -> not worked
- I tried to restart the QBitorrent Client -> not worked

The only way is use the WebUI again, is to restart to whole server.
With Bittorrent this was not a problem, so there is any way to fix this issue?
Thanks!
unseen19
Veteran
Veteran
Posts: 188
Joined: Mon Mar 15, 2021 1:36 pm

Re: WIN Server 2019 Hibernate

Post by unseen19 »

Hi,

Well I guess the hibernate is not foreseen for such a program more intended to run as ling as the session is alive/all the time.
Anyway no direct solution but maybe a hint: why not closing QBT and make the hibernate with a script?

A proper way to close a program in Windows is "taskkill /IM $process >nul"
this will attempt to close the program the proper way and redirect error to nul. Take care to not use the parameter "/f" which is a force close, not gently done.

With the good process name and the hibernate just after in a CMD file it may work
Post Reply