VSLicenseCpp is a program that helps to get and set Visual Studio Community Edition trial expiration date. This project is for educational purposes only.
Download the latest version of VSLicenseCpp.
- Run Cmd or PowerShell as administrator.
- Move to the
VSLicenseCpp.exefolder. - Use the following commands.
Get expiration date
VSLicenseCpp.exe --get --version=VS2019Set expiration date.
VSLicenseCpp.exe --set --version=VS2019 VSLicenseCpp.exe --set --version=VS2017 --add_days=14If you don't specify --add_days option, 30 days will be added.
Available options for --version: VS2015, VS2017, VS2019
Dmitrii for the answer to this question.
beatcracker for VSCELicense PowerShell module which does the same thing.
jarro2783 for cxxopts command line argument parser library.
Pull requests are welcome.