Disable Windows Licensing Monitoring Service

Good morning. I figured it was time for another post on Essentials. Some parts of this article also apply to Foundation edition.

If you use a widespread generic class, like “Windows Server Operating System” you must ONLY monitor a service that would exist on ALL Windows Server Operating Systems. If it doesn’t, then you will see false monitoring conditions, or creating an unhealthy state for a computer which does not have the service. Windows 10 in S mode is designed for security and performance, exclusively running apps from the Microsoft Store. If you want to install an app that isn't available in the Microsoft Store, you'll need to switch out of S mode. Switching out of S mode is one-way. If you make the switch, you won't be able to go back to Windows 10 in S mode. How to remove Windows Licensing Monitoring Service from Windows operation system. Agree the license and ensure the user login as nt authoritysystem; Delete the service using following cmd:sc delete WLMS; Delete WLMS folder from following location.

Let’s start off with a little background on Essentials edition. Windows Server Essentials edition is designed for a small to medium sized business. It is a very good option for a small to medium sized business with less than 25 users/computers. Here are a few of the advantages to running Essentials.

  • It is less expense than standard edition. Typically by $200-300.
  • There are no additional CALs (Client Access Licenses) to purchase. Twenty five user CALs are included.
  • Can be easily upgraded to standard edition with a single command.
  • Client PC Backup is builtin. This feature automatically backs up client PCs to the server
  • Anywhere access is available. This is a feature that was first introduced in SBS (Small Business Server) It allows a user to remotely access computers and file shares. It also allows the administrator to access the Dashboard from anywhere. Additionally the administrator can setup a SSTP (Secure Socket Tunneling Protocol) VPN (Virtual Private Network) via a wizard.
  • Easy integration with Microsoft cloud solutions.

What’s the catch? There is always a catch. Windows Essentials edition is no exception. Below are the limitations imposed by running Essentials.

  • The Essentials server MUST be a domain controller.
  • The Essentials server must hold all the FSMO (Flexible Single Master Operation) roles. If you want to learn more about the FSMO roles here is a good article.
  • Only one domain is permitted in the forest where the Windows Essentials edition server resides.
  • No forest/domain trusts are permitted.
  • The Remote Desktop Session Host role feature is not supported and typically will not function.

So what if the server is not a domain controller or violates one of the rules above? This is where the Server Infrastructure License Service comes into play. This service regularly checks the server to verify it is not violating the EULA (End User License Agreement). If a violation is found the server will shutdown every 27.67 days (27 days, 16 hours). Why Microsoft chose 27.67 days, I have no idea. Before it shuts down though it will warn you. The events will show up in the Server Infrastructure Licensing log.

The next question is how do we fix these errors. I have seen three causes for this issue. Let’s go over each one and how to fix it. After you believe you have fixed the issue, see the the next section for a way to confirm the issue is resolved.

  1. The first cause of this issue is also the most painful to fix. If the server is demoted, and put into a workgroup it will cause this issue. All checks will fail because the domain can no longer be contacted. Unfortunately the only fix is to reinstall Windows on the server.
  2. The second reason these errors might crop up is due to the check failing due to an issue with Active Directory. For instance, if the server is not advertising as a domain controller due a SYSVOL issue. If an Active Directory issue is suspected, the first place to start should be to run a dcdiag. Dcdiag will test the basic functionality and report any issues found. As stated above, if there are SYSVOL issues, then the server will likely fail the advertising test.
  3. The last reason I have seen on more than a few occasions is the following error:

    Log Name: Microsoft-Windows-Server Infrastructure Licensing/Operational
    Event ID: 2
    Level: Error

    Description:The Forest Trust Check in the Licensing component did not pass because error 0x80070008 occurred in function fe1 [YJBI].
    Not enough storage is available to process this command.

    This error seems to indicate that we are low on hard drive space. However this is not the case. This error is actually referring to a special pool in memory (RAM, Random Access Memory) called the heap. The heap is a finite size, regardless of how much RAM is in the system. Normally Windows will not experience a heap exhaustion, that is where this special pool of memory is completely depleted. However, if a program or driver is leaking memory, then the pool will eventually run out. In case you are wondering what a memory leak is, it occurs when a program or driver allocates memory, but does not free it when complete.
    So in essence this error is caused by a malfunctioning program or driver. The good news is that every time I have seen this issue in Essentials or Foundation it was caused by a printer driver. There are 2 ways to fix this problem. The first way is to simply restart the printer spooler service. Restarting the printer spooler service unloads the printer drivers and frees all memory associated with them. This will temporarily eliminate the issue. A scheduled task could then be created to automatically do this on a regular basis. The optimal solution though is to find the problem driver and either remove or update it.

