We have come across customers who are using OS Streaming technologies (Ardence from Citrix) in their environments. Symantec Workspace Streaming is an ideal tool for these environments because it provisions applications based on user authentication, so the applications do not need to be added to the streamed OS image.
While SWS is a great solution for these environments, there are some challenges that arise in these environments. The primary challenge is that SWS caches metadata about the licenses policies as well as binaries required by the application on the local machine. In the case of streamed OS environments, this information is not normally saved off when the system shuts down.
Because the cache is not available the next time the OS is streamed down the SWS streaming agent does not communicate back to the server that the applications is installed with the correct policies on the machine, so if a users request the application again, another license for the same application would be consumed. This is not the desired result.
To correctly handle this issue you should create a batch file that can be called from a logoff script.
cleanuplicense.bat set url="http://%1:%2/manageSession?clientIp=%3&clientName=%4&event=terminate" cleanupLicense.vbs %url% cleanupLicense.vbs Serverurl = WScript.Arguments.Item(0) Set oIE = CreateObject("InternetExplorer.Application") oIE.Visible = false Call oIE.Navigate(Serverurl)
As you can see, the batch file takes 4 parameters:
- The management server name
- The management server port - this will be 9842 unless you changed it for some reason
- The client IP address - this can be the client hostname as well
- The client Hostname
Example: CleanupLicense.bat SVSPro-SVR 9842 Workstation1 Workstation1