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.
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.