0
我已經嘗試過Win32_DiskDrive(https://msdn.microsoft.com/en-us/library/aa394132.aspx)的SCSIPort等屬性,但它們在完全相同的系統設置和不可靠之間有所不同。如何找出哪個SATA端口磁盤連接到Windows 7
我已經嘗試過Win32_DiskDrive(https://msdn.microsoft.com/en-us/library/aa394132.aspx)的SCSIPort等屬性,但它們在完全相同的系統設置和不可靠之間有所不同。如何找出哪個SATA端口磁盤連接到Windows 7
您可以使用
SELECT * FROM Win32_PnPSignedDriver where DeviceName = 'Disk drive'
如果我沒看錯,你正在尋找位置
輸出:
instance of Win32_PnPSignedDriver
{
ClassGuid = "{4d36e967-e325-11ce-bfc1-08002be10318}";
CompatID = "SCSI\\Disk";
Description = "Disk drive";
DeviceClass = "DISKDRIVE";
DeviceID = "SCSI\\DISK&VEN_EQLOGIC&PROD_100E-00\\1&1C121344&0&000000";
DeviceName = "Disk drive";
DevLoader = NULL;
DriverDate = "20060621000000.******+***";
DriverName = NULL;
DriverProviderName = "Microsoft";
DriverVersion = "6.1.7601.19133";
FriendlyName = "EQLOGIC 100E-00 SCSI Disk Device";
HardWareID = "SCSI\\DiskEQLOGIC_100E-00_________5.2_";
InfName = "disk.inf";
IsSigned = TRUE;
Location = "Bus Number 0, Target Id 0, LUN 0";
Manufacturer = "(Standard disk drives)";
PDO = "\\Device\\00000089";
Signer = "Microsoft Windows";
};
你找到解決辦法嗎? –
至少它取決於你的驅動程序。例如,英特爾的驅動程序和MS的通用msahci驅動程序的行爲有所不同。 – Trass3r