Disable Services Windows 10

So to this point we have covered some of the pros and cons of running Essentials, what happens when the EULA is violated, and some common causes for the Server Infrastructure Licensing service shutting down the server. The last item I wanted to cover is how to force a new compliance check from the Server Infrastructure Licensing service. This process works for both Essentials and Foundation edition. This is useful if you are seeing compliance check errors, have taken measures to correct them, and now want to test if the issue is resolved. It is surprisingly easy to force a compliance check. Only one PowerShell command is required. Ensure you run PowerShell as administrator when running this command.

Stop-Process -ProcessName silsvc -Force

The above command forces the Server Infrastructure License service process to stop. The process will then immediately start again. The trick here is that the Server Infrastructure License does a compliance check every time it starts. You should see a compliance check within 2-3 minutes after the service stops.
Well, we covered a lot of ground with this post. If you have any questions, or any suggestions please add a comment below.

got a new acer laptop with win 8.1 - seems to have a large number of services running. Download x7 macro.

Disable Windows Licensing Monitoring Services

can't tell which are needed and which are just bloat-ware.

any idea which ones i can disable?

Windows Licensing Monitoring Service (WLMS). If Windows Licensing Monitoring Service fails to load. If you remove or disable the WLMS service, Windows 7 won't.

Disable Windows License Monitoring Service

Disable Windows Service Powershell

