Run batch file as administrator has been the most correct practice, If this way still cannot run your .bat file, you need to open the batch files with notepad and check their content.
Regards
"Windows 10 Installation, Setup, and Deployment" forum will be migrating to a new home on
Microsoft Q&A (Preview)!
We invite you to post new questions in the "Windows 10 Installation, Setup, and Deployment" forum’s new home on
Microsoft Q&A (Preview)!
For more information, please refer to the
sticky post.