This question already has an answer here:
I have a drive that I cannot boot, but it has an installation of Windows 8 on it. I need to know what type of Windows 8 it has. Is there a folder or file I can look at that might give me a clue as to the flavor of 8 (Standard, Pro, Enterprise, or RT) I need to use for a recovery installation?
Since the OS is not booting even in safe mode I can only use command prompt. Thanks.