none
Windows Modules Installer service terminated Insufficient system resources 7023

    Question

  • Hi,

    one of our Servers gets this error, every hour:

    Log Name:      System
    Source:        Service Control Manager
    Date:          10.12.2012 09:42:59
    Event ID:      7023
    Task Category: None
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      SC02.domain.local
    Description:
    The Windows Modules Installer service terminated with the following error: 
    Insufficient system resources exist to complete the requested service.
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="Service Control Manager" Guid="{555908d1-a6d7-4695-8e1e-26931d2012f4}" EventSourceName="Service Control Manager" />
        <EventID Qualifiers="49152">7023</EventID>
        <Version>0</Version>
        <Level>2</Level>
        <Task>0</Task>
        <Opcode>0</Opcode>
        <Keywords>0x8080000000000000</Keywords>
        <TimeCreated SystemTime="2012-12-10T08:42:59.755909200Z" />
        <EventRecordID>86831</EventRecordID>
        <Correlation />
        <Execution ProcessID="600" ThreadID="2192" />
        <Channel>System</Channel>
        <Computer>SC02.domain.local</Computer>
        <Security />
      </System>
      <EventData>
        <Data Name="param1">Windows Modules Installer</Data>
        <Data Name="param2">%%1450</Data>
      </EventData>
    </Event>

    I checked some Facts with this (http://technet.microsoft.com/en-us/library/cc756318(WS.10).aspx):

    C:\Users\administrator>sc query TrustedInstaller
    SERVICE_NAME: TrustedInstaller
            TYPE               : 10  WIN32_OWN_PROCESS
            STATE              : 1  STOPPED
            WIN32_EXIT_CODE    : 1450  (0x5aa)
            SERVICE_EXIT_CODE  : 0  (0x0)
            CHECKPOINT         : 0x0
            WAIT_HINT          : 0x0

    SFC /scannow don´t run:

    C:\Users\administrator>sfc /scannow
    Windows Resource Protection could not start the repair service.

    we don´t recieve the "Low Registry Space"!

    Manal Startup of "TrustedInstaller" reports the same error:

    The Windows Modules Installer service terminated with the following error: 
    Insufficient system resources exist to complete the requested service.

    a import of the "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\TrustedInstaller" isn´t successfully:

    cannot Import C:\users\administrator\vs02.reg: Not all data was successfully  written to the registry. some keys are open by the System or other processes.

    A clean Reboot don´t helps.

    A logon with my Domain account reports this error:

    1508
    Windows was unable to load the registry. This problem is often caused by insufficient memory or insufficient security rights. 
     DETAIL - Insufficient system resources exist to complete the requested service.
     for C:\Users\domainname-a\AppData\Local\Microsoft\Windows\\UsrClass.dat
    
    and
    1542
    Windows cannot load classes registry file.
     DETAIL - Insufficient system resources exist to complete the requested service.

    Can anyone help?




    Kind regards Joerg


    • Edited by JörgS Monday, December 10, 2012 9:20 AM addional failure
    Monday, December 10, 2012 9:02 AM

Answers

  • We have now found some brocken .NET Hives in the Software Hive of the Registry.

    you can delete this brocken Hives or restore the "Software" Registry file in "%windir%\system32\config" from a last known good backup.
    a backup of this files are in "%windir%\system32\config\regback" too


    Kind regards Joerg

    • Marked as answer by JörgS Tuesday, December 18, 2012 8:21 AM
    • Unmarked as answer by JörgS Thursday, December 27, 2012 10:42 AM
    • Marked as answer by JörgS Thursday, December 27, 2012 12:54 PM
    Tuesday, December 18, 2012 8:21 AM
  • Hi,

    we resolve this with uninstallation of SQL Mgmt Studio 2010 from this Server. After SQL 2012 SP1 the System want´s to install the SQL Mgmt Studio all 8 Minutes.

    http://social.technet.microsoft.com/Forums/en-US/sqlsetupandupgrade/thread/f7313064-2353-4123-a552-d91a4c025483


    Kind regards Joerg

    • Marked as answer by JörgS Thursday, December 27, 2012 10:43 AM
    Thursday, December 27, 2012 10:43 AM

All replies

  • Hello Joerg, 

    Below are the links to fix profile related issues.


    Regards, Ravikumar P

    Monday, December 10, 2012 11:14 AM
  • Please use Safe mode and do a clean boot:http://support.microsoft.com/kb/331796

    Also, you can use memtest86+ to do memory checks. For other hardware tests, you can contact your hardware manufacturer.

    Please also read that: http://blogs.technet.com/b/markrussinovich/archive/2009/03/26/3211216.aspx


    This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.

    Monday, December 10, 2012 12:38 PM
  • Hey guys,

    i'm a colleague of Jörg. In addition to the error message there are some important informations:

    • the OS is Windows Server 2008 R2
    • our server is virtualized by Hyper-V

    Kind regards Steven

    Monday, December 10, 2012 3:19 PM
  • hi guys,

    the Troubleshooting sfc Problem didn´t work, a offline scan is also not possible.

    the Virtual Machine has 12 GB RAM.

    Safe mode and do a clean boot didn´t help:

    System error 1450 has occurred.
    Insufficient system resources exist to complete the requested service.

    memtest is ok, it´s a Virtual Machine on Hyper-V

    We found the Problem, it´s the "mscorsvw.exe" .NET Runtime Optimization Service, it consumes all availible RAM

    we check now this steps: http://social.msdn.microsoft.com/Forums/eu/netfxsetup/thread/d4d10c52-62d0-45ac-86e8-298f8c52ccfd

    Reinstall .NET 4.5 don´t helps

    Windows update also Fails with 80080005
    net stop wuauserv, delete Content auf "SoftwareDistribution" and net start wuauserv or restart Server don´t helps

    new registry dword HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control
    RegistrySizeLimit 4294967295
    don´t helps


    Kind regards Joerg


    • Edited by JörgS Tuesday, December 11, 2012 1:40 PM more informations
    Monday, December 10, 2012 7:00 PM
  • We have now found some brocken .NET Hives in the Software Hive of the Registry.

    you can delete this brocken Hives or restore the "Software" Registry file in "%windir%\system32\config" from a last known good backup.
    a backup of this files are in "%windir%\system32\config\regback" too


    Kind regards Joerg

    • Marked as answer by JörgS Tuesday, December 18, 2012 8:21 AM
    • Unmarked as answer by JörgS Thursday, December 27, 2012 10:42 AM
    • Marked as answer by JörgS Thursday, December 27, 2012 12:54 PM
    Tuesday, December 18, 2012 8:21 AM
  • Hello,

    I have the exact same problem

    has you been able to resolve this?.

    Kind regards Benny

    Thursday, December 27, 2012 10:34 AM
  • Hi,

    we resolve this with uninstallation of SQL Mgmt Studio 2010 from this Server. After SQL 2012 SP1 the System want´s to install the SQL Mgmt Studio all 8 Minutes.

    http://social.technet.microsoft.com/Forums/en-US/sqlsetupandupgrade/thread/f7313064-2353-4123-a552-d91a4c025483


    Kind regards Joerg

    • Marked as answer by JörgS Thursday, December 27, 2012 10:43 AM
    Thursday, December 27, 2012 10:43 AM
  • Hi,

    I have the Issue with SQL Mgmt Studio 2012, the only problem is the currently i am in the state that my software hive is over 2gb

    "

    Just stop and disable ALL Microsoft .Net Framework NGEN services, and make sure you kill any lingering msiexec.exe processes.
    If your software hive has already reached 2GB on the other hand, you are screwed. Then you have to reinstall the OS, at least if it is a production machine. You can murk around in the registry and delete the keys manually, but there is no knowing what else has been scrambeled due to the fact that nothing can be added to the registry hive past 2GB."

    Thursday, December 27, 2012 12:51 PM
  • you can restore a copy of the Software file from "%windir%\system32\config\regback"

    to "%windir%\system32\config"

    that help us on out SharePoint, with the same problem


    Kind regards Joerg

    • Proposed as answer by TCifrino Wednesday, January 22, 2014 3:37 PM
    Thursday, December 27, 2012 12:54 PM
  • hi,

    Thanks , the restore of the software hive did the trick.

    now I have to find a way to stop this behavoir.

    system is up and running again,( or how an RDP related problem was caused by a SQL mgmt tool bug :-()

     kind regards

    Benny

    Thursday, December 27, 2012 2:20 PM