In windows 10, instead of doing a full reboot, it's convenient to do a partial reboot by login out and login in again, for instance to reload a certain set of drivers and OS user related data.
I can do a full reboot with restart-computer
, but that's not what I want. I am looking for a fast cycle and the effects of a logoff-login cycle (on drivers and userworld in particular).
- Is there a way to achieve this quick reboot by the mean of one powershell script ? In particular, I do not want to have to specify again which user (local user) and the password.
- More technically, I know that a few drivers are unloaded and then reloaded in the "logoff-login" cycle; would that be called a fast kernel reboot ?
A certain edition of Windows server (Azure Stack HCI) allows kernel soft reboot (https://learn.microsoft.com/en-us/azure-stack/hci/manage/kernel-soft-reboot), this is not what I am looking for.
hiberfil.sys
, then uncompresses and boots to the system state that was saved tohiberfil.sys
. Since Fast Startup creates issues when installing programs requiring system state refreshes, such as services needing to be stopped and restarted, is that what the OP is looking for?