VMware Horizon Community
ibrahimozcan1
Contributor
Contributor

Visual Studio 2019 license issue

 

Hello Everyone,

When I deploy Visual studio 2019 with app stack, I get "your license has expired" error. I found this kb related to the problem; https://kb.vmware.com/s/article/83964.
C:\SnapVolumesTemp\MountPoints\{Appstack Volume Guid}\{App Guid}\Config\App directory is creating in Kb. But I don't know {App Guid}. How can I find?
Thanks,

Reply
0 Kudos
3 Replies
jhol5
Enthusiast
Enthusiast

When capturing something there is only going to be one guid, so you can tab complete the command. However, one issue I ran into was even running "StorePID.exe" it still didn't license the VM because the SID's are different. You have to run "<Visual Studio installation directory>\Common7\IDE\DDConfigCA.exe" (file path maybe different for different versions of VS) to regen the hashes then run the StorePID.exe command.

We use DEM to wait for "All Volumes Attached" signal and then execute a bat file with the equivalent commands.

Reply
0 Kudos
ibrahimozcan1
Contributor
Contributor

Thank you for your reply. We have progressed by installing visual studio on the base image and we didn't get a license error. But I will try the solution you mentioned. Thanks a lot. 

 

Reply
0 Kudos
julatoski
VMware Employee
VMware Employee

You may also be able to run the same commands from the OnPostEnableApp.bat file within the package as well.  

https://docs.vmware.com/en/VMware-App-Volumes/2103/app-volumes-admin-guide/GUID-DA2C9E23-7C51-4A6F-9...

 


Jeff Ulatoski
Product Line Manager, App Volumes
Reply
0 Kudos