Check if it's a permissions issue. As a test, run the app as an administrator (or if you are debugging, run Visual Studio as an admin).