Unallocated licenses calculation for Software Counters may sometimes get out of syncDescription<!-- div.margin{ padding: 10px 40px 40px 30px; } table.tocTable{ border: 1px solid; border-color:#E0E0E0; background-color: rgb(245, 245, 245); padding-top: .6em; padding-bottom: .6em; padding-left: .9em; padding-right: .6em; } table.noteTable{ border:1px solid; border-color:#E0E0E0; background-color: rgb(245, 245, 245); width: 100%; border-spacing:2; } table.internaltable { white-space:nowrap; text-align:left; border-width: 1px; border-collapse: collapse; font-size:14px; width: 85%; } table.internaltable th { border-width: 1px; padding: 5px; border-style: solid; border-color: rgb(245, 245, 245); background-color: rgb(245, 245, 245); } table.internaltable td { border-width: 1px; padding: 5px; border-style: solid; border-color: #E0E0E0; color: #000000; } .title { color: #D1232B; font-weight:normal; font-size:28px; } h1{ color: #D1232B; font-weight:normal; font-size:21px; margin-bottom:-5px } h2{ color: #646464; font-weight:bold; font-size:18px; } h3{ color: #000000; font-weight:BOLD; font-size:16px; text-decoration:underline; } h4{ color: #646464; font-weight:BOLD; font-size:15px; text-decoration:; } h5{ color: #000000; font-weight:BOLD; font-size:13px; text-decoration:; } h6{ color: #000000; font-weight:BOLD; font-size:14px; text-decoration:; } --> Issue Software Counters can sometimes show incorrect values due to corruption in the SAM cache. Solution There is a manual fix where you can go to an affected Software Counter, and on that page, there is a UI Action called 'Count licenses': https://docs.servicenow.com/csh?topicname=t_CreateASoftwareCounter.html&version=latest. If you click that, a script include will be triggered which will force a recount of the licenses. If 'Count licenses' fails to fix the issue, there is also a second option which will completely rebuild the SAM cache for the chosen Software Counter (also see screenshot), if the suggestion above does not fix it, rebuild the SAM cache and do a recount to see if the numbers now match up: https://docs.servicenow.com/csh?topicname=t_ScheduleASoftwareCount.html&version=latest In instances with many hundreds or thousands of Software counters, it may preferable to run a script to trigger a rebuild of the SAM cache for each software counter. Run the below background script out of hours to minimize any performance impact. To run a background script, navigate to "Scripts - Background" into the left hand application search field, then paste in the below script, and choose run. ------------------------------- var gr = new GlideRecord('sam_sw_counter'); gr.query(); while (gr.next()) { gr.cached = false; gr.update(); var script = 'var SAMCounter = new SncSAMCounter();SAMCounter.doSingleCounter("'+gr.sys_id.toString()+'");'; var sched = new ScheduleOnce(); sched.script = script; sched.setTime(gs.nowNoTZ()); sched.setLabel('SAM:' + gr.name); sched.schedule(); } ------------------------------- You can then go and check all Scheduled Jobs running beginning with the name "SAM:": https://<INSTANCE_NAME>.service-now.com/sys_trigger_list.do?sysparm_query=nameSTARTSWITHSAM%3A At first you'll see many jobs created, but they will be processed quickly and will disappear from your view upon subsequent page refreshes. You will also notice that each software counter will have a count in progress message at the top of the page. After this, all software counters should be updated.