for a long time I just ignored the existence of UAC, in fact that's one of the first things to deactivate on a fresh Win7 install . But lately I received some complains about my programs regarding UAC, that's why I started to deal with it.
Here's an example of how to elevate and de-elevate a compiled script. Sadly it needs the script to restart, but I've heard that someone's been working on a solution based on AutoItObject to do this in runtime .
The example is based on the