unable to connect to WMI on XXXX Invalid namespace (-2147217394)
I am using SCCM to push out updates to software and on several computers the program never runs. I can test these computers and run the program in the command line, but it never runs from SCCM. I've seen where I don't think it ever gets to these computers even though they are on the network. One in particular is my desktop, I try to rerun an advertisement to get it to work and I get the error in the title (Unable to connect to WMI on XXXX Invalid namespace (-2147217394)). What does this mean and how can fix it so that it works?Mike in IT
September 11th, 2012 3:20pm

Do you have any firewall rules denying WMI access? What's the command line you're trying to run? Verify the account pushing the install has admin rights on your machine. Lastly, confirm that WMI is not corrupted on your pc. Tim Magnuson | MCTS, MCITP | MCCA 2011 | Ok, so I changed my name...you can still call me Tom if you like. It's a...jump...to conclusions...mat. My Blog Site: http://tmagnuson.wordpress.com
Free Windows Admin Tool Kit Click here and download it now
September 11th, 2012 4:20pm

Last time I saw that error was because someone had stopped WMI and set it to disabled... --this is assume you have already fixed the port block or corruption issue. http://www.sccm-tools.com http://sms-hints-tricks.blogspot.com
September 11th, 2012 4:55pm

One thing that caught me out was i had opened up all the ports in the firewall but it still would not push the client install and was coming back with WMI errors. what fixed it for me was enabling a group policy setting called Windows Firewall: Allow inbound remote administration exceptions this can be found under Computer Configuration - Policies - Administrative Template - Network - Network Connections - Windows Firewall - Domain Profile Hope this fixes it for you.
Free Windows Admin Tool Kit Click here and download it now
September 11th, 2012 11:00pm

Hi, It may be caused by the network problem(hardware firewall, etc. ) or the client side firewall. You may go to check them. Regards, Sabrina
September 12th, 2012 3:43am

@Tim Magnson - I don't think so. If I did they would be throughout the network because we control the firewall for all computers through GP. The command line I'm running is this: Desktop_Authority_Secure_Password_Extendion_x64.msi The account that I'm useing has admin rights on all machines, that's why we use it. How do I confirm that WMI is not corrupted on my computer? @Matthew Hudson - What services specifically do you mean? I see 2 and I have them both running (wmiApSrv and WmiAcpi) and on the actual services list there is also a WMI Performance Adapter. They are all running, is there one that I'm missing? @Adam.Barber - I don't run the GP's personally, where can I find these so I can check? @Sabrina Shen - If was one of the firewalls all computers would have the same problem as they are all controlled by the same GP's.Mike in IT
Free Windows Admin Tool Kit Click here and download it now
September 12th, 2012 7:31am

@Matthew Hudson - What services specifically do you mean? I see 2 and I have them both running (wmiApSrv and WmiAcpi) and on the actual services list there is also a WMI Performance Adapter. They are all running, is there one that I'm missing? Mike in IT Windows Management Instrumentation service, is that listed?
September 12th, 2012 8:10am

That is listed and running, it's set to automatic. Mike in IT
Free Windows Admin Tool Kit Click here and download it now
September 12th, 2012 8:18am

The fact that this seems to be isolated only to your pc makes me believe it's not an enterprise configuration issue (unless your pc isn't processing gpos correctly). There is a WMI utility that can help verify whether or not WMI is functioning properly. http://www.microsoft.com/en-us/download/details.aspx?id=7684 Run that and see if it reports any issues. Back to the command line problem...just for clarification, is this a program inside a package that you're trying to deploy via advertisement to a collection? Is your computer running the same OS as everyone else? Namespaces DO change with the OS version...what's valid in Windows 7 may not necessarily be valid in XP. Tim Magnuson | MCTS, MCITP | MCCA 2011 | Ok, so I changed my name...you can still call me Tom if you like. It's a...jump...to conclusions...mat. My Blog Site: http://tmagnuson.wordpress.com
September 12th, 2012 9:11am

@Tim Magnuson - Yes this command line is is a program inside a package being advertised to a collection of 4. So far 2 have received the advertisement and only 1 has run it. My computer is one of the others and I know that it received it, I added the other 2 after I saw that my computer received it. I have a second advertisement that is pushing the x86 version and it's having the same issue 2 in collection 1 received and 1 didn't. As for that utility you gave me there were a lot of errors, most of them saying that 'Current user does not have permission to perform the action'. I'm re-running it with admin credentials to see if I get more results. I can post the results here if you want.Mike in IT
Free Windows Admin Tool Kit Click here and download it now
September 12th, 2012 9:50am