Name PID Description Status Group
WSearch 3408 Windows Search Running
WMPNetworkSvc Windows Media Player Network Sharing Service Stopped
wmiApSrv WMI Performance Adapter Stopped
WinDefend Windows Defender Service Stopped
WdNisSvc Windows Defender Network Inspection Service Stopped
wbengine Block Level Backup Engine Service Stopped
VSS Volume Shadow Copy Stopped
vds Virtual Disk Stopped
VaultSvc Credential Manager Stopped
UI0Detect Interactive Services Detection Stopped
UEIPSvc 4388 User Experience Improvement Program Running
TrustedInstaller Windows Modules Installer Stopped
sppsvc Software Protection Stopped
Spooler 1424 Print Spooler Running
SNMPTRAP SNMP Trap Stopped
SamSs 744 Security Accounts Manager Running
RpcLocator Remote Procedure Call (RPC) Locator Stopped
RMSvc 4568 Quick Access RadioMgr Service Running
RichVideo 1624 Cyberlink RichVideo Service(CRVS) Running
QASvc 3760 Quick Access Service Running
PerfHost Performance Counter DLL Host Stopped
NetTcpPortSharing Net.Tcp Port Sharing Service Stopped
Netlogon Netlogon Stopped
msiserver Windows Installer Stopped
MSDTC Distributed Transaction Coordinator Stopped
LMSvc 2040 Launch Manager Service Running
KeyIso CNG Key Isolation Stopped
Intel(R) Capability Licensing Service TCP IP Interface Intel(R) Capability Licensing Service TCP IP Interface Stopped
Intel(R) Capability Licensing Service Interface 2012 Intel(R) Capability Licensing Service Interface Running
igfxCUIService1.0.0.0 656 Intel(R) HD Graphics Control Panel Service Running
IEEtwCollectorService Internet Explorer ETW Collector Service Stopped
ICCS Intel(R) Integrated Clock Controller Service - Intel(R) ICCS Stopped
GamesAppService GamesAppService Stopped
GamesAppIntegrationService 4876 GamesAppIntegrationService Running
FontCache3.0.0.0 3152 Windows Presentation Foundation Font Cache 3.0.0.0 Running
Fax Fax Stopped
ePowerSvc 4500 ePower Service Running
EFS Encrypting File System (EFS) Stopped
cphs Intel(R) Content Protection HECI Service Stopped
COMSysApp COM+ System Application Stopped
CCDMonitorService 1616 CCDMonitorService Running
avast! Antivirus 1240 avast! Alesis quadraverb patch editor. Antivirus Running
AtherosSvc 1592 AtherosSvc Running
ALG Application Layer Gateway Service Stopped
AppReadiness App Readiness Stopped AppReadiness
AxInstSV ActiveX Installer (AxInstSV) Stopped AxInstSVGroup
SystemEventsBroker 816 System Events Broker Running DcomLaunch
Power 816 Power Running DcomLaunch
PlugPlay 816 Plug and Play Running DcomLaunch
LSM 816 Local Session Manager Running DcomLaunch
DeviceInstall Device Install Service Stopped DcomLaunch
DcomLaunch 816 DCOM Server Process Launcher Running DcomLaunch
BrokerInfrastructure 816 Background Tasks Infrastructure Service Running DcomLaunch
defragsvc Optimize drives Stopped defragsvc
vmicrdv Hyper-V Remote Desktop Virtualization Service Stopped ICService
vmicheartbeat Hyper-V Heartbeat Service Stopped ICService
stisvc Windows Image Acquisition (WIA) Stopped imgsvc
workfolderssvc Work Folders Stopped LocalService
WinHttpAutoProxySvc 440 WinHTTP Web Proxy Auto-Discovery Service Running LocalService
WebClient WebClient Stopped LocalService
WdiServiceHost 440 Diagnostic Service Host Running LocalService
W32Time Windows Time Stopped LocalService
THREADORDER Thread Ordering Server Stopped LocalService
SstpSvc Secure Socket Tunneling Protocol Service Stopped LocalService
RemoteRegistry Remote Registry Stopped localService
nsi 440 Network Store Interface Service Running LocalService
netprofm 440 Network List Service Running LocalService
lltdsvc Link-Layer Topology Discovery Mapper Stopped LocalService
FontCache 440 Windows Font Cache Service Running LocalService
fdPHost 440 Function Discovery Provider Host Running LocalService
EventSystem 440 COM+ Event System Running LocalService
bthserv Bluetooth Support Service Stopped LocalService
wcncsvc 2380 Windows Connect Now - Config Registrar Running LocalServiceAndNoImpersonation
upnphost 2380 UPnP Device Host Running LocalServiceAndNoImpersonation
TimeBroker 2380 Time Broker Running LocalServiceAndNoImpersonation
SSDPSRV 2380 SSDP Discovery Running LocalServiceAndNoImpersonation
SensrSvc Sensor Monitoring Service Stopped LocalServiceAndNoImpersonation
SCardSvr Smart Card Stopped LocalServiceAndNoImpersonation
QWAVE Quality Windows Audio Video Experience Stopped LocalServiceAndNoImpersonation
FDResPub 2380 Function Discovery Resource Publication Running LocalServiceAndNoImpersonation
wscsvc 1008 Security Center Running LocalServiceNetworkRestricted
WPCSvc Family Safety Stopped LocalServiceNetworkRestricted
Wcmsvc 1008 Windows Connection Manager Running LocalServiceNetworkRestricted
vmictimesync Hyper-V Time Synchronization Service Stopped LocalServiceNetworkRestricted
lmhosts 1008 TCP/IP NetBIOS Helper Running LocalServiceNetworkRestricted
HomeGroupProvider 1008 HomeGroup Provider Running LocalServiceNetworkRestricted
EventLog 1008 Windows Event Log Running LocalServiceNetworkRestricted
Dhcp 1008 DHCP Client Running LocalServiceNetworkRestricted
Audiosrv 1008 Windows Audio Running LocalServiceNetworkRestricted
AppIDSvc Application Identity Stopped LocalServiceNetworkRestricted
WwanSvc WWAN AutoConfig Stopped LocalServiceNoNetwork
pla Performance Logs & Alerts Stopped LocalServiceNoNetwork
NcdAutoSetup 1468 Network Connected Devices Auto-Setup Running LocalServiceNoNetwork
MpsSvc 1468 Windows Firewall Running LocalServiceNoNetwork
DPS 1468 Diagnostic Policy Service Running LocalServiceNoNetwork
BFE 1468 Base Filtering Engine Running LocalServiceNoNetwork
PNRPsvc Peer Name Resolution Protocol Stopped LocalServicePeerNet
PNRPAutoReg PNRP Machine Name Publication Service Stopped LocalServicePeerNet
p2psvc Peer Networking Grouping Stopped LocalServicePeerNet
p2pimsvc Peer Networking Identity Manager Stopped LocalServicePeerNet
wudfsvc Windows Driver Foundation - User-mode Driver Framework Stopped LocalSystemNetworkRestricted
WPDBusEnum Portable Device Enumerator Service Stopped LocalSystemNetworkRestricted
WlanSvc 944 WLAN AutoConfig Running LocalSystemNetworkRestricted
WiaRpc Still Image Acquisition Events Stopped LocalSystemNetworkRestricted
WdiSystemHost Diagnostic System Host Stopped LocalSystemNetworkRestricted
vmicvss Hyper-V Volume Shadow Copy Requestor Stopped LocalSystemNetworkRestricted
vmicshutdown Hyper-V Guest Shutdown Service Stopped LocalSystemNetworkRestricted
vmickvpexchange Hyper-V Data Exchange Service Stopped LocalSystemNetworkRestricted
vmicguestinterface Hyper-V Guest Service Interface Stopped LocalSystemNetworkRestricted
UmRdpService Remote Desktop Services UserMode Port Redirector Stopped LocalSystemNetworkRestricted
TrkWks 944 Distributed Link Tracking Client Running LocalSystemNetworkRestricted
TabletInputService Touch Keyboard and Handwriting Panel Service Stopped LocalSystemNetworkRestricted
SysMain 944 Superfetch Running LocalSystemNetworkRestricted
svsvc Spot Verifier Stopped LocalSystemNetworkRestricted
StorSvc Storage Service Stopped LocalSystemNetworkRestricted
ScDeviceEnum Smart Card Device Enumeration Service Stopped LocalSystemNetworkRestricted
PcaSvc 944 Program Compatibility Assistant Service Running LocalSystemNetworkRestricted
Netman 944 Network Connections Running LocalSystemNetworkRestricted
NcbService 944 Network Connection Broker Running LocalSystemNetworkRestricted
HomeGroupListener HomeGroup Listener Stopped LocalSystemNetworkRestricted
hidserv Human Interface Device Service Stopped LocalSystemNetworkRestricted
fhsvc File History Service Stopped LocalSystemNetworkRestricted
dot3svc Wired AutoConfig Stopped LocalSystemNetworkRestricted
DeviceAssociationService 944 Device Association Service Running LocalSystemNetworkRestricted
AudioEndpointBuilder 944 Windows Audio Endpoint Builder Running LocalSystemNetworkRestricted
wuauserv Windows Update Stopped netsvcs
wlidsvc Microsoft Account Sign-in Assistant Stopped netsvcs
Winmgmt 328 Windows Management Instrumentation Running netsvcs
wercplsupport Problem Reports and Solutions Control Panel Support Stopped netsvcs
Themes 328 Themes Running netsvcs
ShellHWDetection 328 Shell Hardware Detection Running netsvcs
SharedAccess Internet Connection Sharing (ICS) Stopped netsvcs
SessionEnv Remote Desktop Configuration Stopped netsvcs
SENS 328 System Event Notification Service Running netsvcs
seclogon Secondary Logon Stopped netsvcs
SCPolicySvc Smart Card Removal Policy Stopped netsvcs
Schedule 328 Task Scheduler Running netsvcs
RemoteAccess Routing and Remote Access Stopped netsvcs
RasMan Remote Access Connection Manager Stopped netsvcs
RasAuto Remote Access Auto Connection Manager Stopped netsvcs
ProfSvc 328 User Profile Service Running netsvcs
NcaSvc Network Connectivity Assistant Stopped NetSvcs
MSiSCSI Microsoft iSCSI Initiator Service Stopped netsvcs
MMCSS Multimedia Class Scheduler Stopped netsvcs
lfsvc Windows Location Framework Service Stopped netsvcs
LanmanServer 328 Server Running netsvcs
iphlpsvc 328 IP Helper Running NetSvcs
IKEEXT 328 IKE and AuthIP IPsec Keying Modules Running netsvcs
hkmsvc Health Key and Certificate Management Stopped netsvcs
gpsvc Group Policy Client Stopped netsvcs
Eaphost Extensible Authentication Protocol Stopped netsvcs
DsmSvc Device Setup Manager Stopped netsvcs
CertPropSvc Certificate Propagation Stopped netsvcs
Browser 328 Computer Browser Running netsvcs
BITS 328 Background Intelligent Transfer Service Running netsvcs
BDESVC BitLocker Drive Encryption Service Stopped netsvcs
Appinfo 328 Application Information Running netsvcs
AeLookupSvc Application Experience Stopped netsvcs
WinRM Windows Remote Management (WS-Management) Stopped NetworkService
Wecsvc Windows Event Collector Stopped NetworkService
TermService Remote Desktop Services Stopped NetworkService
TapiSrv Telephony Stopped NetworkService
NlaSvc 1148 Network Location Awareness Running NetworkService
napagent Network Access Protection Agent Stopped NetworkService
LanmanWorkstation 1148 Workstation Running NetworkService
Dnscache 1148 DNS Client Running NetworkService
CryptSvc 1148 Cryptographic Services Running NetworkService
KtmRm KtmRm for Distributed Transaction Coordinator Stopped NetworkServiceAndNoImpersonation
PolicyAgent IPsec Policy Agent Stopped NetworkServiceNetworkRestricted
PrintNotify Printer Extensions and Notifications Stopped print
RpcSs 860 Remote Procedure Call (RPC) Running rpcss
RpcEptMapper 860 RPC Endpoint Mapper Running RPCSS
smphost Microsoft Storage Spaces SMP Stopped smphost
swprv Microsoft Software Shadow Copy Provider Stopped swprv
WbioSrvc Windows Biometric Service Stopped WbioSvcGroup
WcsPlugInService Windows Color System Stopped wcssvc
WEPHOSTSVC Windows Encryption Provider Host Service Stopped WepHostSvcGroup
WerSvc Windows Error Reporting Service Stopped WerSvcGroup
WSService Windows Store Service (WSService) Stopped wsappx
AppXSvc AppX Deployment Service (AppXSVC) Stopped wsappx

