How to manage plugin licenses with every windows reinstall

Hey y’all,
sometimes I like to do a fresh install on my windows or try different setups and managing the plugins to move from one pc to another is a pain.
Has anyone tried to put the plugins in a VM and make Cubase have a look at it through the network? Does it work? Does it prompt for a license yet again?