Select Page

How to Fix the IncoPOS License Addition Error on Windows

If you encounter the error message “There was an error while adding the license! Please check the license code.” while adding a license in IncoPOS, it might be due to a hardware issue or a virus that has corrupted the Windows Management Instrumentation (WMI). Follow the steps below to repair the WMI and resolve the issue.

Step-by-Step Guide to Repair WMI

1. Disable and Stop the WMI Service

Open Command Prompt as an administrator and execute the following commands:

sc config winmgmt start= disabled
net stop winmgmt

2. Run WMI Repository Repair Commands

Execute the following commands to salvage and reset the WMI repository:

Winmgmt /salvagerepository C:\WINDOWS\System32\wbem
Winmgmt /resetrepository C:\WINDOWS\System32\wbem

3. Re-enable the WMI Service and Reboot

Enable the WMI service and then reboot the server:

sc config winmgmt start= auto

Restart your computer and check if the issue is resolved.

If the Problem Persists: Rebuild the Repository

1. Disable and Stop the WMI Service

Open Command Prompt as an administrator and execute the following commands:

sc config winmgmt start= disabled
net stop winmgmt

2. Rename the Repository Folder

Navigate to the repository folder located at C:\WINDOWS\System32\wbem\repository and rename it to repository.old.

3. Re-enable the WMI Service

Enable the WMI service:

sc config winmgmt start= auto

4. Reboot the Server

Restart your computer and check if the problem is resolved.

Additional Steps if the Issue Continues

If the above steps do not resolve the issue, there may be disk sector or system file corruption. Perform the following checks:

Check Disk for Errors

Open Command Prompt as an administrator and run the following command to check and repair disk errors:

chkdsk

System File Check

Run the System File Checker tool to repair missing or corrupted system files:

sfc /scannow

If the issue persists after these steps, you may need to consider reinstalling the entire server.

By following these steps, you should be able to resolve the WMI corruption and successfully add your IncoPOS license. If you need further assistance, feel free to contact our support team.

Documentation