This library automatically elevate administrator account. No more "Yes/No" modal dialog will be shown. Tested on Windows 10 Pro 1909 build 18363.535.
This library doesn't work:
- on non-administrator account
- on computers with secure boot
- in DRM-processes
- in special list of system processes, such as:
- Windows Defender
- Windows Software Licensing service
- Microsoft Hyper-V critical processes (vmms.exe and vmwp.exe)
- Copy
<architecture>\AELoader.dll
to%WinDir%\System32
and%WinDir%\SysWOW64
. - Run
AELoader.Enable.reg
to activate the injection. To deactivate runAELoader.Disable.reg
.
- Use
ww898.AELauncher.AEProcess.Start()
fromww898.AELauncher.<version>.nupkg
. - Create
%ProgramData%\AELoader.<pid>.ini
, wherepid
is unsigned decimal value of parent process of%WinDir%\System32\recdisc.exe
. Run%WinDir%\System32\recdisc.exe
.
AELoader.<pid>.ini
format:
[AELoader]
EnableEventLogs=<The value 1 activates event logs for success operations>
CommandLine=<command line to execute under elevated account>