Internal Developer Server or Workstation for Windows NT 3.5.

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

Building

For first, make sure that you're meeting following requirements

A virtual machine with Windows 2000 or older OS (up to NT 3.1) At least 15 GB of free space A bit of patience.

Windows 3.5 SDK

Windows 3.51 DDK

Visual C/C++ 2.x with upgrades

Then do the following steps:

Download the NT 3.5's source code and extract it into C:\NT. Otherwise it will won't binplace items and cause some errors. Download the patches with this link: 3.5 Patch Files and extract the NT folder onto the source code folder. Click Yes and replace all files. Open Command Prompt, switch to the C:\NT and write attrib -r -h * /s /d for removing attributes. If you're on Windows XP and newer, just uncheck "Read-only" for folder. Then write public\tools\razzle If it will ask for a file placing, choose "F". It copies a file from ntx86bld folder. You're done!

Note that installations of Visual Studio are NOT recommended, because they will cause build problems.

Changelog

What was changed?

Razzle was edited for supporting any users. Before that Razzle supported only pre-defined users on DEVELOPR folder (ntx86bld, alphachk and so on). Also added OAK\I386 into Path. Most of tools need for compilation were compiled with help of NT 3.5 612 build's SDK tools and NT 3.51's DDK tools. The compilated files were replaced the temporary ones. Some headers were partially fixed, need for compilation. In result, most of components are starting to compile. Fixed the encryption files issue, by porting them from OpenNT source code. Only missing encryption is CBC, but it compiles without that.

Current Issues

At this moment, not all components of WINDOWS folder can be compiled. The wingdip.h file should be replaced and/or fixed with working one. When compiling WINDBG folder, it pops up an error of undefined function export. Some folders, containing custom compilers (for example ` CL.exe for DOS) cannot be compiled with main compiler.

Install the Windows NT 3.5 DDK. setupddk.bat C:\ddk mips, alpha or i386.
Install the Windows NT 3.5 SDK. setupsdk.bat C:\
Copy the SDK, DDK, MSTOOLS, and MSDEV directory's to the build drive.
run razzle.cmd
set the _NTDRIVE and the apporiate paths
D:\NT-782\NT\private\bldtools\buildall.cmd B1

If you want to build a IDW release execute the following

D:\NT-782\NT\private\bldtools\idwrelease.cmd built;nonbuilt

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