Jump to content
UBot Underground

[Free Script] Run Other Exe With Admin Right


Recommended Posts

Hello Fellow Ubotters, I was figuring out this thing and I got the solution so wanted to share with you guys hope this helps someone I shared this because sharing is caring :D ;)

To run any exe with admin rights you have to create .bat file with the below code and then you can simply use shell batch hidden command to trigger your bat file with the code cd C:\your path to bat file (Your bat File Must Be In C Directory)
start yourbat.bat


create bat file with below code:
@echo off
if not "%1"=="am_admin" (powershell start -verb runas '%0' am_admin & exit /b)
cd C:\your path to file (Your File Must Be In C Directory)
start yourfile.exe

 

NOTE: IT WILL GOING TO PROMPT USER TO RUN AS ADMIN
  • Like 2
Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...