Link to home
Start Free TrialLog in
Avatar of Wytech_Wire
Wytech_Wire

asked on

Not Enough Resources are available to complete this operation, error code 0X800706B9

Hello,

I am trying to query all of the computers under my 2k3 server using WMI. Most of the computers return the information I want with no problem, however a few of them bring back a not enough resources are available to complete this operation. Ive tried it with the firewall off, with the firewall on w/exceptions. Ive added the internet key under RPC in the registry with the single port i want for the dyanmic RPC port. Ive tried adding the IRPStackSize entry as well. Ive done a side by side comparison of a computer that works and one that does not and have not found any differences. Any help would be greatly appreciated.
Avatar of Will Szymkowski
Will Szymkowski
Flag of Canada image

I had gotten this error message when users were trying to access their network drives and the following reg entry fixed it for me.

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management

In the right hand pane modify the key "PagedPoolSize" change the value to Hex ffffffff (x8) click OK and then reboot the machine and try it again. As stated above I got this same error message when accessing network drives so hopefully this works for you.
you can also check the Windows setting while in the Session Manager\Subsystem key and the middle value of the 3 shown at the start of the long line, is set to only 3MB, change to 8MB (8192) and reboot the system.

the other reason as you correctly assumed, is the IRPStack size, i even get this on some newly rebuilt XP systems.
Avatar of Jonvee
Jonvee

This previous thread may help....
"WMI issue":
https://www.experts-exchange.com/questions/23368762/WMI-issue.html

In this particular case the problem was solved by applying the patch ( KB933061), which you could check to see if it's already installed.
http://www.microsoft.com/downloads/details.aspx?FamilyId=94CE776E-A4DA-4937-B2FA-3EC16495222E&displaylang=en
Another reference here>
"Error 0x800706b9 (2147944121) Not enough resources are available to complete this operation":
http://support.softwaretoolbox.com/cgi-bin/swtbsupt.cfg/php/enduser/std_adp.php?p_faqid=1582&p_created=1219956206
Avatar of Wytech_Wire

ASKER

Spec01, I have already tried that it did not work

Jonvee, That hotfix is for the server, i need something for the client side which Microsoft has however these computers have SP3 ,with that hotfix already installed. I have tried deleting that key from the registry as well, every computer has the same "Internet" Key in the registry.

Iainix - There are three different numbers in the long string, are you sure that i change the one that has just a three, theres others with a 2 and a 1.



Ianix: here is the registry entry

%SystemRoot%\system32\csrss.exe ObjectDirectory=\Windows SharedSection=1024,12288,512 Windows=On SubSystemType=Windows ServerDll=basesrv,1 ServerDll=winsrv:UserServerDllInitialization,3 ServerDll=winsrv:ConServerDllInitialization,2 ServerDll=sxssrv,4 ProfileControl=Off MaxRequestThreads=16

what do i change?
on the computer it had 3072 in the 1024 section, so i changed it 8192, and the same error came up
middle number is the DesktopHeapSize you need to edit, max value is 8192 (from 3072 which is the default), the first number is the system heap value and the last number is the non-interactive size.  Be very careful with these values.  

You seem to have it set to 12MB just now, I have heard of some Vista systems set with this, but i found 8192 perfect for those resource and memory issues, the shell became much more responsive.

64bit systems will have a higher value, if i recall about 20MB.


yes i copied that registry entry from my windows 7 machine, the correct heap size was 3072 which i changed to 8192 but the problem still occurs
then you may have another issue to resolve, have you checked the info Jonvee & Spec01 gave??
yes i did i think ive tried everything in the book lol
ASKER CERTIFIED SOLUTION
Avatar of Jonvee
Jonvee

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ok after deleting the internet key from the registry and turning the firewall off it worked. However what is strange is that i didnt/dont have a hyphen in my port range in fact i only opened one port. It works on all of the other computers but not a select few. After i tried to add the key again, it failed to work. Any ideas as to why the key would not work on some computers but will work on the rest?
So apparently what happened was that you have to define a range of ports for some computers otherwise there wont be enough resources available. I opened 100 ports using hte internet key and everything works fine now.

THANKS FOR EVERYONE'S HELP
Clearly i was unable to figure out why that registry key would not work on all the machines, so thanks for the update..... quite likely it'll help someone else.