Install Windows drivers from a .cab files

-Create a directory to expand the cab into
mkdir C:\Drivers
-Expand the cab
expand C:\location\of\your\cab C:\Drivers -F:*
-Install the drivers
for /f "tokens=*" %a in ('dir *.inf /b /s') do (pnputil –i -a "%a\..\*.inf")



Sanitize (write all 0’s) to a Windows HDD

*** NOTE ***: You cannot write zeros to the HDD if you are booted to that partition

  1. Boot the computer to Windows PXE if a WDS server is available to you.

–  OR –

Boot to a windows CD/USB

2. Bring up a command prompt and enter the following commands

  • diskpart
  • select disk <0>
  • clean all