Visual Studio 2017 – Access Denies
Package management initialization failed: Access Denied
I encountered this error for the first time today on my work laptop. This seemed like a really odd error to receive especially since I had been using it last week.
There is an easy work around for it, or at least my version of it.
There is a file called privateregistry.bin located in C:\Users\username\AppData\Local\Microsoft\VisualStudio\15.0_someidentifier
You could be brave and just delete it, I was cautious and renamed it. You may lose your personal settings, but you’ll be able to use 2017 again.