• Part1- Windows Server 2008/2008R2 Server core tips

    Firewall Configuration

    Allow server to respond to ICMP (Ping) requests

    Input the following command:

    netsh advfirewall firewall add rule name="ICMPv4 Inbound" dir=in action=allow enable=yes profile=any localip=any remoteip=any protocol=icmpv4:8,any interfacetype=any edge=yes

    image

     

    Allow remote administration tools to work

     

    image

    1. Type the following commands:
    netsh firewall set service remoteadmin enable

    2. Check the firewall state:
    netsh firewall show state

     

    Desktop Configuration

    Setup Screen Saver
    image

    ScreenSaveTimeOut: 多久之後啟動螢幕保護程式(秒)

    SCRNSAVE.EXE: 指定的螢幕保護程式

    ScreenSaverIsSecure: 回復時需要輸入密碼

    ScreenSaveActive: 是否啟動螢幕保護程式

     

    Setup Console configuration

    1. How to Enable/Disable the Full Screen mode:
    image

    2. Other settings(Including Language and Editing):
    image

  • How to collect SCOM 2007 R2 trace log for script error

    configured SCOM 2007 R2 ScriptTrace Log

    1.%programfiles%\system center opereations manager 2007\tools\scripttracecontrol stop
    2.%ProgramFiles%\System Center Operations Manager 2007\Tools\ScriptTraceControl.cmd start ALL
    3.once we have the next error run...

    Please perform these steps and waiting a short time.
    1. Stop the MOM Health Service on the agent server.
    2. Delete all files in C:\Program Files\System Center Operations Manager 2007\Health Service State\
    3. Start the MOM Health Service.
    4. Check C:\Program Files\System Center Operations Manager 2007\Health Service State\ to verify the files were recreated.

    waiting a short time

    5.%ProgramFiles%\System Center Operations Manager 2007\Tools\ScriptTraceControl.cmd stop
    6.%ProgramFiles%\System Center Operations Manager 2007\Tools\ScriptTraceControl.cmd format

    Then verify that the %windir%\temp\OpsMgrTrace\TracingGUIDsScript.log has some data in it.

  • How to collect MOM 2005 Trace log for script error

    • If a script is generating an error, and additional data around that error is needed, then script tracing can be enabled

    This is done by modifying a registry key:

    – HKEY_LOCAL_MACHINE\SOFTWARE\Mission Critical Software\OnePoint

    Ÿ Change the value of the DebugEnabledScripts entry to specify the name of the script or scripts you want to debug. Wildcard expressions (*) are supported for this setting. If DebugEnabledScripts does not already exist, create a new String entry for it.

    Ÿ To enable debugging, change the value of the EnableActiveDebugging entry to 1. If EnableActiveDebugging does not already exist, create a new DWORD entry for it.

    Ÿ To disable debugging, change EnableActiveDebugging to 0.

    • Once enabled the AgentResponses-<ManagementGroup>.log file will get created on the agent being debugged (by default in the MOM logging directory).  You may need to restart the MOM service in order for this log to get created.

    • This log will contain the output of any ScriptContext.Echo statements from within the script.  Obviously, additional ScriptContext.Echo statements can be added to the script which can assist in troubleshooting the issue.

  • SCOM 2007,Alert generated by Send Queue % Used Threshold

    PROBLEM:
    ========

    Send Queue % Used Threshold issue

    CAUSE
    ======
    RMS server is grayed out

    SOLUTION
    ============
    Please perform these steps and let me know results after waiting a short time.
    1. Stop the MOM Health Service on the RMS server.
    2. Delete all files in C:\Program Files\System Center Operations Manager 2007\Health Service State\
    3. Start the MOM Health Service.
    4. Check C:\Program Files\System Center Operations Manager 2007\Health Service State\ to verify the files were recreated.

  • Cannot find LS on TSLS Windows EVENT 29,7024

    Problem
    ========

    Cannot find LS on TSLS Windows EVENT 29,7024
    Error msg = Event ID 29
    Terminal Services Licensing can only be run on Domain Controllers or Server in a Workgroup. See Terminal Server Licensing help topic for more information.

    Solution
    =======

    You can modify the Windows 2000 Terminal Services License Server service so that it will run on Windows 2000 member servers in a Windows 2000 domain.
    Use Registry Editor (Regedt32.exe) to locate the ImagePath value in the following registry key:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\TermServLicensing

    Modify the ImagePath value to %SystemRoot%\System32\lserver.exe -nodc , and then quit Registry Editor.