Win32_ComputerSystem can not retrieve VM list in Server 2012 R2

Below code use to work on Win2008 or 2012. Recently, I upgraded my system to WIn2012 R2, the ManagementObjectCollection will throw "invalid class" exception. Any clue to fix this?
ObjectQuery  query = new ObjectQuery("SELECT * FROM MsVM_ComputerSystem WHERE Caption LIKE 'Virtual%' ");
using (ManagementObjectSearcher searcher = new ManagementObjectSearcher(manScope, query))
ManagementObjectCollection collection = searcher.Get();
if (collection != null)
 foreach (ManagementObject obj in collection)

Hi,
Based on my research,
Network Location Awareness (NLA) service expects to be able to enumerate the
domain’s forest name to choose the right network profile for the connection. The service does this by calling
DsGetDcName on the forest root name and issuing an LDAP query on UDP port 389 to a root Domain Controller.
If something hinders the DNS name resolution or the connection attempt to the DC, NLA is not able to set the appropriate network profile on the connection.
Therefore, I suggest you check the DNS settings on DCs and other domain-joined machines, which should point to the existing DC as preferred DNS server, and secondary DC as alternate DNS server, IP address of demoted DC should be
removed. In addition, please do not use loopback IP address.
Here are some articles below I suggest you refer to:
Network Location Awareness (NLA) and how it relates to Windows Firewall Profiles
http://blogs.technet.com/b/networking/archive/2010/09/08/network-location-awareness-nla-and-how-it-relates-to-windows-firewall-profiles.aspx
Network Location Awareness
http://technet.microsoft.com/en-us/library/cc753545(v=WS.10).aspx
Complete Step by Step to Remove an Orphaned Domain controller
http://msmvps.com/blogs/acefekay/archive/2010/10/05/complete-step-by-step-to-remove-an-orphaned-domain-controller.aspx
Best Regards.
Amy

