Some OEM include energy saving apps that can switch off certain devices such as webcam or optical drive. Is there any brand-agnostic app out there that can do it? If the list of disabled device is customizable, it would be useful too for mitigating DMA attack (disabling Firewire, PCMCIA, SDIO, Thunderbolt, etc). Even better if it can recognize lock/logoff event, to mimic OSX behavior in mitigating the DMA attack.
Windows – Automatically disable devices to save power and mitigate DMA attack in Windows 7
energy-savingpower-managementwindows 7
Best Answer
You can disable hardware devices via commandline
I am not sure that merely disabling a device is sufficient to mitigate the DMA attack
Microsoft provides
devcon
as a command line device management toolGet It
devcon
is located in “drive:\your\temp\folder\WinDDK\7600.16385.win7_wdk.100208-1538\tools\devcon\amd64\".Use It
devcon find * | find "DVD"
devcon disable PCI\VEN_1102
Automate It
Note: it may be possible to do this using only powershell but I wasn't able to find the correct calls. The closest I found was
get-wmiobject Win32_PNPEntity