大网数据广告活动
启动与系统组件

Antivirus exclusions for VMM and managed hosts

· 52CE 我爱测

Describes recommended antivirus exclusions for Virtual Machine Manager and managed hosts.

If antivirus software is running on the Microsoft System Center Virtual Machine Manager (VMM) server or the managed hosts, including Scale-Out File Servers (SOF), antivirus exclusions should be set. This article describes the antivirus exclusions as they pertain to the VMM server itself and to the hosts that are managed by VMM.

Original product version:   Microsoft System Center 2012 R2 Virtual Machine Manager, System Center 2012 Virtual Machine Manager
Original KB number:   3119208

Set antivirus file type exclusions

We recommend that you set the following antivirus file type exclusions for the VMM server, the VMM libraries, and the managed hosts:

  • All VHD, VHDX, AVHD, AVHDX, VSV, and ISO files that are stored in the VMM libraries and library shares.

  • All VHD, VHDX, AVHD, AVHDX, VSV, and ISO files that are stored on the Hyper-V hosts and host clusters. These file types are typically found in the following locations:

    • Default virtual machine configuration directory and its subdirectories, if they're used

      • C:\ProgramData\Microsoft\Windows\Hyper-V
    • Default virtual machine virtual hard disk files directory and its subdirectories, if they're used

      • C:\Users\Public\Documents\Hyper-V\Virtual Hard Disks
    • Default snapshot files directory and its subdirectories, if they're used

      • C:\ProgramData\Microsoft\Windows\Hyper-V\Snapshots
    • Default Cluster Shared Volumes (CSV) paths and any subdirectories if you use Cluster Shared Volumes.

      • C:\ClusterStorage

        The method for setting exceptions for cluster CSV volumes has changed. We no longer set the path C:\ClusterStorage\volume(x). The new method is to set the exclusion using the Volume ID. The volume ID can be determined by opening an elevated command prompt and running the mountvol command. A sample output would look like this:

        \\?\Volume{83843316-a7f8-4cf7-b8c3-003186740fbd}\ C:\ClusterStorage\Volume1\

        In this case, the antivirus exception would be for \\?\Volume{83843316-a7f8-4cf7-b8c3-003186740fbd}\

    • Any applicable custom virtual hard disk drive directories.

    • Any custom replication data directories if you use Hyper-V replica or protect virtual machine workloads in Azure (for example, Azure Site Recovery Services).

More information

  • If you're storing virtual machine files on Server Message Block (SMB) 3.0 file shares and have antivirus software that's running on your file servers, set the appropriate exclusions (as noted earlier) on the file server.

  • The following two Hyper-V processes may have to be set as process exclusions in the antivirus software on all Hyper-V hosts:

    • Vmms.exe
    • Vmwp.exe
  • If virtual machines are missing from the Hyper-V Management console, you must set the antivirus exclusions and then restart the Hyper-V Virtual Machine Management service.

  • If you receive error code 0x800704C8, the virtual machine configuration file was likely corrupted. If you receive this error and can't fix the issue by restarting the Hyper-V Virtual Machine Management service, the virtual machine must be re-created or restored from a backup.

  • The following System Center Virtual Machine Manager processes may have to be set as process exclusions in the Antivirus software on all System Center Virtual Machine Manager servers:

    • Vmmservice.exe
    • VmmAgent.exe
    • VmmAdminUI.exe

Source: Microsoft Learn / IT Pro troubleshooting by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / IT Pro troubleshooting
适用范围
See source applicability · Source date 04/09/2024
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。