Skip to main content

Posts

Check Windows input message queue idle in Python

Code below shows how to check for message queue input idle. Note that WaitForInputIdle waits only once per process on any thread. So if one of the thread returns idle then it will return right away.  Tested on: Windows 10 TH2 (build 1511) Python 3.5.1 64-bit Also need to install pywin32, like: c:\> pip install pypiwin32 This should be run on elevated prompt.

How to resolve external hosts when using pfSense as firewall/router

pfSense 2.2.5 does not automatically resolve external hosts (but not hosts from the internet) using DNS servers provided by DHCP from the WAN interface. To force it resolve, do: Navigate via Web UI: Services | DNS Resolver Scroll down to Domain Overrides Add entry Domain: [a domain suffix, e.g., test.org] IP address: [DNS server IP] What are the side effects without the above changes? pfSense clients not able to access internet, especially when internet is controlled via a proxy. Windows clients unable to access Windows share even using FQDN

Windows 10 Mail app "Something went wrong We're sorry, but we weren't able to do that."

Upgraded from Windows 8 to Windows 10, Mail app stopped working with the following message Something went wrong We're sorry, but we weren't able to do that. Error code: 0x8007000d. Workaround is to re-install the app, see http://8thstring.blogspot.com/2015/12/how-to-remove-windows-10-mail-and.html to remove it. Once removed you can go to Windows Store to install Mail again.