Similar Messages

  • Hyper link of public image(hyperlink or image) can not be saved on windows server 2012 and sharepoint 2010 problem

    hyper link of public image(hyperlink or image) can not be saved on windows server 2012 and sharepoint 2010 problem, is this a bug?
    thanks for any reply.
    Rosone

    It is not a bug, you might be using IE in Windows server 2012 and and browser might be restricting your site actions to respond properly.
    Check this in a different browser or access site in a differ OS.
    Adnan Amin MCT, SharePoint Architect | If you find this post useful kindly please mark it as an answer.

  • Can connect but not retrieve file list (VSFTPD) from within network

    Hi!
    I've got a D-Link DIR-100 wired router to which an Airport Express and an MSI Wind (Arch Linux server) is connected. I can connect to the Wind from outside the LAN, which includes SSH, HTTP and FTP. However, FTP won't work if I'm inside the LAN. The Wind has the IP 192.168.0.101 in the network, and I forwarded the port 22 for SSH, 80 and 443 for HTTP and 20-21 for FTP. I'm using OpenSSH, Apache, and VSFTPD.
    When trying to connect with Transmit (OS X) I get this error message:
    [b]Could not retrieve file listing.[/b]
    Server said:
    Illegal PORT command.
    Error -162: PORT failed
    The Transmit log looks like this:
    Transmit 3.6.7 Session Transcript
    LibNcFTP 3.2.1 (August 13, 2007) compiled for UNIX
    Uname: Darwin|asynja.local|8.11.1|Darwin Kernel Version 8.11.1: Wed Oct 10 18:23:28 PDT 2007; root:xnu-792.25.20~1/RELEASE_I386|i386
    220: (vsFTPd 2.1.0)
    Connected to www.mydomain.se.
    Cmd: USER myusername
    331: Please specify the password.
    Cmd: PASS xxxxxxxxxx
    230: Login successful.
    Cmd: TYPE A
    200: Switching to ASCII mode.
    Logged in to www.mydomain.se as myusername
    Cmd: SYST
    215: UNIX Type: L8
    Cmd: PWD
    257: "/home/myusername"
    Cmd: PASV
    227: Entering Passive Mode (192,168,0,101,227,13).
    Fixing bogus PASV data address from 192.168.0.101:58125 to XX.XXX.XX.XX:58125.
    Data connection timed out.
    Falling back to PORT instead of PASV mode.
    Cmd: PORT 192,168,0,102,204,170
    500: Illegal PORT command.
    Cmd: NOOP
    200: NOOP ok.
    Cmd: PORT 192,168,0,102,204,171
    500: Illegal PORT command.
    (I edited out the IP and login credentials.)
    If I try to connect to 192.168.0.101 though it works like a charm. How come I can't use the same adress? I can visit the external IP/HTTP in a browser, I can connect to it through FTP, but I can't view the files?

    Interestingly, the errors above seem to be a little bit of a
    red herring. If I turn off "enable file check in and check out" in
    Dreamweaver then files can be downloaded, edited and uploaded
    perfectly. I can also create new files. As soon as I turn checkouts
    back on, it stops working. The errors above show up in the Apache
    server log even when this box is unchecked and yet everything works
    correctly. Because Contribute offers no option for editing without
    writing extra info files to the server it still won't work.
    The Dreamweaver log shows the following when I attempt to
    check out a file:
    Started: 12/19/08 6:25 PM
    Operation timed out. Cancelling...
    Operation timed out. Cancelling...
    /webdav/robots.txt - error occurred - An HTTP error occurred
    - cannot get robots.txt. Dreamweaver could not connect because the
    server is down or not accepting connections.
    File activity incomplete. 1 file(s) or folder(s) were not
    completed.
    Files with errors: 1
    /webdav/robots.txt
    Finished: 12/19/08 6:27 PM
    As I mentioned, when I turn off checkouts this whole process
    works correctly, and I can edit and create new files.

  • TS3276 my email error says can not send massege using the server

    I am trying to sen an email an the error message says"can not send message using the server" I don't how to fix this.

    What OS are you using?
    Double-checking all settings is good. Along the way, one thing to try:
    Have a look at your SMTP server settings to see if the port is set to "default" or "custom".  If it is "default" try switching to custom using one of the numbers listed under "default". That fixed it for me on one of my accounts.
    (To do all this:  Mail, Preferences, Accounts, Outgoing Mail Server, Edit SMTP server list, Advanced.)
    charlie

  • Could not retrieve vendor list

    Hi,
    when i am trying to add a local DC to source control, i get the following error
    "Could not retrieve vendor list".
    Can anybody please give me hint, how i can solve this problem?
    BR,
    Martin

    Hi
    This usually indicates your configuration of the NWDI is not proper.
    Please follow the instructions in the link: http://help.sap.com/saphelp_nwce10/helpdata/en/9f/d4dc01c6e64b9db3ae125c350439cc/frameset.htm
    Let me know if this doesn't solve your problem
    Guy
    Edited by: Shai Kfir  on Jan 20, 2008 3:59 AM

  • Can not retrieve data source status

    I have 3 DPS (6.3) running fine with 3 (6.2) DS downstream, running fine as well, on RHAS 4 U4 .
    I don't understand why the DPS console always report it can not retrieve the data sources status. I checked the DS access logs, and I see each DPS
    default monitoring request (on the "" DN) every 30 seconds, which returns one entry, and no obvious error in any DPS or DS error log .
    Any idea ?

    Hi,
    it looks like a a known problem to me that may appear in the following situation:
    In somes cases, the proxy and the DSCC (console) uses different hostnames: For instance, the proxy may be registered to the admin framework as myhost.sun.com and the proxy itself may use only myhost. Operation status is exposed by the proxy as an LDAP entry with dn cn=myhost,.....,cn=monitor. When there is a naming mismatch, the console search for cn=myhost.sun.com,...., cn=monitor and can't find the entry, so the status is unknown.
    Don't know if you are in this situation but it might worth checking this.
    Hope this helps
    -Sylvain

  • In my Itunes account, I can not see my list of songs in my files, nor can I look for individual songs in the Itunes store. Basically, anywhere there are list, I can not see them. What can I do to fix this problem?

    I am having trouble with my Itunes account on Windows XP . I can not see any list in my music files. The songs are there but I have to click on each song to see what it is. Also, in the itunes store, I can not see any pull down list or use my search bar. This happened when Itunes updated it's look. I can pull it up on my phone and see all of my purchased music. I would really appreciate knowing how to fix this problem. Thank you.
    Traci Lemley

    Nevermind - I answered my own question, which is I CAN"T READ ANY BOOKS I purchased in iBooks on my MacBook Pro.  If I want to read on my mac I have to use Kindle or Nook.  Which means any book I've already purchased through iBooks has to be read on my iPad.  Kind of a drag because there are times when it's more convenient for me to read while I'm sitting with my Mac.

  • TS4403 what does "you can not sign in because of server error" mean? I cannot sign in to icloud control panel. how do I fix this?

    Why do I keep getting a "you can not sign in because of server error" when I try to turn on my icloud control panel from my Windows 7 PC?
    I'm able to log in from my browser, why not from control panel?

    Hello, Sameh.tolba. 
    Thank you for visiting Apple Support Communities. 
    I would recommend going through the troubleshooting steps in the two articles below when experiencing this issue. 
    Apple software on Windows: May see performance issues and blank iTunes Store
    http://support.apple.com/kb/ts4123
    iCloud: Making sure that iCloud works with security software in Windows
    http://support.apple.com/kb/TS4175
    Cheers,
    Jason H. 

  • Outlook 2013 Free/Busy can not retrieve information

    Currently have a problem with Outlook 2013 Free/Busy can not retrieve information.
    All windows updates are installed. 
    Exchange 2007 is being used. 
    Problem started last week. 
    Already Tried without any progress:
    1) Recreated profile (Fixed the issue for 1 week)
    2) Cleanfreebusy ( No longer works for outlook 2013)
    3) /Cleanreminders 
    4) Removed latest updates for outlook 10/02( As requested by Microsoft support, however we found users without this update installed, suffering from the problem) 
    5) Repaired OST file 
    6) Repaired Office 2013 
    Can anyone help it would be much appreciated?

    Hi
    As per the information and details provided by you, Outlook 2013 free/busy cannot retrieve information, please follow these steps: -
    The user has never logged in
    Before any free/busy information is available, the user must have at least a calendar. A calendar will not be created until a user logs into their account.
    The option to publish at some location has been enabled in Calendar options
    In all Outlook versions, the option to publish free/busy information must be unchecked. By default, this option is already unchecked.
    This option is located under
    Tools > Options > Preferences > Calendar Options > Free/busy Options.
    Outlook is using cached browser information
    Outlook Free/busy user HTTP, and therefore borrows information cached by Internet Explorer. It is required to clear the offline cache. This is located under
    Tools > Internet Options > General. In the “Temporary Internet Files”  section, choose the
    “ Delete files” button.
    Internet Explorer settings is not correct
    AN Internet Explorer setting may prevent the .ics file from downloading via HTTPS. In Internet Exporer on the Outlook computer, go to
    Tools > Internet Options > Advanced. In the Security section, the checkbox for “Do not save encrypted pages to disk” should be unchecked.
    I hope this information will be helpful for you.
    Thanks and regards
    Shweta@G

  • Put hp recipe box on new laptop but can not get grcery list to iphone

    put hp recipie box on new laptop can not sync grocery list to i phone can any one help

    Please Get the iPad User Manual for iOS 5.

  • Why does it say itunes can not contact the ipod update server because you are not connected to the internet when i am connected to the internet?

    why does it say itunes can not contact the ipod update server because you are not connected to the internet when i am connected to the internet? i need to update my ipod i even changed the LAN settings and it stilll doesnt work

    Have you seen this article?
    iTunes for Windows: iTunes cannot contact the iPhone, iPad, or iPod software update server
    B-rock

  • What is going on with POP email? I can NOT retrieve email unless...

    What is going on with POP email? I can NOT retrieve email unless*...I reboot AND reset!* I POP 3 Comcast emails and my own URL email. Never any problems on Entourage. Hourly issues with my new iPhone—and it's only been 4 days.
    This is *unbelievably frustrating* and negates why I got the dang thing in the first place.
    Does anyone have a work around? Is this a known bug (Apple) or am I missing something?
    +*Plus as a side note I think there are too many clicks into the In Box. Just a usability thing I wish I could set myself.+
    Message was edited by: sukibean

    I have the same problem intermittently... Every so often, the iPhone goes into a mode where email just doesn't work until i shut down and reboot... Then it works fine...
    Its not always the case, but I can't isolate the scenario which causes it to go into this weird mode...

  • I have set up icloud tool and I try to log in but it always fail showing error "you can not sign in because of server error", what can I do?

    I have set up icloud tool and I try to log in but it always fail showing error "you can not sign in because of server error", what can I do?

    Hello, Sameh.tolba. 
    Thank you for visiting Apple Support Communities. 
    I would recommend going through the troubleshooting steps in the two articles below when experiencing this issue. 
    Apple software on Windows: May see performance issues and blank iTunes Store
    http://support.apple.com/kb/ts4123
    iCloud: Making sure that iCloud works with security software in Windows
    http://support.apple.com/kb/TS4175
    Cheers,
    Jason H. 

  • I upgraded to windows 8.1 and now I can not retrieve my documents

    I am using a HP pavilion. Was asked with a pop-up to go to microsoft app store to update windows 8 to 8.1. I did that and now can not retrieve my documents. The printer needed reloaded, too. I tryed reinstalling microsoft office, but didn't work.
    This question was solved.
    View Solution.

    Hi hainesblum, welcome to the HP Forums. The documents that you cannot retrieve after the upgrade to Windows 8.1, were they in your 'Documents' folder? It is possible that your 'Documents' folder has been moved to 'Documents' under the 'Skydrive' folder.
    If that doesn't help, please let me know the model number of your computer.
    How Do I Find My Notebook Model Number?
    How Do I Find My Desktop Model Number?
    TwoPointOh
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the bottom to say “Thanks” for helping!

  • Screw up with the email installation, I stay on the page and can not retrieve neither come back to the welcome mail page

    What can you do when you screwed up the installation of mail/ hotmail/ the IPad can not retrieve the mail and rested blocked on a of reception page?
    Can I reload the email configuration, Please guide, I

    You can delete the account and start all over again. Go to Settings>Mail, Contacts, Calendars>Account name - tap on the email account name - then tap delete at the bottom of the window that will pop up.
    Then start all over again with the correct information.
    If you cannot get out of the mail app - force quit it. Hold down on the sleep button until the red slider appears. Let go of the sleep button. Then hold down on the home button until the mail app quits. You may want to restart the iPad as well.
    Restart the iPad by holding down on the sleep button until the red slider appears and then slide to shut off. To power up hold the sleep button until the Apple logo appears and let go of the button.
    Message was edited by: Demo

