Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

.NET 

Run with admin rights

Hi everyone! 😉
I need help... Im creating app in vb 2010 that is writing files and creating directories on disk C. But app must run with admin rights for doing that. I need code, that will make app runable with admin rights (app will required admin rights for running).
Thanks for help 😉
Right click on your project and choose properties, Then click View Windows Settings
Look for
Code
<requestedExecutionLevel level="asInvoker" uiAccess="false" />
Change "asInvoker" to one of these

level="asInvoker" (normal)
level="requireAdministrator (require administrator)
level="highestAvailable" (if something is higher then admin use that)
Thank you for answer 😉 it works


Possibly Related Threads...
Thread / Author Replies Views Last Post
by arul12Nov 23, 2023 10:10 AM 2 156 Nov 23, 2023 10:10 AM
Last Post: arul12
[Shell] by HackooJun 19, 2022 11:05 AM 0 215 Jun 19, 2022 11:05 AM
Last Post: Hackoo
[C#] by R3CixOct 15, 2018 10:21 AM 6 331 Oct 15, 2018 10:21 AM
Last Post: SIM-3124535