After having this exact issue, I found running in administrator fixed the issue:) The only difference is that I'm doing it all in C# code.