StorePID.exe
utility on the target machines, in silent mode. StorePID.exe
is a utility program that installs with Visual Studio 2017 at the following default location: C:Program Files (x86)Microsoft Visual Studio2017EnterpriseCommon7IDE
StorePID.exe
utility on the target machines, in silent mode. StorePID.exe
is a utility program that installs with Visual Studio 2019 at the following default location: C:Program Files (x86)Microsoft Visual Studio2019EnterpriseCommon7IDE
StorePID.exe
with elevated privileges, either by using a System Center agent or an elevated command prompt. Follow it with the product key and the Microsoft Product Code (MPC).AAAAA-BBBBB-CCCCC-DDDDDD-EEEEEE
, and assumes a default installation location:AAAAA-BBBBB-CCCCC-DDDDDD-EEEEEE
, and assumes a default installation location:Visual Studio Edition | MPC |
---|---|
Visual Studio Enterprise 2017 | 08860 |
Visual Studio Professional 2017 | 08862 |
Visual Studio Test Professional 2017 | 08866 |
Visual Studio Edition | MPC |
---|---|
Visual Studio Enterprise 2019 | 09260 |
Visual Studio Professional 2019 | 09262 |
StorePID.exe
successfully applies the product key, it returns an %ERRORLEVEL%
of 0. If it encounters errors, it returns one of the following codes, depending on the error condition:Error | Code |
---|---|
PID_ACTION_SUCCESS | 0 |
PID_ACTION_NOTINSTALLED | 1 |
PID_ACTION_INVALID | 2 |
PID_ACTION_EXPIRED | 3 |
PID_ACTION_INUSE | 4 |
PID_ACTION_FAILURE | 5 |
PID_ACTION_NOUPGRADE | 6 |