Specifies that the current script requires full administrator rights to run.
#RequireAdmin
Parameters
None.
Remarks
This function was primarily aimed at allowing AutoIt scripts to work correctly with Windows Vista User Account Control (UAC) (However, will also work on Windows 2000 and Windows XP).
Related
IsAdmin
Example
#RequireAdmin
MsgBox(4096,"Info","Now running with admin rights")