From Dev.to
How to Check if Windows Is OEM, Retail or Volume License
In short: Open Command Prompt as administrator and run slmgr /dli. Look at the Description line: RETAIL channel means Retail, OEM_DM or OEM_COA means OEM (came with the PC), and VOLUME_MAK or VOLUME_K...
