zoukankan      html  css  js  c++  java
  • WMI 拒绝访问 解决方法之二

    1) Make sure that the scanning account is an administrator on the target computer.

    2) Make sure that the scanning account's password is not expired.

    3) Check the DCom Security settings.

    This script can configure the necessary DCOM and windows firewall settings: download script






    Access Permissions: Edit Default...
    Self (Local access, Remote access)
    System (Local access)
    Administrators (Local access, Remote access) !!important

    Launch and Activation Permissions: Edit Default...
    System (Local launch, Local activation)
    Administrators (Local launch, Remote launch, Local activation, Remote activation) !!important
    Interactive (Local launch, Local activation)

    To make it easier you can reset DCOM to the default permission from this registry key:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Ole



    Make sure EnableDCOM is set to Y
    Delete all other values in this key (don't delete any subkeys)

    4) Only necessary for workgroup computers:

    If you are scanning Windows Vista or Windows 7 in a workgroup you need to disable UAC (for computers in a domain this is not required)
    More info on this link: Handling_remote_connections_under_uac

    • Optionally you can disable UAC for remote administrator only:
      Start "regedit.exe"
      Go to key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\system
      Create new Dword value: LocalAccountTokenFilterPolicy
      Set LocalAccountTokenFilterPolicy to "1"

    Set Classic security model:

    Start/run "secpol.msc"
    Navigate to Local Policies\Security Options
    Network Access: Sharing security model for local accounts - Set to Classic
    Restart the computer.

    5) Make sure that the "Windows Management Instrumentation" service is set to automatic and is started on the client.

    6) If WMI still doesn't work download the WMI Diagnose tools from Microsoft.

    7) Use this script to repair WMI on a computer.

    8) Try removing and re-adding the computer to the domain as a last resort.



  • 相关阅读:
    java设计模式演示样例
    一步一步写算法(之排序二叉树)
    收集经常使用的.net开源项目
    jdbc连接数据库
    Android开发系列(二十二):AdapterViewFlipper的功能和使用方法
    ProgressDialog使用总结
    HDU 4916 树分治
    [Unity3D]自制UnityForAndroid二维码扫描插件
    IOS ARC和非ARC文件混用
    让子弹飞Demo版
  • 原文地址:https://www.cnblogs.com/yinhaosln/p/2210434.html
Copyright © 2011-2022 走看看