Windows プローブと権限

  • リリースバージョン: Xanadu
  • 更新日 2024年08月01日
  • 所要時間:31分
  • ディスカバリー は、Windows コンピューターの特定のユーザーとしてコマンドを実行することにより、デバイスとソフトウェアにアクセスします。

    ほとんどのプローブは、Windows クラス、プロパティ、およびレジストリーエントリーにアクセスする必要があります。特定のプローブにも、Windows ディレクトリとリソースへの追加のアクセス権が必要です。セキュリティ方針は組織によって異なるため、1 つの特定のロールまたは権限を付与することはできません。これら Windows のコンポーネントに対して、Windows のユーザーが local admin 権限を持っていることを確認してください。

    管理共有

    Windows 管理共有は、ServiceNow ディスカバリー特定のプローブによって実行されるプロセスの結果を一時的に保存するために使用する非表示のサーバーリソースです。MID サーバースクリプトファイル LaunchProc.psm1 はプロセスを起動し、その出力をマシン上の管理共有に書き込み、次に MID サーバーの結果を取得します。管理共有へのアクセスは、ローカルアドミニストレーターグループに属するユーザー、ローカル、またはドメインなど、ターゲットに対する管理権限を持つユーザーに制限されています。

    New York リリースでは、WMI プロトコルを使用するすべての Windows プローブが LaunchProc.psm1 スクリプトファイルを呼び出し、admin$ 共有フォルダにデフォルトとして書き込みます。Windows の各ターゲットに別のネットワーク共有がマウントされている場合、MID サーバープロパティ mid.powershell.target_base_dirを更新することによって、フォルダーが変更される可能性があります。

    Windows クラス

    ほとんどの Windows プローブは、Windows のクラスとそれらに含まれるプロパティにアクセスします。一部の Windows クラスは、ファイルの名前空間パスを指定しません。ServiceNow は明示的なパスが指定されていない場合、デフォルトで root\cimv2\<クラス> を使用します。
    注:
    クラスター VIP のディスカバリーはサポートされていません。
    表 : 1. Windows クラス
    プローブ Windows クラス プロパティ
    Hyper-V - クラスター root\MSCluster\MSCluster_ClusterToNode 依存
    Hyper-V - クラスター root\MSCluster\MSCluster_ClusterToNode 先行
    Hyper-V - クラスター root\MSCluster\MSCluster_Resource タイプ
    Hyper-V - リソースプール root\virtualization\Msvm_ResourcePool ResourceSubType
    Hyper-V - リソースプール root\virtualization\Msvm_ResourcePool 名前
    Hyper-V - リソースプール root\virtualization\Msvm_ResourcePool キャパシティ
    Hyper-V - リソースプール root\virtualization\Msvm_ResourcePool AllocationUnits
    Hyper-V - リソースプール root\virtualization\Msvm_ResourcePool InstanceID
    Hyper-V - 仮想マシン root\virtualization\Msvm_MemorySettingData VirtualQuantity
    Hyper-V - 仮想マシン root\virtualization\Msvm_ComputerSystem ElementName
    Hyper-V - 仮想マシン root\virtualization\Msvm_ComputerSystem TimeOfLastStateChange
    Hyper-V - 仮想マシン root\virtualization\Msvm_LogicalDisk NumberOfBlocks
    Hyper-V - 仮想マシン root\virtualization\Msvm_MemorySettingData AllocationUnits
    Hyper-V - 仮想マシン root\virtualization\Msvm_VirtualSystemSettingData ChassisSerialNumber
    Hyper-V - 仮想マシン root\virtualization\Msvm_SyntheticEthernetPortSettingData InstanceID
    Hyper-V - 仮想マシン root\virtualization\Msvm_VirtualSystemSettingData BIOSGUID
    Hyper-V - 仮想マシン root\virtualization\Msvm_ComputerSystem 説明
    Hyper-V - 仮想マシン root\virtualization\Msvm_ComputerSystem 名前
    Hyper-V - 仮想マシン root\virtualization\Msvm_LogicalDisk BlockSize
    Hyper-V - 仮想マシン root\virtualization\Msvm_VirtualSystemSettingData BIOSSerialNumber
    Hyper-V - 仮想マシン root\virtualization\Msvm_VirtualSystemSettingData BaseBoardSerialNumber
    Hyper-V - 仮想マシン root\virtualization\Msvm_VirtualSystemSettingData SystemName
    Hyper-V - 仮想マシン root\virtualization\Msvm_LogicalDisk ElementName
    Hyper-V - 仮想マシン root\virtualization\Msvm_LogicalDisk SystemName
    Hyper-V - 仮想マシン root\virtualization\Msvm_ProcessorSettingData VirtualQuantity
    Hyper-V - 仮想マシン root\virtualization\Msvm_ProcessorSettingData InstanceID
    Hyper-V - 仮想マシン root\virtualization\Msvm_ComputerSystem EnabledState
    Hyper-V - 仮想マシン root\virtualization\Msvm_SyntheticEthernetPortSettingData ElementName
    Hyper-V - 仮想マシン root\virtualization\Msvm_MemorySettingData InstanceID
    Hyper-V - 仮想ネットワーク root\virtualization\Msvm_VirtualSwitch 名前
    Hyper-V - 仮想ネットワーク root\virtualization\Msvm_VirtualSwitch ElementName
    Hyper-V - 仮想ネットワーク root\virtualization\Msvm_ActiveConnection 先行
    Hyper-V - 仮想ネットワーク root\virtualization\Msvm_ActiveConnection 依存
    Windows - アクティブプロセス Win32_Process 説明
    Windows - アクティブプロセス Win32_Process CreationDate
    Windows - アクティブプロセス Win32_Process CommandLine
    Windows - アクティブプロセス Win32_Process キャプション
    Windows - アクティブプロセス Win32_Process 優先度
    Windows - アクティブプロセス Win32_Process ProcessId
    Windows - アクティブプロセス Win32_Process ParentProcessId
    Windows - アクティブプロセス Win32_Process 名前
    Windows - アクティブプロセス Win32_Process ExecutablePath
    Windows - 分類 root\MSCluster\MSCluster_Node 名前
    Windows - 分類 Win32_ComputerSystem ドメイン
    Windows - 分類 root\MSCluster\MSCluster_Resource 名前
    Windows - 分類 root\MSCluster\MSCluster_Resource タイプ
    Windows - 分類 root\MSCluster\MSCluster_Resource PrivateProperties
    Windows - 分類 root\virtualization\Msvm_ComputerSystem 名前
    Windows - 分類 root\MSCluster\MSCluster_ClusterToNode 依存
    Windows - 分類 root\MSCluster\MSCluster_ClusterToNode 先行
    Windows - 分類 root\MSCluster\MSCluster_ClusterToResource PartComponent
    Windows - 分類 root\MSCluster\MSCluster_ClusterToResource GroupComponent
    Windows - 分類 Win32_OperatingSystem キャプション
    Windows - 分類 root\MSCluster\MSCluster_Cluster 名前
    Windows - 分類 Win32_ComputerSystem 名前
    Windows - クラスター root\MSCluster\MSCluster_Cluster 名前
    Windows - クラスター root\MSCluster\MSCluster_Network AddressMask
    Windows - クラスター root\MSCluster\MSCluster_ClusterToResource GroupComponent
    Windows - クラスター root\MSCluster\MSCluster_Resource タイプ
    Windows - クラスター root\MSCluster\MSCluster_Node 特性
    Windows - クラスター root\MSCluster\MSCluster_ResourceGroup 名前
    Windows - クラスター root\MSCluster\MSCluster_ClusterToQuorumResource PartComponent
    Windows - クラスター root\MSCluster\MSCluster_ResourceGroupToResource PartComponent
    Windows - クラスター root\MSCluster\MSCluster_Network 住所
    Windows - クラスター root\MSCluster\MSCluster_Resource PrivateProperties
    Windows - クラスター root\MSCluster\MSCluster_Resource ステータス
    Windows - クラスター root\MSCluster\MSCluster_Node フラグ
    Windows - クラスター root\MSCluster\MSCluster_ResourceGroup PrivateProperties
    Windows - クラスター root\MSCluster\MSCluster_ClusterToQuorumResource GroupComponent
    Windows - クラスター root\MSCluster\MSCluster_ResourceGroupToResource GroupComponent
    Windows - クラスター root\MSCluster\MSCluster_NodeToActiveGroup GroupComponent
    Windows - クラスター root\MSCluster\MSCluster_Network 説明
    Windows - クラスター root\MSCluster\MSCluster_Cluster ステータス
    Windows - クラスター root\MSCluster\MSCluster_Resource キャプション
    Windows - クラスター root\MSCluster\MSCluster_Node 状態
    Windows - クラスター root\MSCluster\MSCluster_ClusterToNode 依存
    Windows - クラスター root\MSCluster\MSCluster_ResourceType 説明
    Windows - クラスター root\MSCluster\MSCluster_NodeToNetworkInterface GroupComponent
    Windows - クラスター root\MSCluster\MSCluster_NodeToActiveGroup PartComponent
    Windows - クラスター root\MSCluster\MSCluster_Network 名前
    Windows - クラスター root\MSCluster\MSCluster_Cluster キャプション
    Windows - クラスター root\MSCluster\MSCluster_ClusterToNetworkInterface GroupComponent
    Windows - クラスター root\MSCluster\MSCluster_Node NodeInstanceID
    Windows - クラスター root\MSCluster\MSCluster_ClusterToNode 先行
    Windows - クラスター root\MSCluster\MSCluster_ResourceType PrivateProperties
    Windows - クラスター root\MSCluster\MSCluster_NodeToNetworkInterface PartComponent
    Windows - クラスター root\MSCluster\ MSCluster_ResourceToPossibleOwner PartComponent
    Windows - クラスター root\MSCluster\MSCluster_Node 名前
    Windows - クラスター root\MSCluster\MSCluster_NetworkInterface 住所
    Windows - クラスター root\MSCluster\MSCluster_ClusterToNetworkInterface PartComponent
    Windows - クラスター root\MSCluster\MSCluster_Node 説明
    Windows - クラスター root\MSCluster\MSCluster_NodeToActiveResource PartComponent
    Windows - クラスター root\MSCluster\MSCluster_ResourceType DisplayName
    Windows - クラスター root\MSCluster\MSCluster_Event タイプ
    Windows - クラスター root\MSCluster\ MSCluster_ResourceToPossibleOwner GroupComponent
    Windows - クラスター root\MSCluster\MSCluster_Resource 名前
    Windows - クラスター root\MSCluster\MSCluster_NetworkInterface ネットワーク
    Windows - クラスター root\MSCluster\MSCluster_ClusterToNetwork PartComponent
    Windows - クラスター root\MSCluster\MSCluster_Node ステータス
    Windows - クラスター root\MSCluster\MSCluster_NodeToActiveResource GroupComponent
    Windows - クラスター root\MSCluster\MSCluster_ResourceType 名前
    Windows - クラスター root\MSCluster\MSCluster_Event 名前
    Windows - クラスター root\MSCluster\MSCluster_NetworkInterface DeviceID
    Windows - クラスター root\MSCluster\MSCluster_Resource 説明
    Windows - クラスター root\MSCluster\MSCluster_NetworkInterface 説明
    Windows - クラスター root\MSCluster\MSCluster_ClusterToNetwork GroupComponent
    Windows - クラスター root\MSCluster\MSCluster_Node キャプション
    Windows - クラスター root\MSCluster\MSCluster_ResourceToDependentResource 依存
    Windows - クラスター root\MSCluster\MSCluster_ResourceGroup 状態
    Windows - クラスター root\MSCluster\MSCluster_ClusterToResourceGroup PartComponent
    Windows - クラスター root\MSCluster\MSCluster_ResourceTypeToResource PartComponent
    Windows - クラスター root\MSCluster\MSCluster_Cluster 説明
    Windows - クラスター root\MSCluster\MSCluster_NetworkInterface 名前
    Windows - クラスター root\MSCluster\MSCluster_ClusterToResource PartComponent
    Windows - クラスター root\MSCluster\MSCluster_Node PrivateProperties
    Windows - クラスター root\MSCluster\MSCluster_ResourceToDependentResource 先行
    Windows - クラスター root\MSCluster\MSCluster_ResourceGroup 説明
    Windows - クラスター root\MSCluster\MSCluster_ClusterToResourceGroup GroupComponent
    Windows - クラスター root\MSCluster\MSCluster_ResourceTypeToResource GroupComponent
    Windows - CPU / メモリー Win32_PhysicalMemory DeviceLocator
    Windows - CPU / メモリー Win32_PhysicalMemory TypeDetail
    Windows - CPU / メモリー Win32_PhysicalMemory FormFactor
    Windows - CPU / メモリー Win32_PhysicalMemory MemoryType
    Windows - CPU / メモリー Win32_PhysicalMemory DataWidth
    Windows - CPU / メモリー Win32_PhysicalMemory TotalWidth
    Windows - CPU / メモリー Win32_PhysicalMemory BankLabel
    Windows - CPU / メモリー Win32_PhysicalMemory ステータス
    Windows - CPU / メモリー Win32_Processor メーカー
    Windows - CPU / メモリー Win32_Processor NumberOfCores
    Windows - CPU / メモリー Win32_PhysicalMemory 速度
    Windows - CPU / メモリー Win32_Processor MaxClockSpeed
    Windows - CPU / メモリー Win32_Processor NumberOfLogicalProcessor
    Windows - CPU / メモリー Win32_PhysicalMemory SerialNumber
    Windows - CPU / メモリー Win32_Processor 名前
    Windows - CPU / メモリー Win32_PhysicalMemory PartNumber
    Windows - CPU / メモリー Win32_PhysicalMemory キャパシティ
    Windows - CPU / メモリー Win32_PhysicalMemory メーカー
    Windows - CPU / メモリー Win32_PhysicalMemory タグ
    Windows - ディスク Win32_LogicalDisk サイズ
    Windows - ディスク Win32_LogicalDisk FreeSpace
    Windows - ディスク Win32_LogicalDisk DeviceID
    Windows - ディスク Win32_LogicalDisk FileSystem
    Windows - ディスク Win32_LogicalDisk DriveType
    Windows - ディスク Win32_LogicalDisk 説明
    Windows - ディスク Win32_LogicalDisk VolumeSerialNumber
    Windows - ディスク Win32_LogicalDisk VolumeName
    Windows - IIS 情報の取得 root\MicrosoftIISv2\IIsWebServerSetting SecureBindings
    Windows - IIS 情報の取得 root\MicrosoftIISv2\IIsWebServerSetting 名前
    Windows - IIS 情報の取得 root\MicrosoftIISv2\IIsWebServerSetting LogFileDirectory
    Windows - IIS 情報の取得 root\MicrosoftIISv2\IIsWebInfo MinorIIsVersionNumber
    Windows - IIS 情報の取得 root\MicrosoftIISv2\IIsWebInfo MajorIIsVersionNumber
    Windows - IIS 情報の取得 root\MicrosoftIISv2\IIsWebServerSetting ServerComment
    Windows - IIS 情報の取得 root\MicrosoftIISv2\IIsWebServerSetting ServerBindings
    Windows - ハードウェア情報 Win32_ComputerSystemProduct UUID
    Windows - ハードウェア情報 Win32_ComputerSystemProduct IdentifyingNumber
    Windows - ハードウェア情報 Win32_SystemEnclosure ChassisTypes
    Windows - ハードウェア情報 Win32_BIOS SerialNumber
    Windows - ハードウェア情報 Win32_SystemEnclosure SerialNumber
    Windows - ハードウェア情報 Win32_BaseBoard SerialNumber
    Windows - インストール済みソフトウェア Win32_OperatingSystem キャプション
    Windows - ネットワーク Win32_NetworkAdapterConfiguration インデックス
    Windows - ネットワーク Win32_NetworkAdapterConfiguration DHCPEnabled
    Windows - ネットワーク Win32_NetworkAdapterConfiguration MACAddress
    Windows - ネットワーク Win32_NetworkAdapterConfiguration IPSubnet
    Windows - ネットワーク Win32_NetworkAdapterConfiguration IPAddress
    Windows - ネットワーク Win32_NetworkAdapter インデックス
    Windows - ネットワーク Win32_NetworkAdapterConfiguration キャプション
    Windows - ネットワーク Win32_NetworkAdapter メーカー
    Windows - ネットワーク Win32_NetworkAdapterConfiguration DefaultIPGateway
    Windows - ネットワーク Win32_NetworkAdapter NetConnectionID
    Windows - ネットワーク Win32_NetworkAdapterConfiguration IPEnabled
    Windows - OS 情報 Win32_OperatingSystem CSDVersion
    Windows - OS 情報 Win32_OperatingSystem バージョン
    Windows - OS 情報 Win32_ComputerSystem UserName
    Windows - OS 情報 Win32_ComputerSystem モデル
    Windows - OS 情報 Win32_ComputerSystem メーカー
    Windows - OS 情報 Win32_Processor AddressWidth
    Windows - OS 情報 Win32_OperatingSystem 説明
    Windows - プリンター Win32_Printer 名前
    Windows - プリンター Win32_TCPIPPrinterPort HostAddress
    Windows - プリンター Win32_TCPIPPrinterPort 名前
    Windows - プリンター Win32_Printer PortName
    Windows - プリンター Win32_Printer DeviceID
    Windows - サービス Win32_Service ProcessId
    Windows - サービス Win32_Service ServiceType
    Windows - サービス Win32_Service StartName
    Windows - サービス Win32_Service DisplayName
    Windows - サービス Win32_Service 状態
    Windows - サービス Win32_Service StartMode
    Windows - サービス Win32_Service パス
    Windows - サービス Win32_Service DesktopInteract
    Windows - サービス Win32_Service 名前
    Windows - サービス Win32_Service AcceptStop
    Windows - サービス Win32_Service AcceptPause

    Windows レジストリーエントリー

    ディスカバリーの Windows プローブでは、いくつかの Windows レジストリーエントリーを使用できます。
    注:
    Windows にインストールされたソフトウェアセンサーは、レジストリーから取得された install_date に 00:00:00 のタイムスタンプを追加します。すべての Windows ソフトウェアのインストール時間は、タイムゾーンに依存せず、インストールされた日の午前 0 時に設定されます。たとえば、Windows レジストリーでインストール日が [2.19.2017] の場合、CMDB では [2.19.2017 00:00:00] と表示されます。
    プローブ Windows レジストリーエントリー
    Windows - 分類 HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services/Tcpip/Parameters/Hostname
    Windows - 分類 HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services/Tcpip/Parameters/Domain
    Windows - APD ファイルの場所を検索 HKEY_LOCAL_MACHINE/SOFTWARE/APD/APD/CONFIGPATH
    Windows - インストール済みソフトウェア HKEY_LOCAL_MACHINE/Software/Wow6432Node/Microsoft/Windows/CurrentVersion/Installer/UserData/*/Products/*/InstallProperties/InstallDate
    Windows - インストール済みソフトウェア HKEY_LOCAL_MACHINE/Software/Wow6432Node/Microsoft/Windows/CurrentVersion/Uninstall/*/DisplayVersion
    Windows - インストール済みソフトウェア HKEY_LOCAL_MACHINE/Software/Microsoft/Windows NT/CurrentVersion/ProductId
    Windows - インストール済みソフトウェア HKEY_LOCAL_MACHINE/Software/Microsoft/Windows/CurrentVersion/ProductId
    Windows - インストール済みソフトウェア HKEY_LOCAL_MACHINE/Software/Microsoft/Windows/CurrentVersion/Installer/UserData/*/Products/*/InstallProperties/InstallDate
    Windows - インストール済みソフトウェア HKEY_LOCAL_MACHINE/Software/Wow6432Node/Microsoft/Windows/CurrentVersion/Uninstall/*/DisplayName
    Windows - インストール済みソフトウェア HKEY_LOCAL_MACHINE/Software/Microsoft/Windows/CurrentVersion/Uninstall/*/ParentDisplayName
    Windows - インストール済みソフトウェア HKEY_LOCAL_MACHINE/Software/Microsoft/Windows/CurrentVersion/Installer/UserData/*/Products/*/InstallProperties/DisplayVersion
    Windows - インストール済みソフトウェア HKEY_LOCAL_MACHINE/Software/Microsoft/Windows/CurrentVersion/Uninstall/*/UninstallString
    Windows - インストール済みソフトウェア HKEY_LOCAL_MACHINE/Software/Wow6432Node/Microsoft/Windows/CurrentVersion/Installer/UserData/*/Products/*/InstallProperties/Publisher
    Windows - インストール済みソフトウェア HKEY_LOCAL_MACHINE/Software/Microsoft/Internet Explorer/Version
    Windows - インストール済みソフトウェア HKEY_LOCAL_MACHINE/Software/Microsoft/Windows/CurrentVersion/Installer/UserData/*/Products/*/InstallProperties/DisplayName
    Windows - インストール済みソフトウェア HKEY_LOCAL_MACHINE/Software/Microsoft/Windows/CurrentVersion/Uninstall/*/Publisher
    Windows - インストール済みソフトウェア HKEY_LOCAL_MACHINE/Software/Wow6432Node/Microsoft/Windows/CurrentVersion/Installer/UserData/*/Products/*/InstallProperties/ProductID
    Windows - インストール済みソフトウェア HKEY_LOCAL_MACHINE/Software/Wow6432Node/Microsoft/Office/*/Registration/*/ProductID
    Windows - インストール済みソフトウェア HKEY_LOCAL_MACHINE/Software/Microsoft/Windows/CurrentVersion/Installer/UserData/*/Products/*/InstallProperties/ProductID
    Windows - インストール済みソフトウェア HKEY_LOCAL_MACHINE/Software/Microsoft/Windows/CurrentVersion/Uninstall/*/DisplayVersion
    Windows - インストール済みソフトウェア HKEY_LOCAL_MACHINE/Software/Wow6432Node/Microsoft/Windows/CurrentVersion/Installer/UserData/*/Products/*/InstallProperties/DisplayVersion
    Windows - インストール済みソフトウェア HKEY_LOCAL_MACHINE/Software/Wow6432Node/Microsoft/Office/*/Registration/*/DigitalProductID
    Windows - インストール済みソフトウェア HKEY_LOCAL_MACHINE/Software/Microsoft/Windows/CurrentVersion/Installer/UserData/*/Products/*/InstallProperties/Publisher
    Windows - インストール済みソフトウェア HKEY_LOCAL_MACHINE/Software/Microsoft/Windows/CurrentVersion/Uninstall/*/DisplayName
    Windows - インストール済みソフトウェア HKEY_LOCAL_MACHINE/Software/Wow6432Node/Microsoft/Windows/CurrentVersion/Installer/UserData/*/Products/*/InstallProperties/DisplayName
    Windows - インストール済みソフトウェア HKEY_LOCAL_MACHINE/Software/Wow6432Node/Microsoft/Windows/CurrentVersion/Uninstall/*/UninstallString
    Windows - インストール済みソフトウェア HKEY_LOCAL_MACHINE/Software/Microsoft/Office/*/Registration/*/DigitalProductID
    Windows - インストール済みソフトウェア HKEY_LOCAL_MACHINE/Software/Microsoft/Internet Explorer/Registration/ProductId
    Windows - インストール済みソフトウェア HKEY_LOCAL_MACHINE/Software/Wow6432Node/Microsoft/Windows/CurrentVersion/Uninstall/*/Publisher
    Windows - インストール済みソフトウェア HKEY_LOCAL_MACHINE/Software/Microsoft/Internet Explorer/svcVersion
    Windows - インストール済みソフトウェア HKEY_LOCAL_MACHINE/Software/Microsoft/Office/*/Registration/*/ProductID
    Windows - インストール済みソフトウェア HKEY_LOCAL_MACHINE/Software/Wow6432Node/Microsoft/Windows/CurrentVersion/Uninstall/*/InstallDate
    Windows - インストール済みソフトウェア HKEY_LOCAL_MACHINE/Software/Wow6432Node/Microsoft/Windows/CurrentVersion/Uninstall/*/ParentDisplayName
    Windows - インストール済みソフトウェア HKEY_LOCAL_MACHINE/Software/Microsoft/Windows/CurrentVersion/Uninstall/*/InstallDate
    Windows - インストール済みソフトウェア HKEY_LOCAL_MACHINE/Software/Microsoft/Windows NT/CurrentVersion/DigitalProductID