2019年11月6日 星期三

Service Manager Install Fails with: An Error occurred while executing a custom action:RollbackCleanup.


An error occurred while executing a custom action:_CreatePortalWebSite.11EE91AB_EABF_48A6_9973_4DCD73190AC6
This upgrade attempt has failed before permanent modifications were made. Upgrade has successfully rolled back to the original state of the system. Once the correction are made, you can retry upgrade for this role.



Solution
=======
1.Open regedit from the Start menu.
2.Browse to the following subkey: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control
3.Create a new DWORD value named ServicePipeTimeout.
4.In the properties of ServicePipeTimeout, select Decimal, and give a value of 600000. (This is milliseconds).
5.Restart the Computer.

2019年8月1日 星期四

How to Clear the Outlook Cache


How to Clear the Outlook Cache
Removing the cache in Outlook doesn't delete emails, contacts, or other useful information
  1. Save any work and close outlook
  2. Press Windows key+R.
  3. In the Run dialog box, enter %localappdata%\Microsoft\Outlook and press Enter.
  4. Double-click the RoamCache folder to view the cache files.
      Note:
      Back up the cache files so that you can restore the files if something goes wrong.

  1. To delete the cache files, press and hold the Shift key while selecting all of the files. Then press the Delete key, or right-click the highlighted files and select Delete.
  2. Outlook automatically makes new cache files when you open Outlook.

2019年7月16日 星期二

Network Monitor TCP Filtering

Data Fields:

Field
Description
Example
TCP.PortFilters on the Source or Destination port.  Used to find traffic based on port which is often associated with an application.TCP.Port==80
TCP.Flags.ResetCan be used to test and see if the reset flag is set.TCP.Flags.Reset==1
TCP.WindowWindow Size of the current TCP frame, but ignoring the scale factor. See Property.TCPWindowSize below.TCP.Window == 0

 Properties:

PropertyDescriptionExample
TCPRetransmitA property that is set when a TCP retransmit is found.  Retransmits are often an indication of a network infrastructure problem and network congestion.Property.TCPRetransmit == 1
TCPPayloadLengthRepresents the TCP Payload Size.TCPPayloadLength == 0
TCPCheckSumStatus This is a string that represents if the check sum is valid or not.  This could be "Good" or "Bad". TCPCheckSumStatus != "Good"
TCPDescription A property to show the TCP Description for the current frame as opposed to the top most protocol description.  This is useful as a frame summary column.  You can also use it to search for specific retransmitted frames by searching for the text in the TCP summary, as the example shows.TCPDescription.Contains("#472")
TCPAckNumber The current frame's Acknowledgement NumberTCPAckNumber==1234
TCPSeqNumber The current frame's Sequence NumberTCPSeqNumber==1234
TCPSeqeunceRange The TCP Sequence range, as a string, which is the current seq number to the current seq plus the length of the TCP payload.TCPSequenceRange.Contains("1234")
TCPShortAckNumber A WORD representation of the Ack number to make it easy to compare and remember.TCPShortAckNumber==1000
TCPShortSeqNumber A WORD representation of the Seq number to make it easy to compare and remember.TCPShortSeqNumber==1000
TCPFlags A string representation of the various TCP flags for the frame: CWR, ECE, Urgent, Ack, Push, Reset, Syn, Fin. TCPFlags.Contains("R")
TCPWindowSize The Window Size for the current frame including the scaling factor if the 3 way handshake is available in the same trace.TCPWindowSize==0

2019年6月5日 星期三

AD RMS - Unable to connect using cluster name (AD RMS console) - The request failed with HTTP status 401: Unauthorized.

Enable the following registry settings on the RMS server and reboot.
  • HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\LanmanServer\Parameters
    Name:  DisableStrictNameChecking
    Type:  DWORD
    Value: 1
  • HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa
    Name:  DisableLoopbackCheck
    Type:  DWORD
    Value: 1

2019年5月21日 星期二

Disable Mixed Content Warning in Internet Explorer

If you would like to disable this security warning forever,
go to Tools -> Internet Options and select the Security tab. Make sure the “Internet” zone is selected and then click the “Custom Level” button. Scroll-down the list of options and
set the “Display mixed content” setting from “Prompt” to “Enable.”

2019年1月14日 星期一

SCOM : UNIX/Linux Heartbeat Failures After Applying KB2585542

The OpsMgr UNIX/Linux monitoring team at Microsoft is currently investigating an issue that results in heartbeat failures on Operations Manager UNIX/Linux agents after the security update KB2585542 is applied to a Management Server or Gateway.  This update fixes a vulnerability in SSL/TLS1.0, but appears to cause WS-Management connections to UNIX/Linux agents to fail. 

There are two viable workarounds (which must be applied to all Mgmt Servers and Gateways that manage UNIX/Linux agents):
  1. Uninstall the update KB2585542 
  2. Make a registry modification to disable the SecureChannel changes implemented in the update
Note: the registry modification described here and in the KB article effectively disables the security fix that the update implements, so the modified system is subject to the same vulnerability as an unpatched system.
Modifying the registry to disable the SecureChannel changes:
  • A “FixIt” package is available in the KB article under the Known Issues section that can be used to disable the security update
  • Alternatively, you can add the 32bit DWORD value:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control
    \SecurityProviders\SCHANNEL\

     SendExtraRecord = 2
These changes take effect immediately and do not require a reboot.



2019年1月8日 星期二

Query notification processing failed due to a sql exception


Analysis
=========
Event Type: Error
Event Source: DataAccessLayer
Event Category: None
User:  N/A
Computer:
Description:
Query notification processing failed due to a sql exception.


Action Plan
==========
This is caused by a high number of sql queries to the Datawarehouse database. 

The work around is to add an override for the Event Data Collector rule in the Data warehouse connection server scope.

The Execution Attempt Timeout Interval Seconds property was changed from 0 to 6 and the Max Execution Attempt Count was set from 0 to 10.

Restart the System Center service on the SCOM and any gateway servers.