This post is the result of about 3 or 4 hours of Googling! There are so many false trails out there that I almost gave up, but I managed to work out how to do this most impossible of things:
Restart Apache from the command prompt (Git Bash, CMD.EXE, batch file) on Windows 10, without receiving the "Do you want to allow this app to make changes to your device" prompt: