You wrote
–> Since the war modification won't be taken into consideration until they redeploy, the script removes the alfresco and share folders so that when you restart the server, your modifications are taken into account. <—
At the point where you say "When you restart the Server, your modifications are taken into account".
The point is after i restart the Server, i can not login into Alfresco, after entering user and pwd.
I stop the Alfresco Tomcat from START - Run- services.msc and after apply_amps.bat i start the Alfresco Tomcat Service again from services.msc.