Changes between Initial Version and Version 1 of NT_USER32.dll_initialization_errors


Ignore:
Timestamp:
01/19/12 18:18:10 (10 years ago)
Author:
branden
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • NT_USER32.dll_initialization_errors

    v1 v1  
     1= Overcoming User32.dll Initialization Failure Errors = 
     2 
     3Last reviewed: September 23, 1997 
     4 
     5'''Article ID: Q142676''' 
     6 
     7The information in this article applies to: 
     8 
     9Microsoft Windows NT Workstation version 4.0 
     10 
     11Microsoft Windows NT Server version 4.0 
     12 
     13== SYMPTOMS == 
     14 
     15When you try to start a service a pop-up dialog box appears with the following message: 
     16 
     17  
     18 
     19<!ServiceName> - DLL initialization failure Initialization of the dynamic link library c:\windows\system32\user32.dll failed. The process is terminating abnormally. 
     20 
     21== CAUSE == 
     22 
     23The system has run out of memory to create a new desktop heap for the service being started. 
     24 
     25== RESOLUTION == 
     26 
     27Fixing this problem requires editing of the Registry and restarting the computer concerned. 
     28 
     29WARNING: Using Registry Editor incorrectly can cause serious, system-wide problems that may require you to reinstall Windows NT to correct them. Microsoft cannot guarantee that any problems resulting from the use of Registry Editor can be solved. Use this tool at your own risk. 
     30 
     311. Run the Registry Editor(Regedt32.exe). 
     32 
     332. Under the HKEY_LOCAL_MACHINE subtree, go to the following subkey: 
     34 
     35\System\CurrentControlSet\Control\SessionManager\ 
     36 
     37SubSystems\Windows 
     38 
     39The default data for this value will look something like the following (all on one line): 
     40{{{ 
     41%SystemRoot%\system32\csrss.exe ObjectDirectory=\WindowsSharedSection=1024,3072 Windows=On SubSystemType=Windows ServerDll=basesrv,1 ServerDll=winsrv:UserServerDllInitialization,3 ServerDll=winsrv:ConServerDllInitialization,2 ProfileControl=Off MaxRequestThreads=16 
     42You will need to make the following change to this value: 
     43}}} 
     44Scan along the line until you reach the part that defines the SharedSection values and add ",512" after the second number. This value should now look something like the following: 
     45{{{ 
     46%SystemRoot%\system32\csrss.exe ObjectDirectory=\WindowsSharedSection=1024,3072,512 Windows=On SubSystemType=WindowsServerDll=basesrv,1 ServerDll=winsrv:UserServerDllInitialization,3 ServerDll=winsrv:ConServerDllInitialization,2 ProfileControl=Off MaxRequestThreads=16 
     47}}} 
     48After making this change, close Regedt32 and restart the server. 
     49 
     50This change will limit the size of desktop heaps created by noninteractive services to 512 KB, which should be ample for most services.