Troubleshooting: Number of Concurrent Licenses Aren't Reset when App-V Management Server Service Restarts [KB2447513]

Microsoft Application Virtualization (App-V) 4.5 Management Server may appear to run out of available licenses and clients may receive following error: You are not authorized to access this resource. Error code: 0A-20000193."The stored procedure sp_SFTclosesessions in management server database is used to close orphaned sessions, license sessions, app usage and licenses assignments that're stale. An […]

Microsoft Application Virtualization (App-V) 4.5 Management Server may appear to run out of available licenses and clients may receive following error: You are not authorized to access this resource. Error code: 0A-20000193.

"The stored procedure sp_SFTclosesessions in management server database is used to close orphaned sessions, license sessions, app usage and licenses assignments that're stale. An example of when this occurs is when the management server or the client crashes/restarts and didn't close the appropriate sessions. There's an issue with this stored procedure that may prevent it from working properly in certain situations," explained Microsoft.

Resolution:

[Source]