• SCOM 2007 R2,Memory Available Megabytes dashboard view no data

    PROBLEM
    ==========
    Memory Available Megabytes dashboard view no data

    image 

    SOLUTION
    =============
    Create new Dashboard View
    clip_image004
    Create Performance View
    clip_image006

    clip_image007

    clip_image008

    clip_image006[1]

    clip_image009

    clip_image010

  • SCOM 2007,Performance data not available

    From the event logs, we found the following error events that indicate corrupted WMI service.

    Performance Module could not find a performance counter

    事件類型:        警告
    事件來源:        WinMgmt
    事件類別目錄:  無
    事件識別碼:     60
    描述:
    WMI ADAP was unable to process the performance libraries: 0x80041001

    事件類型:        警告
    事件來源:        Health Service Modules
    事件類別目錄:  無
    事件識別碼:     10102
    描述:
    In PerfDataSource, could not resolve counter Web Service, Current Connections, _Total. Module will not be unloaded.

    Solution
    =======
    To rebuild all Performance counters including extensible and third party counters in Windows Server 2003, type the following commands at a command prompt.
    Press ENTER after each command.

    cd \windows\system32
    lodctr /R

    Note /R is uppercase.

    Windows Server 2003 rebuilds all the counters because it reads all the .ini files in the C:\Windows\inf\009 folder for the English operating system.

    如果執行後問題依然存在,請您使用修復 WMI repository 的方法嘗試將問題解決。
    1. Disable the WMI service:
        NET STOP WINMGMT
    2. Reboot Server
    3. Backup the WMI repository:
        - Copy the folder "%windir%\system32\wbem\Repository" to a different folder.
        - Rename the folder "%windir%\system32\wbem\Repository" to "Repository000"
    4. Enable the WMI service:
        NET START WINMGMT
    5. Reboot Server
    6. Monitor the server and check if the problem is fixed.  If not, run the following batch commands to repair WMI:
        @echo off
        sc config winmgmt start= disabled
        net stop winmgmt /y
        %systemdrive%
        cd %windir%\system32\wbem
        for /f %%s in ('dir /b *.dll') do regsvr32 /s %%s
        wmiprvse /regserver
        winmgmt /regserver
        winmgmt /clearadap
        winmgmt /resyncperf
        net start winmgmt

    7. Monitor the server and check if the problem is fixed.  If not, run the following command to reinstall WMI:
        rundll32 C:\windows\system32\Wbem\wbemupgd.dll, RepairWMISetup

    參考知識文件:

    KB300956 "How to manually rebuild Performance Counter Library values"
    http://support.microsoft.com/kb/300956

    KB924935 "Error message when you use the ReadEventLog function in a WMI script in Windows XP: "Err 80041001, WBEM_E_FAILED"
    http://support.microsoft.com/kb/924935

  • Windows 7/Vista – Can I change the default listening port of Remote Assistance

    [Symptom] Can I change the default listening port of Remote Assistance ?

    [Explanation] The answer is no, this is by design behavior.

    · Remote Assistance uses the DCOM port (135) only to allow DCOM communication for remote launching of RA on the novice side – which in turn opens Remote Assistance listeners on the novice machine.

    · These listeners are opened on dynamically chosen ports. In Vista/Win 7 there really is no way to configure this range in any way. What we do suggest is instead of using port based exceptions, add an exception to allow traffic from “msra.exe” from your firewall.

    · Remote Assistance is using dynamic ports from the port range starting at 49152 and ending at 65535.

    [Suggestion]

    · Consult Firewall Vendors, there may have a mechanism to look for those RPC Packets and dynamically open the negotiated port. (as long as the Firewall Device is configured to do so)

    [Reference]

    The default dynamic port range for TCP/IP has changed in Windows Vista and in Windows Server 2008

    http://support.microsoft.com/?id=929851

  • How to let the users can use schedule in Windows 2003 Server?

     

    1.登入管理者權限帳號, EX: Administrator
    2.開啟Dos Command,並輸入以下指令
    cacls  %windir%\tasks /E /G BUILTIN\Users:F
    cacls  %windir%\tasks\*.* /E /G BUILTIN\Users:F
    3.登入Uers 帳號 測試
    另外.如果排程執行為 Batch file , 您亦需要允許 User 可以執行 CMD.exe
    cacls  %windir%\system32\cmd.exe /E /G BUILTIN\Users:F

  • Forefront Client Security Offline Asset Removal Tool 正式登場

    使用FCS或是MOM的系統管理員常常遇到以下幾個狀況:

    1.Admin Console裡面的電腦帳號有些可能都已經報廢了,但是Console還有這台電腦。

    2.系統都重灌或是電腦名稱都改變了,不斷的新資料和舊資料交雜。

    3.Active Directory 使用者及電腦 裡面的資訊和MOM無法同步。

    針對以上的問題,我們推出了以下的工具:

    2272146    Description of the Forefront Client Security Offline Asset Removal Tool
    http://support.microsoft.com/default.aspx?scid=kb;en-US;2272146

    使用範例:

    Fcsoart.exe /RemoveOlderThanDays 180

    清除至今已經180天沒有和MOM回報的機器。