We have one legacy Control Panel App (.cpl) that use for registry and configuration file modification. Previously it was compiled on Visual Studio 2008 and used on Server 2012 & Windows 7. We have to run as Administrator to save changes.

I have recently migrated this app to Visual Studio 2015 and when run as Administrator nothing happens (no error, nothing logged in events log)


On Windows 7:

UAC Enabled:
1) User can run application
2) Nothing happens when application run as administrator


UAC Disabled:
1) User can run application
2)User can run application as administrator


On Windows Server 2012
UAC Enabled:
1) User can run application
2) Nothing happens when application run as administrator

UAC Disabled:
1)User can run application
2)Nothing happens when application run as administrator

I have try using Windows Performance Recorder tool but I am not able to find anything about this control panel app.

Can someone point me to right direction how I can resolve this issue?