NetSight Setup Guide — Part 18: Preparing Windows for agentless monitoring (WinRM)
This is Part 18, and it opens the inventory and endpoint section of the guide. NetSight can build a full hardware-and-software inventory of your Windows machines without installing anything on them — this is called agentless monitoring. It does this over a built-in Windows feature called WinRM (Windows Remote Management). This part is the prep work: getting Windows ready to answer NetSight. (In Part 19 we point NetSight at the machines.)
Agentless vs an agent — and why start here
There are two ways to inventory a Windows PC: install a small agent on it (covered in Part 20), or query it remotely over WinRM with no software installed. Agentless is the fastest way to cover a fleet of always-on domain PCs — turn WinRM on once (ideally via Group Policy), and NetSight can reach them all. It's a natural fit for a hospital where machines are domain-joined and you'd rather not touch every endpoint.
What NetSight reads (and what it does not)
When NetSight connects over WinRM it runs read-only PowerShell/CIM queries to collect:
- OS name and version, hostname, and domain
- CPU, RAM, BIOS/serial, and disk volumes
- Installed software (name and version)
- Windows hotfixes — the KB updates applied
That's it. It reads facts; it never changes settings or installs anything. This is inventory, not control.
The ports involved
WinRM listens on two possible ports — make sure the one you use is allowed between the NetSight server and your PCs:
- 5985 — WinRM over HTTP (the default).
- 5986 — WinRM over HTTPS (encrypted; recommended if the traffic crosses untrusted network segments).
Option A — Enable WinRM on a single machine
To try it on one PC first, open PowerShell as Administrator on that machine and run:
Enable-PSRemoting -Force
That starts the WinRM service, sets it to auto-start, and creates a listener and firewall rule. You can also use the classic:
winrm quickconfig
Either one gets a single machine ready. This is perfect for a pilot before you roll it out widely.
Option B — Enable WinRM across the domain (recommended)
For a real deployment you don't want to touch every PC by hand. Use Group Policy to enable WinRM everywhere at once. In a Group Policy Object linked to the machines you want to cover, your Windows admin will:
- Turn on the WinRM service — set Allow remote server management through WinRM to Enabled, and set the WinRM service to start automatically.
- Open the firewall — allow the Windows Remote Management (HTTP-In) inbound rule for port 5985 (and 5986 if using HTTPS).
Once the policy applies (a reboot or a gpupdate /force), every machine in scope will accept NetSight's queries. Because SICVD's clinical PCs run 24/7 and shouldn't be rebooted casually, prefer gpupdate /force over waiting for a reboot, and roll the GPO out to a small test OU first.
Choosing the account NetSight will use
NetSight authenticates as a Windows account you provide. Best practice:
- Create a dedicated service account in Active Directory rather than reusing a person's login.
- It needs enough rights to read WMI/CIM on the target machines — typically local administrator on the endpoints, which in a domain is usually granted by adding the service account to a group that's a member of the local Administrators group via GPO.
- Give it a strong password and, ideally, restrict where it can log in.
NetSight stores this credential encrypted and uses it read-only. The username can be in either DOMAIN\user or user@domain form.
Authentication method
NetSight supports three WinRM transports; pick based on your environment:
- NTLM — the default, works in most domains without extra setup.
- Kerberos — for stricter, fully domain-joined environments.
- Basic — only over HTTPS, and generally avoided.
For most sites, NTLM on 5985 inside a trusted LAN is the simplest working combination; move to HTTPS on 5986 if any of the traffic leaves a trusted segment.
Test one machine before scaling
Before rolling the GPO out widely, confirm one prepared machine actually answers. From a Windows box that has your service-account credentials, a quick check is:
Test-WsMan <target-hostname>
If that returns identity information, WinRM is listening and reachable. NetSight itself also has a per-endpoint Test action (Part 19) that does the same thing from the server's side.
A safe rollout order
- Enable WinRM on one test PC (Option A) and confirm NetSight can read it.
- Create and test the service account.
- Build the GPO and link it to a small test OU first.
- Confirm those machines inventory correctly, then widen the GPO to the rest.
This staged approach means a mistake affects a handful of test machines, never the whole clinical fleet at once.
Next up — Part 19: Building your asset inventory, where WinRM is ready — so we add endpoints in NetSight (individually or discovered from Active Directory), run a scan, and see the hardware and software inventory populate.
(This continues from Part 17: Integrations & threat intelligence.)