Windows 10 and Run As Administrator

Add-in Express™ Support Service
That's what is more important than anything else

Windows 10 and Run As Administrator
Excel COM AddIn will not AddIn.Connect unless Excel is started As Administrator 
Glen Griesel

Posts: 31
Joined: 2012-08-15
1) We were using the Add-In Express - Register / Unregister tool within VS2015 to register and unregister our add-in on the development machine.
2) When we changed from a per-machine to a per-user add-in, it would appear that the Add-In Express - Unregister tool was not properly cleaning out the registry entries associated with the per-machine add-in including the HKLM\Software\Microsoft\Office\Excel\... key.
3) This was why our per-user add-in still required launching Excel with "Run as Administrator".
4) After manually cleaning out the registry and then re registering the per-user add-in we were able to launch Excel normally and have the add-in loaded.
5) The big take away from this "storm in a tea cup" is that while Windows 7 / 8 and Excel 2007 / 2013 would load a per-machine add-in with or without "Run As Administrator", Windows 10 And Excel 2016 will NOT load a per-machine add-in unless Excel is launched with "Run As Administrator"
6) So, as Andrei advises, it is better to create per-user add-ins, particularly on Windows 10 and Office 2016
7) Problem is sorted and this case is closed.

Thanks Andrei for all your help.
Posted 31 Oct, 2015 06:25:52 Top
Andrei Smolin

Add-in Express team

Posts: 17124
Joined: 2006-05-11
Hello Glen,

You are welcome.

Glen Griesel writes:
4) After manually cleaning out the registry...

You could reset your add-in to be per-user and unregister it. We recommend unregistering the add-in before you change the RegisterForAllUsers property.

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 02 Nov, 2015 04:19:35 Top