This is an easy method that you can use to disable the annoyingfrom the control panel GUI interface in either Windows 7 or Vista.
See enable or disable UAC from the command line to do it from the trusty command line.
Note: Disabling UAC will lead to a less secure system, so be warned.
Disable UAC on Windows Vista
Open Control Panel, and type “UAC” into the search box. You’ll see a link for “Turn User Account Control (UAC) on or off”:
Disable UAC on Windows 7
Windows 7 makes it much easier to deal with UAC settings, and in fact you don’t have to completely disable UAC if you don’t want to. Just type UAC into Start/Run, Start/Search or Control Panel search boxes.