Enabling Debug Print (DbgPrint) in Windows Vista and Server 2008

windows_logoIssue: Debug prints ( DbgPrint ) are not working in Windows Vista/Server2008.

Solution: By default DbgPrint() outputs are disabled in Vista/Server2008. You may follow the below setting in registry to enable the debug prints.

Open up the registry and go to this path, “HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Debug Print Filter” and add the following value “DEFAULT” : REG_DWORD : 0xFFFFFFFF and then reboot. You may have to create the “Debug Print Filter” key if it does not exist.

Happy debugging.. Enjoy 🙂

Share this post


  1. Thanks fro information but I have problem, the CloseServiceHandle and DeleteService doesn’t work on windows server 2008 can you provide me a solution

Leave a Reply

Your email address will not be published. Required fields are marked *