diff --git a/TCSE-Computer-Deploy.bat b/TCSE-Computer-Deploy.bat index 8e442b8..fdc229c 100644 --- a/TCSE-Computer-Deploy.bat +++ b/TCSE-Computer-Deploy.bat @@ -85,9 +85,9 @@ powershell Copy-Item 'C:\Scripts\TCSE-Login.vbs' 'C:\ProgramData\Microsoft\Windo echo Successfully Copied Login Scripts... :: Remove Leftovers -powershell Remove-Item -Path 'C:\Scripts\tcse-deploy' +powershell Remove-Item -Path 'C:\Scripts\tcse-deploy' -Recurse -Force powershell Remove-Item -Path 'C:\Scripts.zip' -powershell Remove-Item -Path 'C:\Scripts\Software\Office2016' +powershell Remove-Item -Path 'C:\Scripts\Software\Office2016' -Recurse -Force powershell Remove-Item -Path 'C:\Scripts\Software\RemoteAgent64-TCSE.exe' powershell Remove-Item -Path 'C:\Scripts\Software\gcpwstandaloneenterprise64.exe'