Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize
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.

Visual Studio 2008

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.

Community Additions

ADD
Show:
© 2015 Microsoft