Blue Screen of Death (BSoD) when putting Windows 7 to sleep

All of a sudden my Windows 7 ended up crashing with Blue Screen of Death when put to sleep, and I started investigating this behavior.

After a couple of crashes a pattern started to emerge: Blue Screen of Death was only an issue when the laptop was running on batteries – and NOT when AC was plugged in.

This led me to investigate the memory crash dump using Debugging Tools for Windows which indicated the problem was probably caused by dne64x.sys (part of DNE – Deterministic Network Extender)

Even though Citrix indicates DNE is practically flawless…..

With tens of millions of copies of DNE installed and over 12 years in the market, there are no known crash issues with DNE. However, because DNE is a kernel-level NDIS module that relies on packets from other drivers, we sometimes see crashes that appear to be in DNE. Generally these are caused by bugs in other products or drivers

… I decided to reinstall DNE using Citrix guidelines:

  1. Uninstall programs using DNE
    Citrix suggest trying to uninstall the program that uses DNE (e.g. a VPN client) before reinstalling DNE.
  2. Run Winfix
    Run the Citrix utility called Winfix (ftp://files.citrix.com/winfix.exe) that can clean up most Windows operating systems to enable installation of products that use DNE and other products like DNE.
  3. Download and install the latest DNE
    32-bit: ftp://files.citrix.com/dneupdate.msi
    64-bit: ftp://files.citrix.com/dneupdate64.msi
  4. Reinstall the product that uses DNE

 

This solved the problem – and my laptop sleeps tight again without crashing!