This example runs cmd.exe under local system account associated with the highest user privileges. Some COM interfaces are necessary to accomplish the task. The code works only in Windows XP 32-bit.
Here is another COM example modifying the wallpaper.