Disable Windows Licensing Monitoring Service

Windows

  • Download the ps tools from http://technet.microsoft.com/en-us/sysinternals/bb897553.aspx
  • Extract it to the local disk (I have done it under c:)
  • Open the command prompt in an elevated mode (run as administrator).
  • Navigate to the ps tools folder (in my case its c:psexec)
  • Run the command psexec –I –d –s cmd

Disable Windows Licensing Monitoring Services

  • Click ‘Agree’ on the license agreement.

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. Before doing this, please keep in mind that not only is it beneficial for Microsoft, but it's also ultimately a good thing for you, the Windows owner. These reports send vital information to Microsoft about a problem that the operating system or a program is having and helps them develop future patches and service packs, making Windows more stable. Unless you manually disable the SERIALNUMBER scan item, Lansweeper scans the Windows computers in your network for software license keys.To reduce network traffic during scanning, only a limited number of keys are scanned by default and most scanning methods only scan keys once every 40 days.

  • This will open the command prompt as ‘nt authoritysystem’ (To verify it run the command whoami on the new command prompt)
  • Run the command ‘sc delete WLMS‘ to delete the Windows licensing monitoring service.
  • Run the command regedit to modify the registry
  • Navigate to HKLMàSystemàCurrentControlSet àServices

Note: Please don’t try this on production environment as it is not supported by Microsoft http://support.microsoft.com/kb/2021579. But it will be helpful for preparing demo and testing Machines in the lab which is required to run without restart after each hour, beyond the rearm time limit.

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

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.

Disable Windows Service Powershell

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.

Disable Windows Service Gpo

Stop-Process -ProcessName silsvc -Force

How To Stop Windows Licensing Monitoring Service

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.