So your command line is just Desktop_Authority_Secure_Password_Extendion_x64.msi ? Is there a typo in the command line or a typo in your post or is "Extendion" correct? For the command line, I typically put msiexec.exe /i <MSI_NAME> /qb! (or /qn) if you want it completely silent. It would seem just running the msi would cause an interactive installation, if that's what you're going for. If you're wanting interaction, make sure in your program properties that users are allowed to interact with the application or it may cause some unpredictable results.Tim Magnuson | MCTS, MCITP | MCCA 2011 | Ok, so I changed my name...you can still call me Tom if you like. It's a...jump...to conclusions...mat. My Blog Site: http://tmagnuson.wordpress.com
September 12th, 2012 11:10am

Sorry that's a miss type in my post it's supposed to be 'extension' and yes that's all I am using currently. I've tested using the msiexec and it never seems to work. I have the advertisement set to run silently, and it's restarted both computers that it ran on. I'd like to avoid that, I just want it to run silently not to restart.Mike in IT
Free Windows Admin Tool Kit Click here and download it now
September 12th, 2012 11:18am

my command line would be msiexec.exe /i Desktop_Authority_Secure_Password_Extension_x64.msi /qn Should work regardless of whether the package is downloading or running directly from the DP. msiexec.exe is not part of the package, but it will find it in system32 and run. Try that out and see if it makes a difference. You may have to monitor the client logs (execmgr i believe) and it should display in the log when the policy has been updated, then run the advertisement again.Tim Magnuson | MCTS, MCITP | MCCA 2011 | Ok, so I changed my name...you can still call me Tom if you like. It's a...jump...to conclusions...mat. My Blog Site: http://tmagnuson.wordpress.com
September 12th, 2012 11:27am

I'll try that and let you know what happens. Mike in IT
Free Windows Admin Tool Kit Click here and download it now
September 12th, 2012 11:40am

Is there a switch to keep it from restarting. I ran the command as you have it, but it restarted my computer and I need to avoid that.Mike in IT
September 12th, 2012 12:36pm

REBOOT=ReallySuppress should prevent the installer from rebooting the system.Tim Magnuson | MCTS, MCITP | MCCA 2011 | Ok, so I changed my name...you can still call me Tom if you like. It's a...jump...to conclusions...mat. My Blog Site: http://tmagnuson.wordpress.com
Free Windows Admin Tool Kit Click here and download it now
September 12th, 2012 12:53pm

Where would I put that. Tried: msiexec.exe /i Desktop_Authority_Secure_Password_Extension_x64.msi /qn /REBOOT=ReallySuppress and I get the help screen pop-up.Mike in IT
September 12th, 2012 1:18pm

the REBOOT parameter does not accept a / in front of it. Sorry for any confusion! So your command line is : msiexec.exe /i Desktop_Authority_Secure_Password_Extension_x64.msi /qn REBOOT=ReallySuppress Tim Magnuson | MCTS, MCITP | MCCA 2011 | Ok, so I changed my name...you can still call me Tom if you like. It's a...jump...to conclusions...mat. My Blog Site: http://tmagnuson.wordpress.com
Free Windows Admin Tool Kit Click here and download it now
September 12th, 2012 1:21pm

any luck?Tim Magnuson | MCTS, MCITP | MCCA 2011 | Ok, so I changed my name...you can still call me Tom if you like. It's a...jump...to conclusions...mat. My Blog Site: http://tmagnuson.wordpress.com
September 13th, 2012 9:13am

Sorry I left yesterday before I could test it. Testing just the command line it works, now I'm waiting on SCCM to push it out and see if it will work that way. I'll let you know as soon as I can, but so far it looks promising. Mike in IT
Free Windows Admin Tool Kit Click here and download it now
September 13th, 2012 9:29am

SCCM doesn't seem to be pushing it out, I've got 2 advertisements (one x64 and one x86). 9 total machines that should be getting the install. 5 total say that they got the download, 4 say that they have started running, but none say that they have finished successfully or otherwise.Mike in IT
September 13th, 2012 1:56pm

grab one of the execmgr logs off a client and see what it saysTim Magnuson | MCTS, MCITP | MCCA 2011 | Ok, so I changed my name...you can still call me Tom if you like. It's a...jump...to conclusions...mat. My Blog Site: http://tmagnuson.wordpress.com
Free Windows Admin Tool Kit Click here and download it now
September 13th, 2012 2:47pm

They all say something different, that's if they say anything at all about it. There was one that said it finished the install and the program exited expecting a restart. I restarted that computer and now it has the password manager installed. So that's 1 out of the 9 that it worked on.Mike in IT
September 14th, 2012 11:54am

Have you tried using the report "Progress of a running task sequence advertisement" to investigate the status messages associated with the advertisement of this package? What sorts of messages doe you see ?
Free Windows Admin Tool Kit Click here and download it now
September 15th, 2012 6:41am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics