Skip to content

Administrative Privileges

erfg12 edited this page Mar 21, 2018 · 7 revisions

When creating a new trainer project with the memory.dll you need to have the program run with raised privileges. In order to make Windows ask for admin privileges when the application is opened, you need to do the follow changes to your project:

You can do OneClick security with a code signing certificate, or...

In Visual Studio...

Project > Add New Item > Visual C# Items > General > "Application Manifest File".

Change the requestedExecutionLevel element to:

<requestedExecutionLevel level="requireAdministrator" uiAccess="false" />