@echo off & setlocal enableextensions
echo "%%ProgramFiles%%\Windows Defender\MpCmdRun.exe" -SignatureUpdate
call set /p reply_="Do [y,N]?"
if /i not "%reply_%"=="y" goto :EOF
powershell -command "Get-Date -Format 'ddd dd.MM.yyyy HH:mm:ss'"
"%ProgramFiles%\Windows Defender\MpCmdRun.exe" -SignatureUpdate
powershell -command "Get-Date -Format 'ddd dd.MM.yyyy HH:mm:ss'"
endlocal & goto :EOF
The output might be e.g.
C:\_D\TEST>cmdfaq
"%ProgramFiles%\Windows Defender\MpCmdRun.exe" -SignatureUpdate
Do [y,N]?y
Thu 23.07.2026 17:33:47
Signature update started . . .
Service Version: 4.18.26060.3008
Engine Version: 1.1.26060.3008
AntiSpyware Signature Version: 1.455.285.0
AntiVirus Signature Version: 1.455.285.0
Signature update finished.
Thu 23.07.2026 17:34:01