• ×
    Information
    Need Windows 11 help?
    Check documents on compatibility, FAQs, upgrade information and available fixes.
    Windows 11 Support Center.
  • post a message
  • ×
    Information
    Need Windows 11 help?
    Check documents on compatibility, FAQs, upgrade information and available fixes.
    Windows 11 Support Center.
  • post a message
Guidelines
Webcam Not Working? Advanced Fixes for HP Notebooks! Click here to view the instructions!
Common problems for Battery
We would like to share some of the most frequently asked questions about: Battery Reports, Hold a charge, Test and Calibrating Battery . Check out this link: Is your notebook plugged in and not charging?
HP Recommended
HP USB-C Dock G5

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?

1 ACCEPTED SOLUTION

Accepted Solutions
HP Recommended

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

 

View solution in original post

1 REPLY 1
HP Recommended

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

 

† The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the <a href="https://www8.hp.com/us/en/terms-of-use.html" class="udrlinesmall">Terms of Use</a> and <a href="/t5/custom/page/page-id/hp.rulespage" class="udrlinesmall"> Rules of Participation</a>.