Skip to page contentSkip to chat
ServiceNow support
    • Community
      Ask questions, give advice, and connect with fellow ServiceNow professionals.
      Developer
      Build, test, and deploy applications
      Documentation
      Find detailed information about ServiceNow products, apps, features, and releases.
      Impact
      Accelerate ROI and amplify your expertise.
      Learning
      Build skills with instructor-led and online training.
      Partner
      Grow your business with promotions, news, and marketing tools
      ServiceNow
      Learn about ServiceNow products & solutions.
      Store
      Download certified apps and integrations that complement ServiceNow.
      Support
      Manage your instances, access self-help, and get technical support.
Hyper-V machines mistakenly categorized as physical upon discovery - Support and Troubleshooting
  • >
  • Knowledge Base
  • >
  • Support and Troubleshooting (Knowledge Base)
  • >
  • Hyper-V machines mistakenly categorized as physical upon discovery
KB0549372

Hyper-V machines mistakenly categorized as physical upon discovery


2827 Views Last updated : Aug 22, 2022 public Copy Permalink
KB Summary by Now Assist

Issue

ServiceNow offers the capability of discovering infrastructure hypervised by Microsofts Hyper-V technology. Although information is available through the product documentation for Hyper-V data collected by Discovery, users of ServiceNow might find it unexpected that machines hosted by Hyper-V instances are still categorized as physical and not marked as virtual. This article explains how to determine whether a machine is virtual and how to ensure that Hyper-V machines are marked as virtual.

Determining whether a machine is virtual

The platform is using a set of business rules, sensor scripts, and built-in discovery logic in order to determine whether a computer should be considered virtual.

  1. When ServiceNow probes and sensors are retrieving basic information about the target machine(s) discovered, one vital piece of information is the serial key. For a complete list of the information retrieved upon discovery of Windows machines, refer to the product documentation topic Data collected by Discovery on Windows computers.
  2. Before a record is updated or inserted into the cmdb_ci_computer table, a business rule named Virtual computer check triggers.
  3. The Virtual computer check business rule includes logic that determines if the computer is virtual and, if so, which hypervisor technology is used (vmWare, Hyper-V, etc). 
  4. The Virtual computer check business rule is responsible for setting the is virtual attribute on the CI record, as well as the relationship type. For example Virtualized by::Virtualizes or Registered on::Has registered.

Hyper-V machines not marked as virtual

In order for a Hyper-V hosted machine to be successfully classified as virtual, the following requirements need to be met:

  • a corresponding Hyper-V server and/or instance
  • a correct serial number on the CI record - the serial number needs to match any of the three serial number types listed below, on any of the Hyper-V instances

If you have not discovered the Hyper-V instance or server, or if it is missing any of the three serial numbers listed below, the machine(s) belonging to this instance will never be marked as virtual. 

AttributeTable Name
BIOS Serialcmdb_ci_hyper_v_instance
Chassis Serialcmdb_ci_hyper_v_instance
Baseboard Serialcmdb_ci_hyper_v_instance


If the serial numbers on the Windows servers do not match any of the serial numbers on any of the Hyper-V instances, we do not have enough information to go any further in the Virtual computer check business rule. The code in DiscoveryHyperVSensor also attempts this, though in the other direction. Both pieces of code have this capability because we do not know which device will be discovered first and each will try to reconcile the dependencies. 


The world works with ServiceNow.

Sign in for more! There's more content available only to authenticated users Sign in for more!
Did this KB article help you?
Did this KB article help you?

How would you rate your Now Support digital experience?

*

Very unsatisfied

Unsatisfied

Neutral

Satisfied

Very satisfied

Very unsatisfied

Unsatisfied

Neutral

Satisfied

Very satisfied

What can we improve? Please select all that apply.

What are we doing well? Please select all that apply.

Tell us more

*

Do you expect a response from this feedback?

  • Terms and conditions
  • Privacy statement
  • GDPR
  • Cookie policy
  • © 2025 ServiceNow. All rights reserved.