Support
Joined: 18 Jul 2005 Posts: 731
|
Posted: Sat Sep 08, 2007 4:25 am Post subject: INFO: Registering/unregistering and debugging shell extensions on Windows Vista or later OS |
|
|
Registration/Unregistration
Windows Vista or later OS has a new feature called UAC (User Account Control). Under this feature processes normally run with non-administrator privileges even though the user may have logged in the system with the Administrator account and therefore registering/unregistering the shell extension using RegisterExtension.exe (or RegisterExtensionDotNet20.exe) can fail. The solution is to either turn off UAC on the system or register under elevated administration-mode privileges as follows :
Right click on Command Prompt in Accessories and select 'Run as Administrator' menu item, then run the RegisterExtensionDotNet20.exe utility in the command window.
Debugging
To debug extensions under Windows Vista or later OS, start a new instance of Windows Explorer (explorer.exe) and attach to the process using Debug-->Attach. |
|