The .load and .loadby commands load a new extension DLL into the debugger.
.load DLLName
!DLLName.load
.loadby DLLName ModuleName
Parameters
DLLName
Specifies the debugger extension DLL to load. If you use the .load command, DLLName should include the full path. If you use the .loadby command, DLLName should include only the file name.
ModuleName
Specifies the module name of a module that is located in the same directory as the extension DLL that DLLName specifies.
Microsoft (R) Windows Debugger Version 10.0.10586.567 AMD64
Copyright (c) Microsoft Corporation. All rights reserved.
CommandLine: C:\Windows\System32\cmd.exe
************* Symbol Path validation summary **************
Response Time (ms) Location
Deferred symsrv*symsrv.dll*C:\Windows\Symbols*http://msdl.microsoft.com/download/symbols
Symbol search path is: symsrv*symsrv.dll*C:\Windows\Symbols*http://msdl.microsoft.com/download/symbols
Executable search path is:
ModLoad: 00000000`4a1e0000 00000000`4a239000 cmd.exe
ModLoad: 00000000`778a0000 00000000`77a49000 ntdll.dll
ModLoad: 00000000`77680000 00000000`7779f000 C:\Windows\system32\kernel32.dll
ModLoad: 000007fe`fd8a0000 000007fe`fd90b000 C:\Windows\system32\KERNELBASE.dll
ModLoad: 000007fe`fe860000 000007fe`fe8ff000 C:\Windows\system32\msvcrt.dll
ModLoad: 000007fe`f2ec0000 000007fe`f2ec8000 C:\Windows\System32\WINBRAND.dll
ModLoad: 00000000`777a0000 00000000`7789a000 C:\Windows\system32\USER32.dll
ModLoad: 000007fe`fdbc0000 000007fe`fdc27000 C:\Windows\system32\GDI32.dll
ModLoad: 000007fe`ffa20000 000007fe`ffa2e000 C:\Windows\system32\LPK.dll
ModLoad: 000007fe`ff950000 000007fe`ffa19000 C:\Windows\system32\USP10.dll
(bb0.1a8): Break instruction exception - code 80000003 (first chance)
ntdll!LdrpDoDebuggerBreak+0x30:
00000000`7794cb60 cc int 3
0:000> .load pykd
0:000> !pykd.load
0:000> !py SimpleHTTPServer
Serving HTTP on 0.0.0.0 port 8000 ...
127.0.0.1 - - [28/Jul/2017 22:51:44] "GET / HTTP/1.1" 200 -
127.0.0.1 - - [28/Jul/2017 22:51:44] code 404, message File not found
127.0.0.1 - - [28/Jul/2017 22:51:44] "GET /favicon.ico HTTP/1.1" 404 -