Brian Noyes talks about an error that I am going to get when publishing a ClickOnce app from a machine running Vista. When logged in to Vista as an admin, you still won't have full admin rights when running Visual Studio. The short answer is right click on devenv.exe, select properties, select compatibility tab and check "Run this program as an administrator". He goes into more details on the User Access Control (UAC) and when it is appropriate to run with full admin rights.