WMI security on Windows 7

Posted on 2009-12-27
Last Modified: 2012-05-08
I have windows 7 workstations in the domain.
I have a server running windows 2003 in a workgroup.
I want to be able to run a WMI script remotely from that server on the Windows 7 workstation.
The script works fine on Windows XP (remotely).

what do I need to change in the Windows 7 client definitions in order to achieve that?
Where in the group policy can I make this changes?

Question by:oferam
    LVL 22

    Expert Comment

    You need to disable UAC first ...
    LVL 6

    Author Comment

    I need some more specific fine grained permissions and how to set them through the GPO, thanks.
    LVL 41

    Expert Comment

    I suspect the issue is related to the firewall settings on the Win7 box.  You should check to verify that "Windows Management Instrumentation" protocols are allowed.
    Recall that you'd need to use a domain account that's in the local Administrators group.  Disababling UAC is only required if you're using a workgroup.
    LVL 6

    Author Comment

    The link you attached is NOT relevant to windows 7 since Microsoft changed their firewall. It is now the advanced firewall that is relevant.

    Just for general knowledge my Server is 2003 and from another server that is the domain WMI works. How can domain membership affect whether the client accept WMI queries from my server or not?
    LVL 41

    Accepted Solution

    Sorry for the bad link, but at least the concepts are the same.   So, was the firewall on the Win7 box an issue?
    There was a change in the UAC security model for WMI that limits remote impersonation to only Domain accounts.   So, in a workgroup environment (where you have no Domain accounts), you have no choice but to disable UAC.   In a domain environment, you can use any domain account (not local account!), and remote impersonation will work just fine.  Obviously for the sake of WMI, this would probably be an account that in the remote PC's local Administrator account.
    So, again... disabling UAC is only required in a workgroup environment.
    LVL 6

    Author Comment

    Hopefully disabling UAC will help, I will check it on Monday.
    Thanks so far

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Healthcare providers, insurance companies and other covered entities trust eFax Corporate to transmit their most sensitive documents. eFax Corporate can help your organization implement a HIPAA compliant cloud faxing solution.
    New Windows 7 Installations take days for Windows-Updates to show up and install. This can easily be fixed. I have finally decided to write an article because this seems to get asked several times a day lately. This Article and the Links apply to…
    In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
    This Micro Tutorial will teach you how to change your appearance and customize your Windows 7 interface to your unique preference. This will be demonstrated using Windows 7 operating system.

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now