This article was previously published under Q191991
When Windows NT 4.0 starts, you may receive the following error message:
STOP C0000142 (DLL initialization failed)
Initialization of the dynamic link library c:<path>\user32.dll failed. The process is terminating abnormally
This issue can occur if there are conflicting versions of the User32.dlland Gdi32.dll files.
To resolve this issue, replace the Gdi32.dll file in the %SystemRoot%\System32 folder with the file that is included in the Windows NT 4.0 Service Pack that was loaded on the original installation. To verify, SP3 files display a modified date of 4/30/97 or 5/1/97, and SP4 files show a modified date of 10/15/98.
If you have access to another Windows NT-based computer with Windows NT4.0 SP3 installed, copy the Gdi32.dll file from the other computer to theoriginal computer. To do so, follow these steps:
On the other computer, click Start, point to Programs, and then click Command Prompt.
Insert a formatted floppy disk into the floppy disk drive, type the following line, and then press ENTER:
copy %SystemRoot%\system32\gdi32.dll <drive>:
Where <drive> is the drive letter of the floppy disk drive.
Restart the original computer using any bootable floppy disk (such as an MS-DOS boot disk, a Microsoft Windows 95 Emergency Boot disk, or a Microsoft Windows 98 Startup disk), and then insert the floppy disk you used in step 2 in the floppy disk drive.
NOTE: For instructions about how to create a boot floppy disk, please consult your operating system's documentation.
Type the following lines, pressing ENTER after each line
Where <drive> is the drive letter of the CD-ROM drive. After you complete this step, skip to step 7.
If you downloaded SP3, you need to extract all files from the Nt4sp3_i.exe file before you can obtain the Gdi32.dll file.
Type the following line, and then press ENTER:
copy <path>\gdi32.dll %SystemRoot%\system32\
Where <path> is the location of the SP3 files.
Restart your computer.
If you have Windows NT installed on an NTFS partition, follow these steps:
Install Windows NT in a different folder on your hard disk, and then install SP3.
Copy the Gdi32.dll file from the %SystemRoot%\System32 folder in the new Windows NT installation to the corresponding folder in the original installation. To do so, type the following line, and then press ENTER: