Troubleshooting Code 80041006 – Insufficient Memory
Introduction to Code 80041006
Error code, 80041006 says Insufficient Memory. However the cause is likely to be a typo. The system then gets exhausted looking for a non-existent object. This error often occurs when you execute a VBScript connecting to WMI (Windows Management Instrumentation).
This error is most likely a spelling error, therefore, check the names of the objects. A variation of the problem is that you could be trying to use a class that does not exist. For example Win32_Services is incorrect, it should be the singular, Win32_Service.
The Symptoms You Get
The script does not manipulate the WMI object as you had hoped, instead you get a Windows Script Host error message.
The Cause of Code 80041006
The cause of this error is not memory, but memory is masking another problem such as a typing mistake. My guess is that your VBScript contains a misspelled object name. Incidentally, code 80041006 is an unusual error in that a number is returned in the Source: rather than ‘Syntax Error’ or other message.
See more on Diagnosing VBScript errors here.
The Solutions
Check the class definitions in the WMI section of the your script, check for extra letters, plurals can be a particular problem, e.g. system or systemS.
‡
Example of Error Code 80041006 Script
No Specific example, but this error is very similar to:
and
also
Seven General Troubleshooting Strategies for 800 Errors
See More Windows Update Error Codes 8004 Series
• Error 80004005 Unspecified Error •Error 80041021 •Error 80041001 •Error 80041002
• Error 80048820 •Error 8004100E •Review of SolarWinds Application Monitor (SAM)
• Error 80040E14 • Error 80040E37 • Error 80041006 • Error 80041006
Guy Recommends: WMI Monitor and It’s Free!
Windows Management Instrumentation (WMI) is one of the hidden treasures of Microsoft operating systems. Fortunately, SolarWinds have created the WMI Monitor so that you can examine these gems of performance information for free. Take the guess work out of which WMI counters to use for applications like Microsoft Active Directory, SQL or Exchange Server.
Download your free copy of WMI Monitor
Do you need additional help?
- For interpreting the WSH messages check Diagnose 800 errors.
- For general advice try my 7 Troubleshooting techniques.
- See master list of 0800 errors.
- Codes beginning 08004…
- Codes beginning 08005…
- Codes beginning 08007…
- Codes beginning 0800A…
Give something back?
Would you like to help others? If you have a good example of this error, then please email me, I will publish it with a credit to you:
If you like this page then please share it with your friends