Maybe you are looking for

  • Query Builder - Tables not Appearing

    Hi, I am encountering a problem when trying to use Query Builder. If I have a table that is joined to by more than one other object and wish to drag TWO instances of this table into Query Builder, it will not allow it to happen. It doesn't give any e

  • Ipod will not restore but it syncs

    Dragged my old 2nd gen 8gb Touch out... Software is 2.2.1 (5H11A). Manufactured 2009. It will sync and xfer music, vids, etc. but will not "Update" to new software (which iTunes says is available for it), nor will it restore. I just get a (-1) error

  • Looking at MacBook Pro - glossy?

    What's the advantage of the glossy screen over the standard? It's no cost difference, just wondering what people think

  • Encountering problems after updating to Yosemite

    Hi! I updated my iMac (Refurb 2011 27" iMac, i5, 2TB HD, 8GB RAM, 1GB VRAM), Yosemite from Mountain Lion, after getting a new iPhone 5s last week. I had to update iTunes, and to update iTunes, I had to update my OS. Problems after downloading: - USB

  • Hiding the parameter form

    Hi, we are running reports in Viewer 10.1.2.48.18 using URLs made in Portal. It works fine but sometimes the parameter form in Viewer is really not needed (even "wanted"). The report needs the parameters but the user has already made the selections i