Windows 11 provides a Run as administrator option in the right-click menu. Using that option, you can run any supported application (say a BAT file, EXE, CMD, etc.) with full administrator access ...
I was booted into Windows 8 (dual boot system) and created a small bat file to check drive health at startup: All I have to do to run it in Win8 is put a shortcut to the bat file in my startup folder.