AveYo / MediaCreationTool.bat

Universal MCT wrapper script for all Windows 10/11 versions from 1507 to 21H2!
MIT License
8.99k stars 3k forks source link

Running unattended #387

Open 3p1st3m1c opened 3 weeks ago

3p1st3m1c commented 3 weeks ago

Great work!

I've written a script to copy the files over to C:\Temp then extract the MediaCreationtool.bat-main folder to C:\temp\Win11 (while renaming the batch file to "auto 23H2 MediaCreationTool.bat").

I can manually run "auto 23H2 MediaCreationTool.bat" by right clicking and RUN AS ADMIN.

I tried running a scheduled task to run "auto 23H2 MediaCreationTool.bat" in the C:\temp\Win11 folder with admin credentials and the highest privileges (without a need to sign in and manually right click on the "auto 23H2 MediaCreationTool.bat" and RUN AS ADMINISTRATOR. I want to make this unattended and run the upgrade then restart/update when needed.

Is there a way to do this?

Thanks for all your hard work.