How to run a batch file always as admin on Windows 11


On Windows 11, batch files can be useful for automatically creating and running one or multiple commands in sequence to perform different tasks. The only caveat is that some actions usually require running the batch with administrative privileges.

Some applications and file types usually include an option on the properties page to run as administrator, but that’s not the case for batch files. You can launch Command Prompt elevated to run the script or choose the option from the context menu, but these options can add some unnecessary extra steps and complexity for non-technical users. 





Source link

Previous articleHow to control HomeKit with Stream Deck
Next articleJBL Endurance Peak 3 Review: getting closer to the perfect workout companion