Disable Services Windows 10

Windows Licensing Monitoring Service - Windows 7 Service

This service monitors the Windows software license state.

This service also exists in Windows 10 and 8.

Startup Type

Windows 7 editionwithout SPSP1
Starternot existsnot exists
Home Basicnot existsnot exists
Home Premiumnot existsnot exists
Professionalnot existsnot exists
Ultimatenot existsnot exists
EnterpriseAutomaticAutomatic
Windows

Default Properties

Display name:Windows Licensing Monitoring Service
Service name:WLMS
Type:own
Path:%WinDir%system32wlmswlms.exe
Error control:critical
Object:LocalSystem

Default Behavior

Software Licensing Service Windows

The Windows Licensing Monitoring Service runs as LocalSystem in its own process. It does not share an executable file with other services. If the Windows Licensing Monitoring Service fails to load or initialize, the error is logged and the computer attempts to restart with the LastKnownGood configuration. If the LastKnownGood configuration fails, Windows 7 startup also fails, and the boot process halts with a Stop error. If you disable this service, Windows 7 will fail to start. Do NOT change this service startup configuration if your computer is working.

Dependencies

Windows Licensing Monitoring Service will not start, if the Software Protection service is stopped or disabled.

Restore Default Startup Type for Windows Licensing Monitoring Service

Automated Restore

Disable windows service gpo

1. Select your Windows 7 edition and Service Pack, and then click on the Download button below.

2. Save the RestoreWindowsLicensingMonitoringServiceWindows7.bat file to any folder on your hard drive.

3. Right-click the downloaded batch file and select Run as administrator.

4. Restart the computer to save changes.

Note. Make sure that the wlms.exe file exists in the %WinDir%system32wlms folder. If this file is missing you can try to restore it from your Windows 7 installation media.