This is a quite specific scenario which quite few companies may run into. A company is using their own Wrapper-Script for all installations and ran into some problems where all files did not exist in the Deploy Cache.
Which caused failed installations (missing files etc).
To reset the deployment on a client, clean up the DeployCache and make the client download all the files again run this script;
Echo off
echo %date% %time% > c:\temp\clean.txt
Echo Executing user: >> c:\temp\clean.txt
whoami >> c:\temp\clean.txt
if exist c:\temp\progress.txt del c:\temp\progress.txt
reg query "HKLM\SOFTWARE\SpecopsSoft\Specops Deploy\Client Side Extension\Download Cache" /s /v Progress | findstr /c:HKEY > c:\temp\progress.txt
if not exist c:\temp\progress.txt goto noprog
setlocal enabledelayedexpansion
for /F "Delims=\ Tokens=1-20" %%a in (c:\temp\progress.txt) do (
dir "C:\Windows\SpecopsDeploy\DownloadCache\%%g" >> c:\temp\clean.txt
reg query "HKLM\SOFTWARE\SpecopsSoft\Specops Deploy\Client Side Extension\Download Cache" /s /v Progress >> c:\temp\clean.txt
echo. Echo Clean starts >> c:\temp\Clean.txt
rmdir /Q /S "C:\Windows\SpecopsDeploy\DownloadCache\%%g"
echo reg delete "HKLM\SOFTWARE\SpecopsSoft\Specops Deploy\Client Side Extension\Download Cache\%%g" /VA /F >> c:\temp\clean.txt
reg delete "HKLM\SOFTWARE\SpecopsSoft\Specops Deploy\Client Side Extension\Download Cache\%%g" /VA /F
reg delete "HKLM\SOFTWARE\SpecopsSoft\Specops Deploy\Client Side Extension\Download Cache\%%g" /F
echo.
Echo Clean Done >> c:\temp\Clean.txt
Echo.
Echo Showing remaining dirs in DownloadCache >> c:\temp\clean.txt
dir "C:\Windows\SpecopsDeploy\DownloadCache\" >> c:\temp\clean.txt
Echo.
Echo.
Echo Showing remaining RegKeys with Progress: >> c:\temp\clean.txt
reg query "HKLM\SOFTWARE\SpecopsSoft\Specops Deploy\Client Side Extension\Download Cache" /s /v Progress >> c:\temp\clean.txt
)
if exist c:\temp\progress.txt del c:\temp\progress.txt
goto end
:noprog
Echo Nothing to do. >> c:\temp\clean.txt
:end
# End of Script
It's quite easy to copy the script to the PC and then execute the script with either Sysinternals PSExec or with Specops GpUpdate Pro.