How to find out on which disk (not partition) is Windows installed?
-
Hello. I'm trying to figure out how to determine on which disk is Windows installed. I need to do this so that I can get additional infos afterwards about it, like Model Number, Serial Number, etc. I don't need the partition letter (C:, etc), that's easy to get, but on which disk that partition is located (Primary Master (\\.\PhysicalDrive0), Primary Slave (\\.\PhysicalDrive1), etc). Also, I don't want to use WMI. Any help is greatly appreciated. Thanks alot.
-
Hello. I'm trying to figure out how to determine on which disk is Windows installed. I need to do this so that I can get additional infos afterwards about it, like Model Number, Serial Number, etc. I don't need the partition letter (C:, etc), that's easy to get, but on which disk that partition is located (Primary Master (\\.\PhysicalDrive0), Primary Slave (\\.\PhysicalDrive1), etc). Also, I don't want to use WMI. Any help is greatly appreciated. Thanks alot.
I think you can use WMI