PS> .enable-msi.ps1 <vendor-id>:<device-id> [<vendor-id>:<device-id> ...]
PS> .enable-msi.ps1 10DE:1D01 8086:A348
Processing device 10DE:1D01.
└ Found instance: VEN_10DE&DEV_1D01&SUBSYS_8C981462&REV_A14&3335b6e8&0&00E0
MSI is currently disabled; turning it on.
Processing device 8086:A348.
└ Found instance: VEN_8086&DEV_A348&SUBSYS_1A1D15D9&REV_105&226b9205&0&E008F0
MSI is already enabled; skipping instance.
نظرًا لأن علامة MSI الخاصة بالجهاز يتم إعادة تعيينها كلما تم تحديث برنامج التشغيل الخاص به ، فإن إعداد البرنامج النصي لتشغيله تلقائيًا عند إيقاف التشغيل/بدء التشغيل يضمن تمكين MSI.
قرر ما إذا كان سيتم نشره كنص إغلاق أو بدء تشغيل. يوصى بالإغلاق حيث يتم تمكين MSI عند بدء التشغيل التالي ، بينما يأخذ هذا إعادة تشغيل إضافية مع برنامج نصي بدء التشغيل.
تثبيت enable-msi.ps1
إلى \<domain>SYSVOL<domain>Policies<policy-guid>MACHINEScripts<Shutdown|Startup>
.
في محرر إدارة سياسات المجموعة ( gpedit.msc
):
تكوين الكمبيوتر ➡ السياسات ➡ إعدادات Windows ➡ البرامج النصية (بدء التشغيل/الإغلاق) ➡ < إيقاف التشغيل | بدء التشغيل > ➡ PowerShell Scripts ➡ أضف ...
enable-msi.ps1
<vendor-id>:<device-id> [<vendor-id>:<device-id> ...]
(eg 10DE:1D01 8086:A348
) The script finds devices with the given PCI IDs in the registry and sets their MSISupported
property to 1
, creating intermediate keys as needed.
HKLMSYSTEMCurrentControlSetEnumPCI<device-instance-path>Device ParametersInterrupt ManagementMessageSignaledInterruptProperties
MSISupported
(dword): 0
➡ 1