#cs ---------------------------------------------------------------------------- AutoIt Version: 3.2.4.9 Author: Duran Dunn, Punkster812 Script Function: This will disable UAC via the command prompt #ce ---------------------------------------------------------------------------- AutoItSetOption("WinTitleMatchMode", 2) Send("{LWIN}cmd") Sleep(1000) Send("{CTRLDOWN}{SHIFTDOWN}{ENTER}{SHIFTUP}{CTRLUP}") WinWaitActive("C:\Windows\system32\cmd.exe") Send("%windir%\System32\reg.exe ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v EnableLUA /t REG_DWORD /d 0 /f{ENTER}") Sleep(2000) WinClose("C:\Windows\system32\cmd.exe") $Restart = MsgBox(4, "Reboot", "To finish disabling UAC, the computer must be restarted. Restart now?") If $Restart = 6 Then Shutdown(6) Else MsgBox(0, "Please Reboot", "UAC will be disabled next time you start your computer.") EndIf