-
×InformationNeed Windows 11 help?Check documents on compatibility, FAQs, upgrade information and available fixes.
Windows 11 Support Center. -
-
×InformationNeed Windows 11 help?Check documents on compatibility, FAQs, upgrade information and available fixes.
Windows 11 Support Center. -
- HP Community
- Notebooks
- Notebook Hardware and Upgrade Questions
- Re: Dockingstation Disconnects after Locking Screen

Create an account on the HP Community to personalize your profile and ask a question
01-23-2023 12:14 AM
Hi,
I'm using a Z Book with a USB-C Dock G5 and currently have the following problem:
After locking the screen (Windows + L) the docking station disconnects with the disconnecting chime after approximately 30 seconds. When I log in again, all the windows that have been distributed over the 4 screens (3 external and the screen from the Z Book) are centered in the main screen again, so that I have to reorganize all the windows again. This gets pretty annoying when you have to do this multiple times a day. I couldn't figure out which setting causes this kind of behaviour and I'm not even sure if it's a problem of the docking station or maybe in the energy management settings of the operating system or in the Bios.
Anyone got some experience with this or some ideas?
Solved! Go to Solution.
Accepted Solutions
01-24-2023 12:35 AM - edited 01-24-2023 12:38 AM
I did some more digging and my initial assumption that the problem got caused by the docking station was just wrong. No wonder my attempts where leading nowhere.
It's actually a behaviour by design of Windows 8 or higher and it's not possible to change this setting in the ordinary graphical user interface. But there is a simple solution, premised you got the necessary administrator rights:
These are the commands you have to type in to the command line:
- powercfg.exe /setacvalueindex SCHEME_CURRENT SUB_VIDEO VIDEOCONLOCK 600
- powercfg.exe /setactive SCHEME_CURRENT
The value 600 is the time in seconds the monitors are staying active while the lock screen is displayed
01-24-2023 12:35 AM - edited 01-24-2023 12:38 AM
I did some more digging and my initial assumption that the problem got caused by the docking station was just wrong. No wonder my attempts where leading nowhere.
It's actually a behaviour by design of Windows 8 or higher and it's not possible to change this setting in the ordinary graphical user interface. But there is a simple solution, premised you got the necessary administrator rights:
These are the commands you have to type in to the command line:
- powercfg.exe /setacvalueindex SCHEME_CURRENT SUB_VIDEO VIDEOCONLOCK 600
- powercfg.exe /setactive SCHEME_CURRENT
The value 600 is the time in seconds the monitors are staying active while the lock screen is displayed