If you don't have a domain controller but would still like to monitor your Windows devices, you'll need to enable WMI device by device. Please see How to enable WMI monitoring on a single Windows device for complete instructions.
Auvik uses the Windows Remote Management (WinRM) protocol to access Windows Management Instrumentation (WMI) data. This article walks you through how to enable and configure WinRM using Group Policy so you can use Auvik to remotely manage all Windows devices on your network.
Keep in mind there’s a delay between completing the set-up steps and the change propagating to all computers in your network.
Polling a remote device via WMI requires Administrator credentials. See the following article for more information:
https://docs.microsoft.com/en-us/windows/win32/wmisdk/user-account-control-and-wmi
Note: These instructions are written for Windows Server 2012 R2. If you're using an older version of Windows Server, your steps and the labels you see may vary.
First, we need to create a Group Policy object for your domain.
- From the start menu, open Control Panel.
- Select Administrative Tools.
- Select Group Policy Management.
- From the menu tree, click Domains > [your domain’s name].
- Right-click and select Create a GPO in this domain, and Link it here.
- Input Enable WinRM.
- Click OK.
Next, edit the new Group Policy object you just created. When you’re done, there will be three WinRM service settings enabled:
- Allow remote server management through WinRM
- Right-click on the new Enable WinRM Group Policy Object and select Edit.
- From the menu tree, click Computer Configuration > Policies > Administrative Templates: Policy definitions > Windows Components > Windows Remote Management (WinRM) > WinRM Service.
- Right-click on Allow remote server management through WinRM and click Edit.
- Select Enabled to allow remote server management through WinRM.
- Enter an asterisk (*) into each field.
- Click OK.
Now that Windows Remote Management has been enabled on the Group Policy, you need to enable the service that goes with it.
- From the Group Policy Management Editor window, click Preferences > Control Panel Settings > Services.
- Right-click on Services and select New > Service.
- Select Automatic as the startup.
- Enter WinRM as the service name.
- Select Start service as the service action.
- All remaining details can stay on the defaults. Click OK.
Now you must allow for inbound remote administration by updating the firewall rules. When you’re done, there will be two rules enabled:
- Windows Firewall: Allow inbound remote administration exception
- Windows Firewall: Allow ICMP exception
- Using the Group Policy Management Editor, from the menu tree, click Computer Configuration > Policies > Administrative Templates: Policy definitions > Network > Network Connections > Windows Firewall > Domain Profile.
- Right-click on Windows Firewall: Allow inbound remote administration exception and click Edit.
- Select Enabled.
- Enter the IP address into the field called Allow unsolicited incoming messages from these IP addresses. To allow messages from any IP address, enter an asterisk (*) into each field. You can also restrict unsolicited incoming messages from the Auvik virtual appliance only, by entering the appliances IP address. Otherwise enter a comma-separated list that contains a combination of IP addresses (10.1.100.0), subnet descriptions (10.2.3.0/24), or strings (localsubnet) for the set of devices that will have access for remote administration.
- Click OK.
- Right-click on Windows Firewall: Allow ICMP exception and click Edit.
- Select Enabled.
- Check Allow inbound echo request.
- Click OK.
Almost done! The final steps is to create a new inbound firewall rule and update the network list manager for unidentified networks.
- From the menu tree, click Computer Configuration > Policies > Windows Settings > Security Settings > Windows Firewall with Advanced Security > Windows Firewall with Advanced Security > Inbound Rules.
- Right-click on Inbound Rules and click New Rule.
- Select Predefined.
- Select Windows Remote Management from the list of services.
- Click Next.
- Uncheck the Public rule. Leave the Domain, Private rule checked.
- Click Next.
- Leaving the defaults, click Finish.
- Right-click on the new rule and click Properties.
- Click the Advanced tab.
- Uncheck Private.
- Click OK.
- From the menu tree, click Computer Configuration > Policies > Windows Settings > Security Settings > Network List Manager Policies.
- Right-click Unidentified Networks and click Properties.
- Change the location type from Not configured to Private.
- Click OK.
- Close the Local Group Policy Editor window.
All the Windows machines on your network are now WMI-enabled and can be monitored and managed through Auvik.