|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.|
Unable to restore some default file associations. Note: you must be an administrator or a power user on this machine in order to change file associations.
This error occurs when the devenv command-line switch /AssociateFiles is used, but the current user rights do not allow access to the HKEY_CLASSES_ROOT section of the registry. When you run Visual Studio 2008 on Windows Vista, you must run devenv as an administrator to use the /AssociateFiles (devenv.exe) switch.
To correct this error
Change to administrative credentials and try again.