Windows Defender Offline Update and Quick Scan (PowerShell Script)
Windows Defender Offline Update and Quick Scan (PowerShell Script) Category: PowerShell & Command-line Scripts Author: Microsoft / PCHF Staff Version: 1.2 (October 2025)
Summary:
Forces Defender to update signatures and run a quick scan from PowerShell.
Ideal for repairing Defender update failures or automating endpoint checks.
Notes:
• Built into Windows 10 and 11; no extra installation needed.
• Run as Administrator for system-wide scan.
• Log location: C:\ProgramData\Microsoft\Windows Defender\Support\. Last updated: October 2025 • Verified by PCHF Staff
⚙️ Using PowerShell & Command-line Scripts Safely
Category: Windows 11 • PowerShell & Command-line Scripts
Author: jmarket (PCHF Founder)
Verified by: PCHF Staff • October 2025
Overview
Windows 11 includes several advanced administrative tools such as PowerShell, DISM, and Command Prompt.
These tools provide system administrators and technicians with extensive control over Windows maintenance, deployment, and troubleshooting tasks.
The scripts shared in this section are verified by PCHF S...
Summary:
PowerShell automation suite for image capture and deployment using DISM and MDT.
Streamlines Windows 11 image mounting, servicing, and deployment creation.
Windows Defender Offline Update and Quick Scan (PowerShell Script) Category: PowerShell & Command-line Scripts Author: Microsoft / PCHF Staff Version: 1.2 (October 2025)
Summary:
Forces Defender to update signatures and run a quick scan from PowerShell.
Ideal for repairing Defender update failures or automating endpoint checks.
Windows Update Reset and Repair (PowerShell Automation) Category: PowerShell & Command-line Scripts Author: Microsoft Support / Modified for PCHF Version: 3.0 (October 2025)
Summary:
Resets Windows Update components, clears the SoftwareDistribution and Catroot2 folders, and re-registers core update services.
Usage:
Code:
net stop bits
net stop wuauserv
net stop cryptsvc
Del "%systemroot%\SoftwareDistribution" /s /q
Del "%systemroot%\System32\ca
Windows Image Repair Sequence (SFC → DISM → Cleanup Commands) Category: PowerShell & Command-line Scripts Author: Microsoft / PCHF Staff Compatibility: Windows 10 / 11 (25H2 supported)
Summary:
Sequential script to verify and repair system files using built-in Microsoft tools. Automates SFC, DISM CheckHealth, ScanHealth, and RestoreHealth operations.
We process personal data about users of our site, through the use of cookies and other technologies, to deliver our services, personalize advertising, and to analyze site activity. We may share certain information about our users with our advertising and analytics partners. For additional details, refer to our Privacy Policy.
By clicking "I AGREE" below, you agree to our Privacy Policy and our personal data processing and cookie practices as described therein. You also acknowledge that this forum may be hosted outside your country and you consent to the collection, storage, and processing of your data in the country where this forum is hosted.