@REM Change Source and destination. elevate.exe begin %0 & exit sc stop W3SVC hwaitfor.exe servicestopped:W3SVC sc stop WAS hwaitfor.exe servicestopped:WAS robocopy.exe C:\inetpub\logs\LogFiles\W3SVC1 \\tsclient\g\iislogs-%computername%-all /s /r:5 /w:1 robocopy.exe C:\inetpub\logs\LogFiles\FTPSVC2 \\tsclient\g\iislogs-%computername%-all-ftp /s /r:5 /w:1 sc start WAS hwaitfor.exe servicestarted:WAS sc start W3SVC hwaitfor.exe servicestarted:W3SVC