The Laptop is an HP EliteBook 8540p running Windows 7 Professional. OS updates are applied regularly via Windows Update and the machine is currently fully up to date.
Recently, when undocking the laptop it has started initiating the shutdown sequence. The "waiting on applications to close" box pops up so it can be aborted if caught quickly enough.
I can't find anything in the power configuration related to docking/undocking and google hasn't proven very useful either. Has anyone ran into this problem and figured out how to resolve it?