Keyword Reference

#RequireAdmin

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).

For more details see AutoIt on Windows Vista.

 

Related

None.

 

Example


#RequireAdmin

MsgBox(4096,"Info","Now running with admin rights")


 

Hosted by www.Geocities.ws

1