Skip to content
MPGHThe Dark Arts
/
RegisterLog in
Forum
Community
What's NewLatest posts across the boardTrendingHottest threads right nowSubscribedThreads you follow
Discussion
GeneralIntroductionsEntertainmentDebate FortFlaming & Rage
Board
News & AnnouncementsMPGH TimesSuggestions & HelpGiveaways
More Sections
Art & Graphic DesignProgrammingHackingCryptocurrency
Hacks & Cheats
Games
ValorantCS2 / CS:GOCall of Duty / WarzoneFortniteApex LegendsEscape From Tarkov
+14 moreLeague of LegendsGTA VMinecraftRustROTMGBattlefieldTroveBattleOnCombat ArmsCrossFireBlackshotRuneScapeDayZDead by Daylight
Resources
Game Hacking TutorialsReverse EngineeringGeneral Game HackingAnti-CheatConsole Game Hacking
Tools
Game Hacking ToolsTrainers & CheatsHack/Release NewsNew
Submit a release →Share your cheat, tool, or config with the community.
AINEW
AI Tools
General & DiscussionPrompt EngineeringLLM JailbreaksHotAI Agents & AutomationLocal / Open Models
AI × Gaming
AI Aimbots & VisionML Anti-CheatGame Bots & Automation
Create
AI Coding / Vibe CodingAI Art & MediaAI Voice & TTS
The AI frontier →Where game hacking meets modern machine learning. Jump in.
Marketplace
Buy & Sell
SellingBuyingTradingUser Services
Trust & Safety
Middleman LoungeMarketplace TalkVouch Copy Profiles
Money
Cryptocurrency TalkCurrency ExchangeWork & Job Offers
Start selling →List accounts, services, and goods. Use the middleman to trade safe.
MPGH The Dark Arts

A community for offensive security research, reverse engineering, and AI.

Community

ForumMarketplaceSearch

Account

RegisterLog in

Legal

Privacy PolicyForum RulesHelp & FAQ
© 2026 MPGH · All rights reserved.Built by the community, for the community. For educational purposes onlyContent is shared for security research and education — we don't condone illegal use. You're responsible for complying with applicable laws. Use at your own risk.
Home › Forum › Programming › Visual Basic Programming › [Question]Force Run As Admin

Question[Question]Force Run As Admin

Posts 1–10 of 10 · Page 1 of 1
PP
ppl2pass
[Question]Force Run As Admin
Hey how do you guys make the program administrator mandatory.
So the program always needs to be run as admin.
#1 · 16y ago
NextGen1
NextGen1
It is possible, You will have to edit the Manifest File,

Give me 5 mins or So, I will make a tutorial

_______________________________________
#2 · 16y ago
|-|3|_][({}PT3R12
|-|3|_][({}PT3R12
[IMG]http://i371.photobucke*****m/albums/oo152/helicopter12/Untitled-6.png[/IMG]


"asInvoker" - Current User Level
"highestAvailable" - Highest Current User Has
"requireAdministrator" - Require Admin
#3 · 16y ago
zmansquared
zmansquared
I want to know aswell. thanks gen
#4 · 16y ago
NextGen1
NextGen1
Not a problem, I am making a full tutorial, as I said It will be in the vb section soon.

Edit: Actually No need to
|-|3|_][({}PT3R12

added a screenshot

In either case

Show All files in your Solutions Explorer

Navigate to the Bin Folder ----> Debug ----> Applicationname.Vshost.exe.Manifest File

Double Click it and

add this code

[php]
<?xml version="1.0" encoding="utf-8"?>
<asmv1:assembly manifestVersion="1.0"
xmlns="urn:schemas-microsoft-com:asm.v1"
xmlns:asmv1="urn:schemas-microsoft-com:asm.v1"
xmlns:asmv2="urn:schemas-microsoft-com:asm.v2"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<assemblyIdentity version="1.0.0.0" name="MyApplication.app"/>
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
<security>
<requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3">
<requestedExecutionLevel level="requireAdministrator" uiAccess="false" />
</requestedPrivileges>
</security>
</trustInfo>
</asmv1:assembly>
[/php]

Replacing it with the existing code

or

Use the existing code

Code:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
  <assemblyIdentity version="1.0.0.0" name="MyApplication.app"/>
  <trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
    <security>
      <requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3">
        <requestedExecutionLevel level="asInvoker" uiAccess="false"/>
      </requestedPrivileges>
    </security>
  </trustInfo>
</assembly>
The information is as follows

requireAdministrator:
highestAvailable:
asInvoker: Vb.net Default

So for this particular case it would be

Code:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
  <assemblyIdentity version="1.0.0.0" name="MyApplication.app"/>
  <trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
    <security>
      <requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3">
        <requestedExecutionLevel level="requireAdministrator:" uiAccess="false"/>
      </requestedPrivileges>
    </security>
  </trustInfo>
</assembly>

I was going to make a full Tutorial with how to use this, plus how to use it on a per sub basis, meaning if you want to require admin for a specific part of the code, but there is no need.

Hope this helps

#5 · edited 16y ago · 16y ago
PP
ppl2pass
i dont think it works.
I used the first method and i built the project.
I ran the program. Still no admin required.
#6 · 16y ago
zmansquared
zmansquared
It worked for me
#7 · 16y ago
NextGen1
NextGen1
Works for me as well.
#8 · 16y ago
Invidus
Invidus
Lol. Maybe its just him..
#9 · 16y ago
mnpeepno2
mnpeepno2
its because your on XP, you do not need to change anything...
#10 · 16y ago
Posts 1–10 of 10 · Page 1 of 1

Post a Reply

Similar Threads

  • Vista: CE Process Error: Can't attach: Running as admin doesnt help. HELP! please :PBy xxBigBuns in Combat Arms Hacks & Cheats
    6Last post 18y ago
  • Vista Run As Admin ScrnyBy games0124 in CrossFire Hacks & Cheats
    0Last post 17y ago
  • Run as admin.By VanityJeff in Combat Arms Hacks & Cheats
    6Last post 17y ago
  • [Question] Xp running on Service pack 3By wer123 in Combat Arms Hacks & Cheats
    16Last post 17y ago
  • run as adminBy akama1 in General
    13Last post 17y ago

Tags for this Thread

None