Why can’t I restore files even when I have backup/restore privileges enabled?

Backup and restore privileges allow some, but not all, types of access checks to be bypassed.  Typically those are sufficient to allow a backup utility to restore data to even sensitive folders.  However, there are some exceptions to that.  For example, at the time of this writing, much of the contents under %programfiles%\WindowsApps out of the…


FileSystemWatcher Fencing(Part 2)

  This post is a follow up to the FileSystemWatcher Follies post.  I received a lot of feedback that it would be useful to highlight what would be appropriate to guide against some of the pitfalls that I mentioned in that post.  I’ll cover several of the issues here over a couple of posts and…


Accidental Denial of Service through Inefficient Program Design Part 1 – Watching WMI Events for Object Creation (e.g. Win32_Process)

  There are few things that are more annoying as a user than to have the performance of a computer which they’re using grind to a halt.  This series will outline program design flaws that I’ve run across, explain what they are, how they impact the system, example scenarios where the impact will be exacerbated,…


WLAN Programming How-To Tips and Tricks Including Using It in C#

 Questions concerning the wireless local area network APIs have been coming up a lot recently often in the context of using them from C#.  You’ll find an example C# WinForms application that allows you to see the almost all of the wireless network APIs in action at the end of this post.  The WLAN APIs facilitate the…


Programmatic Smartcard Logons in Windows

There are several ways for an application to generate a user’s token via a programmatic Smartcard Logon in Windows.  The simplest way is via a call to LogonUser() which typically takes credentials via the user’s password.  You can also utilize LogonUser() to do a SmartCard logon by marshaling the SmartCard Certificate on the system with…

2