As I said before, disabling UAC is really not the right thing to do. But sooner or later nearly everybody comes across an often used application, which does require administrative rights. In this case the UAC prompt can be REALLY annoying. (In my case it was Visual Studio 2005)
Fortunately Microsoft published an article on how to disable the UAC prompt for a specific application with the Application Compatibility Toolkit (http://support.microsoft.com/kb/946932).
Be prepared, that this process may not work for all applications. In case of Visual Studio 2005 it didn’t work as described, but it can be done anyway.
Starting Visual Studio 2005 with administrative rights, but without UAC prompt
- Create a Compatibility Fix as described in the Microsoft article.
- In addition to the RunAsInvoker fix also select ElevateCreateProcess.
Visual Studio will then run brave administrative rights without bugging you anymore.
Update (2009-07-11): The KB article mentioned above doesn’t seem to exist anymore. There is an alternative located at http://technet.microsoft.com/en-us/library/cc709628%28WS.10%29.aspx. Just scroll down to the part named “Configuring Pre-Windows Vista Applications for Compatibility with UAC” and you should find everything you need.