6.5. Run a Program with Elevated Privileges

If you need to perform advanced tasks in a program, you may need to run that program with elevated privileges.

Windows 7 implements a security model named user account control (UAC). The basic idea behind this security strategy is that you have permission to perform only a few day-today Windows tasks, such as moving and copying files. For more ambitious tasks that could affect the security of the system, Windows 7 asks you to provide credentials to prove that the task is not being performed by a virus program or other malicious software.

The credentials you provide depend on the type of account you have. If you have an administrator account, you click Yes in the User Account Control dialog box; if ...

Get Windows® 7 Visual™ Quick Tips now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.