
Thanks to the relay server connectivity, LsAgent can even scan computers outside of our network and over the Internet. Data is securely sent to the relay server over HTTPS, stored in an encrypted format and deleted once a scanning server has retrieved it. LsAgent sends scanned data back to your Lansweeper installation, either directly or through our relay server in the cloud. Lansweeper includes a scanning agent called LsAgent which is a cross-platform, lightweight program that can be installed on Windows, Linux and Mac computers and that automatically collects an inventory from the computer it's installed on. Or a PowerShell code example that enables or disables the WMI port settings, see the Set-WmiSinglePort example on TechNet Gallery.Lansweeper is an IT asset management and network inventory software used by IT Services to assist with maintenance of University-owned computers Examplesįor a script that sets up a fixed port for WMI, see the following Scripting Gallery code sample. To undo any changes you make to WMI, type winmgmt /sharedhost, then stop and start the winmgmt service again. Establish a new port number for the WMI service by typing netsh firewall add portopening TCP 24158 WMIFixedPort.Restart the WMI service again in a new service host by typing net start "Windows Management Instrumentation" or net start winmgmt.Stop the WMI service by typing the command net stop "Windows Management Instrumentation", or use the short name of net stop winmgmt.At the command prompt, type winmgmt -standalonehost.The procedure uses the winmgmt command-line tool. The following procedure is an automated setup to allow WMI to have a fixed port.

However, you can set up the WMI service to run as the only process in a separate host and specify a fixed port. WMI runs as part of a shared service host with ports assigned through DCOM by default.
