2016年3月21日 星期一

How to capture Service Management Automation ETL Traces and Event log



1.Please collect the event log “Microsoft-ServiceManagementAutomation\Operational”.

2.You can also capture verbose logging as outlined here:
How to capture Service Management Automation ETL Traces

Service Management Automation has an ETL provider allowing the capture of verbose logging.  Follow the steps below on the SMA computer to capture ETL tracing:
  1. Open a Command Prompt using Run as administrator.
  2. Type logman start sma -p {2225E960-DE42-45EA-9940-DB3C9DC96AAF} -o SMAVerboseLog.etl -ets and press Enter.
  3. Reproduce the problem.
  4. Type logman stop sma -ets and press Enter.
  5. Type tracerpt SMAVerboseLog.etl -of xml -o SMAVerboseLog.xml and press Enter.
Review the resulting SMAVerboseLog.xml output file.
More Information
==============
In the example above, the tracerpt application is called to convert the information from the ETL log into a XML format.  Another useful format is EVTX allowing the data to be viewed using Event Viewer.  The value of using the EVTX format is that you can apply filtering such as filtering on Event IDs or filter by only showing errors and warnings etc. 
To use EVTX format, the command would look like tracerpt SMAVerboseLog.etl -of EVTX -o SMAVerboseLog.evtx.  Run tracerpt /? for additional details on options that are available.
 Trace entries each have a level associated to them.  The levels are as follows:
Event Level
Description
1
Fatal events
2
Error events
3
Warning events
4
Informational events
5
Verbose events

2016年3月15日 星期二

Windows Svr 2012,VM failed to be started due to the corruption of the VHD

HP 3PAR StoreServ Storage - HP 3PAR OS 3.1.2 can Improperly Zero Blocks Beyond the Requested Range When Using Windows Server 2012 ODX Commands
http://h20564.www2.hpe.com/hpsc/doc/public/display?docId=emr_na-c04236215

Workaround
===========
Disable ODX on the Windows 2012 or Windows 2012 R2 hosts. To disable ODX, type the following:
Set-ItemProperty HKLM:\SYSTEM\CurrentControlSet\Control\FileSystem -Name "FilterSupportedFeaturesMode" -Value 1
A server reboot is required for all servers in which the registry value is modified.

2016年3月1日 星期二

Why is 2 TB only 1.8 TB ??

Drive that is advertised as a 2000 Gbyte actually contains 2.000.000.000.000 bytes

2.000.000.000.000 / 1024 = 1953125000 kb
1.953.125.000 / 1024 = 1907348,63 Mb
1907348,63 / 1024 = 1862,64 Gb
1862,64 / 1024 = 1,818984375 Tb

2.000.000.000.000/1024/1024/10­24/1024 = 1,81T

Thats why its only 1.81TB

More Information
=============

1 Gbyte = 1024 Mbyte,
1 Mbyte = 1024 Kbyte
1 Kbyte = 1024 byte

SCOM2012- SQL management pack does not function.

Cause
======
advapi32.dll version is 6.1.7601.22137

Resolution
==========
Applied the hotfix for fixing a deadlock in Advapi32.dll wich affect SCOM:
http://support2.microsoft.com/kb/2878378/en-us

2016年2月29日 星期一

Map Drive Group policy doesn't work

To work around this problem, configure the EnableLinkedConnections registry value. This value enables Windows Vista and Windows 7 to share network connections between the filtered access token and the full administrator access token for a member of the Administrators group. After you configure this registry value, LSA checks whether there is another access token that is associated with the current user session if a network resource is mapped to an access token. If LSA determines that there is a linked access token, it adds the network share to the linked location.

To configure the EnableLinkedConnections registry value

  1. Click Start, type regedit in the Start programs and files box, and then press ENTER.
  2. Locate and then right-click the registry subkey HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System.
  3. Point to New, and then click DWORD Value.
  4. Type EnableLinkedConnections, and then press ENTER.
  5. Right-click EnableLinkedConnections, and then click Modify.
  6. In the Value data box, type 1, and then click OK.
  7. Exit Registry Editor, and then restart the computer.

2016年2月18日 星期四

server hangs during user logon

Cause
========
deadlocked created by MSXML3.DLL

Resolution
==========

https://support.microsoft.com/zh-tw/kb/3092627

2016年2月15日 星期一