To the best of my knowledge you can not force your program to run as SYSTEM.
Either your program must be a service and the service is setup to run as System or you must use a tool like PsExec to launch your executable as system.
There are better ways to deter noobs from hacking your program. _________________
Joined: 25 Jan 2006 Posts: 8517 Location: 127.0.0.1
Posted: Sun Dec 11, 2016 8:10 pm Post subject:
Compile the program with a proper manifest file to request admin access, it will cause your program to popup the UAC crap saying the application requires administration privileges to run when people try to run it. _________________
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum