- How to Create a Non-Administrator-Based Service Account in Windows
- How to Fix WMI Corruption in a Windows Server
- WMI Class Reference
- How do I use WMI management through a firewall?
- How do I monitor a cluster of Windows Servers?
Windows Service Accounts
In order for OmniCenter to monitor/manage Microsoft Windows devices using WMI, WinRM or PowerShell, a Windows service account is required for device access.
While a Domain Administrator account is the easiest to use, it is possible to use a non-administrator user account by following the steps provided in How to Create Non-Administrator-Based Service Accounts in Windows.
Netreo recommends the use of a dedicated service account just for OmniCenter. This provides more accountability to the customer on who is attempting to access/manage their devices. Having a dedicated account also provides the customer a singular avenue to manage permissions and control over their Windows-based devices.
Use of a service account shared by other applications is also not recommended because it is possible for the account to become locked on the device due to another application accessing or managing the device at the same time OmniCenter is trying to. This could lead to loss of monitoring capability or statistical data collection.
WinRM (Windows Remote Management)
If most of your Windows devices are using an operating system that supports WinRM, and/or you are monitoring Windows devices through a firewall, you may want to enable WinRM polling in OmniCenter. It can either be set as the default for all Windows devices, or activated on a per-device basis using the instructions below.
To use WinRM as the default Windows polling method in OmniCenter (instead of WMI):
- Navigate to Administration → System → Preferences.
- Go to the System Options section and change the WINDOWS POLLING METHOD entry to “Windows Remote Management.”
- At the bottom of the page click Save Changes.
When using either polling method, the default method can be overridden on a per-device basis. If you are using WMI as the default polling method for Windows devices, but would like to use WinRM on specific Windows devices (or vice versa), you can do so by performing the following steps.
- Navigate to the Device Dashboard of the respective Windows device.
- From the device menu, select Edit → Main.
- In the “Device Details” panel, change the entry in the POLLING TYPE field to the desired polling method.
- At the bottom of the page, click Apply Changes.
WinRM and PowerShell 2.0 Compatibility
OmniCenter offers the option of using WinRM to poll Windows devices with PowerShell (see System Preferences page and Device Administration). However, when using PowerShell version 2.0 and lower, some users may experience issues (for example, with event log polling). To take full advantage of WinRM polling on your Windows devices, please make sure that each Windows device that you wish to poll using PowerShell is using version 3.0 or higher.
See Microsoft’s official PowerShell documentation (linked below) for how to determine your PowerShell version and update it, if necessary.