Hi, Can anyone recommend me a actual method or project on github, for example, to bypass Administrator authorization for installing/running the program on Windows 10? Thanks.
Bypassing the UAC prompt? That's possible by starting the program through the Task Scheduler (works also on-demand using the command line).
How about this at the start of your batch file: Code: ::# elevate with native shell by AveYo >nul reg add hkcu\software\classes\.Admin\shell\runas\command /f /ve /d "cmd /x /d /r set \"f0=%%2\"& call \"%%2\" %%3"& set _= %* >nul fltmc|| if "%f0%" neq "%~f0" (cd.>"%temp%\runas.Admin" & start "%~n0" /high "%temp%\runas.Admin" "%~f0" "%_:"=""%" & exit /b) Then you can add whatever you want to install. Java example: Code: Start /wait jre-8u361-windows-x64.exe INSTALL_SILENT=1 STATIC=0 AUTO_UPDATE=0 WEB_JAVA=1 WEB_JAVA_SECURITY_LEVEL=H WEB_ANALYTICS=0 EULA=0 REBOOT=0