Microsoft Sccm MDT
Morning guys, i need the silent installation command for deploying the sccm app and is there force installaion method because some times the app stuck in cmd "SCCM Client Setup Started.. Please Wait the process to finish" this can take the whole day without any action,
My old run.bat
My old run.bat
@Echo off
SETLOCAL EnableExtensions
cd /D "%~dp0"
set EXE=CcmExec.exe
timeout /t 20 /nobreak
Start /w ccmsetup.exe SMSSITECODE=EHQ
Echo SCCM Client Setup started.. please wait the process to finish
:LOOPSTART
Timeout /t 10 >NUL
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %EXE%"') DO IF %%x == %EXE% goto FIN
goto NOTFOUND
:NOTFOUND
goto LOOPSTART
:FIN
Echo SCCM Client Setup is finished
timeout /t 15 /nobreak
0 Comments
[ + ] Show comments
Answers (0)
Please log in to answer
Be the first to answer this question