Follow the steps shown below:
1) Enter gpedit.msc into the start menu and hit Enter.
2) Now navigate to User Configuration\Administrative Templates\Windows Components\Application Compatibility. Then on the left side under Setting double click on Turn off Compatibility Assistant.
3) Now click on Enabled then click on Apply and OK then close out of Local Group Policy Editor.
Program compatibility assistant is handy tool and should not be disabled as it could cause issues. But for system admins and advanced users, it can save lot of time and rid of annoyances.