Dela via


Configure a Trusted Image Identifier for Windows Defender

Applies To: Windows 8, Windows 8.1, Windows Server 2012, Windows Server 2012 R2

You can speed up the initial performance of your computer for the end user by adding a trusted image identifier to Windows® Defender. Windows Defender is a Microsoft® application that can help to prevent, remove, and quarantine malware and spyware.

By default, Windows Defender performs a scan of each file on the computer when the computer accesses the file for the first time. This is known as an on-access scan. Optimization mechanisms, such as caching, help reduce unnecessary scans of files that have already been scanned. When Windows Defender performs a quick scan or a full scan (also known as on-demand scans), the rest of the files on the system will be marked as safe.

Note

If you have already deployed a series of computers, and then later determine that there is a potential problem with the security of the image, contact your Depth Project Manager (PM) within the Windows Ecosystem Engagement team. and provide the unique identifier of the image. Microsoft will add this unique identifier into Windows Update. After a computer with that unique identifier receives updates from Windows Update, Windows Defender performs scans on all of the files on that computer.

Adding a Trusted Image Identifier

For optimal performance, we recommend that you add this setting when you prepare the computer for final deployment, after you perform a full scan of the final image.

To add a trusted image identifier

  1. Create an answer file that you are going to use with Sysprep, and add the Security-Malware-Windows-Defender\TrustedImageIdentifier setting. For more information, see Use Answer Files with Sysprep.

  2. For the value of the TrustedImageIdentifier setting, specify a unique identifier, such as a GUID, for the image.

  3. Install Windows on the reference computer, and perform all updates that are described in the "Common Sysprep Scenarios" section of the Sysprep (System Preparation) Overview topic.

  4. Perform a scan of the image by using Windows Defender or another scanning tool. This can help make sure that the image is safe.

  5. When you run Sysprep for the final time, use the Sysprep command together with the /oobe and /unattend options, as follows:

    Sysprep /oobe /shutdown /unattend:Unattend.xml
    
  6. Perform other offline tasks, such as offline servicing of the image. Capture and apply the image to other computers, and then deliver the computer to the customer.

    The next time that the computer starts, Windows identifies all of the files currently on the system, and skips these files during subsequent scans.

See Also

Reference

Applying Settings in the generalize, auditSystem, and auditUser Configuration Passes

Concepts

Sysprep Process Overview