Building Windows NT 4.0

Internal Developer Server or Workstation for Windows NT 4.0

Install on Windows NT 4.0, Back Office Suite or 2003 in a Virtual Machine.

Install the Windows NT 4.0 DDK. You may have to look for a IDW DDK RC Release.
Install the Windows NT 4.0 SDK.
Install Visual C++ 4.0 w/ MFC Migration Kit.,
Copy the DDK, MSTOOLS, and MSDEV directory's to the build drive.
Use the CAB SDK to make a cabinet file of the Leaked ZIP to make a CD+R of the Cabinet. 
If you are using NT 4.0 use expand.exe to extract the NT source to its location.
Extract the NT.CAB or cabinet file containing full Windows NT 4.0 source in it.
Place the NT Root in the root SDK Directory.
Install the Windows NT 4.0 DDK.
Install the Windows NT 4.0 SDK.
Install Visual C++ 4.0 w/ MFC MIgration Kit.
Copy the MSDEV, DDK, And PlatformSDK directory's to the Build 
drive and rename the DDK to 'IDWNT4' 
set Path=D:\NT40\MSDEV\bin;D:\NT40\IDWNT4\bin;%path%
set Lib=D:\NT40\MSDEV\lib;D:\NT40\MSTOOLS\lib;%lib%
set Include=D:\NT40\MSDEV\include;D:\NT40\NT\public\sdk\inc;
D:\NT40\NT\private\inc;%include%
cd D:\NT40\MSTOOLS\
edit VCVARS32 to set MSDevDir=D:\NT40\MSDEV set vcsource=D:\NT40\MSDEV
run SETENV D:\NT40\MSTOOLS D:\NT40\MSDEV\BIN
cd D:\NT40\IDWNT4\bin
run D:\NT40\IDWNT4\bin\setenv.bat D:\NT40\IDWNT4
build -cz to build the DDK
run razzle.cmd with the 'main' 'hotfix_checked' or 'hotfix_free' argument
In razzle set the _NTDRIVE and the apporiate paths
You can build just a section of NT using B1, B2 or B3 on the command line.
B1 builds from NT\Private.  B2 builds SDKTools and Utils.  B3 builds
Setup, Posix, MVDM, WinDbg, and OS2. 
D:\NT40\NT\private\bldtools\buildall.cmd B1