Tag: Windows

Debugging an Unkillable Process

I recently encountered an issue where Microsoft Publisher would intermittently end up in an unkillable state. Publisher is started by Office interops from an NT service. The problem seems to only occur when Publisher runs in a non-interactive session (which all NT services since Vista do), and when a line feed character is present in a text shape.

Continue reading »

Windows 8, Console API, and Restricted Tokens

I discovered some undesirable behaviour with LUA tokens and the console API. On Windows 8, executing a command with sudont causes an error and the application refuses to start.

Continue reading »

sudont

I'm writing a sandbox application for a larger Windows project, and I needed the ability to drop admin privileges for certain operations. I thought about going the other way and elevating only when needed, but there are problems with that approach.

Continue reading »

Block Windows Shut Down

It's hard to describe just how much I HATE rebooting my computer. If I have to use a Windows computer for any extended period of time, then I always change update policies to disallow automatic reboots. In fact, I usually click the irritating "Remind me in ten minutes" button every ten minutes for three weeks before I finally allow Windows to restart (or until I stop the Automatic Updates service).

Continue reading »

Remove Tabs From the Windows Taskbar

I'm very picky about my desktop environment. I like windows, toolbars, icons, etc. to be arranged in a certain way. Typically, I turn off annoying prompts and nag screens in Windows, and unhide "scary" advanced options in OS X. One hard-to-fix pet peeve is when applications put an icon in the notification area (near the clock) AND leave a tab in the taskbar. This wastes valuable taskbar real estate.

Continue reading »