You can run a scan of a custom path with the following command: To enable Windows Defender in Windows 11 using CMD, open Command Prompt as an administrator and type ...