Saturday, August 1, 2015

Sunday, July 5, 2015

Adding MKV Support to Windows Media Player and Streaming

Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\.mkv]
@="MatroskaVideo"
"Content Type"="video/x-matroska"
"PerceivedType"="video"
[HKEY_CLASSES_ROOT\.mka]
@="MatroskaVideo"
"Content Type"="audio/x-matroska"
"PerceivedType"="audio"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Multimedia\WMPlayer\MIME Types\video/x-matroska]
@="MatroskaVideo"
"UserApprovedOwning"="yes"
"Extensions.SpaceSep"=".mkv"
"Extensions.CommaSep"="mkv"
"Extension.Key"=".mkv"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Multimedia\WMPlayer\MIME Types\audio/x-matroska]
@="MatroskaVideo"
"UserApprovedOwning"="yes"
"Extensions.SpaceSep"=".mka"
"Extensions.CommaSep"="mka"
"Extension.Key"=".mka"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Multimedia\WMPlayer\Groups\Video\mkv]
@="MatroskaVideo"
"Description"="Includes files with .mkv extensions."
"Extensions"=".mkv"
"FriendlyTypeName"="Matroska Media File"
"MIME Types"="video/x-matroska"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Multimedia\WMPlayer\Groups\Audio\mka]
@="MatroskaVideo"
"Description"="Includes files with .mka extensions."
"Extensions"=".mka"
"FriendlyTypeName"="Matroska Media File"
"MIME Types"="audio/x-matroska"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Multimedia\WMPlayer\Extensions\.mkv]
"Permissions"=dword:0000000f
"UserApprovedOwning"="yes"
"Runtime"=dword:00000007
"PerceivedType"="video"
"MediaType.Description"="Matroska Media File"
"Extension.Handler"="MatroskaVideo"
"Extension.MIME"="video/x-matroska"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Multimedia\WMPlayer\Extensions\.mka]
"Permissions"=dword:0000000f
"UserApprovedOwning"="yes"
"Runtime"=dword:00000007
"PerceivedType"="audio"
"MediaType.Description"="Matroska Media File"
"Extension.Handler"="MatroskaVideo"
"Extension.MIME"="audio/x-matroska"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MediaPlayer\Player\Extensions\Descriptions]
"819"="Matroska Media File (*.mkv;*.mka)"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MediaPlayer\Player\Extensions\MUIDescriptions]
"819"="Matroska Media File"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MediaPlayer\Player\Extensions\Types]
"819"="*.mkv;*.mka"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MediaPlayer\MLS\Extensions]
"mkv"="video"
"mka"="audio"

Friday, June 19, 2015

Tuesday, June 16, 2015

Hide Administrator from Windows 7 Login Screen

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\SpecialAccounts\UserList]
"Administrator"=dword:00000000

Tuesday, November 18, 2014

Cancel a vMotion Task

Normally, VMware do not allow you to cancel an on-going vMotion task (I am not talking about Storage vMotion). On the web, there are some recommendations like restarting vmware-mgmt or restarting the vCenter service. I can say restarting vmware-mgmt (vpxa) never helps. Restarting vCenter service (vpxd) is too costly. A possible idea is creating an environment that force the vMotion task timeout by itself which is max. 15 minutes. The easiest way is to uncheck vMotion function checkbox on the destination hosts' network and such that vMotion traffic would be stucked on the network and failed by timeout. I think this cost is much lower then restarting the whole vCenter while your vCenter is managing thousands of hosts or a lot of backup software is depending on it. Backup software do not affected by vMotion network is down (yes, you should separate management network and vMotion network as a best practice.)