文章编号: 944563 - 最后修改: 2007年12月20日 - 修订: 1.0 如何在 Windows Live 照片库中禁用和还原 QuickTime 支持本页概要Windows Live 照片库使用 Apple QuickTime SDK 来预览和播放所有 QuickTime 内容。 我们发现,在某些极少数情况下,预览和播放此内容是不可靠的。 在这些情况下,遇到此类问题的用户如果不愿意等待 Apple QuickTime 的更新版本,则可能需要禁用此功能。 简介本文描述如何在 Windows Live 照片库中禁用和还原对 QuickTime 内容的支持。 更多信息禁用对 QuickTime 的支持下列批处理文件将自动执行禁用对 QuickTime 的支持所需的所有步骤。要创建和运行将禁用对 QuickTime 的支持的批处理文件,请按照下列步骤操作:
用于禁用 QT 支持的批处理文件
;----
;-DisableWLPGQT.cmd
;----
@echo off
setlocal
echo Running this batch file will disable QuickTime support in Windows Live
echo Photo Gallery. If this is not what you want to do, press Ctrl+C now, or
pause
echo.
echo.
set GalleryRegPath=HKLM\Software\Microsoft\Windows Live\Photo Gallery
if /i "%PROCESSOR_ARCHITECTURE%" EQU "amd64" (
set GalleryRegPath=HKLM\Software\Wow6432Node\Microsoft\Windows Live\Photo Gallery
)
echo Step 1: Disabling Quicktime control use in the Windows Live Photo Gallery
reg.exe add "%GalleryRegPath% " /v "DisableQuickTime" /t REG_DWORD /d 1 /f
echo.
echo.
echo Step 2: Removing Quicktime types from the list of known file types
reg.exe add "%GalleryRegPath%\SuppressFileTypes" /v ".mov" /t REG_NONE /f
reg.exe add "%GalleryRegPath%\SuppressFileTypes" /v ".qt" /t REG_NONE /f
reg.exe add "%GalleryRegPath%\SuppressFileTypes" /v ".mp4" /t REG_NONE /f
reg.exe add "%GalleryRegPath%\SuppressFileTypes" /v ".mqv" /t REG_NONE /f
reg.exe add "%GalleryRegPath%\SuppressFileTypes" /v ".mqt" /t REG_NONE /f
reg.exe add "%GalleryRegPath%\SuppressFileTypes" /v ".3gp" /t REG_NONE /f
reg.exe add "%GalleryRegPath%\SuppressFileTypes" /v ".3gpp" /t REG_NONE /f
reg.exe add "%GalleryRegPath%\SuppressFileTypes" /v ".3gp2" /t REG_NONE /f
reg.exe add "%GalleryRegPath%\SuppressFileTypes" /v ".3g2" /t REG_NONE /f
reg.exe add "%GalleryRegPath%\SuppressFileTypes" /v ".3gpp2" /t REG_NONE /f
echo.
echo.
echo Step 3: Deleting IExtractImage handlers (you can ignore errors if you've run this before)
reg.exe delete HKCR\.mov\shellex\{BB2E617C-0920-11d1-9A0B-00C04FC2D6C1} /ve /f
reg.exe delete HKCR\.qt\shellex\{BB2E617C-0920-11d1-9A0B-00C04FC2D6C1} /ve /f
reg.exe delete HKCR\.mp4\shellex\{BB2E617C-0920-11d1-9A0B-00C04FC2D6C1} /ve /f
reg.exe delete HKCR\.mqv\shellex\{BB2E617C-0920-11d1-9A0B-00C04FC2D6C1} /ve /f
reg.exe delete HKCR\.mqt\shellex\{BB2E617C-0920-11d1-9A0B-00C04FC2D6C1} /ve /f
reg.exe delete HKCR\.3gp\shellex\{BB2E617C-0920-11d1-9A0B-00C04FC2D6C1} /ve /f
reg.exe delete HKCR\.3gpp\shellex\{BB2E617C-0920-11d1-9A0B-00C04FC2D6C1} /ve /f
reg.exe delete HKCR\.3gp2\shellex\{BB2E617C-0920-11d1-9A0B-00C04FC2D6C1} /ve /f
reg.exe delete HKCR\.3g2\shellex\{BB2E617C-0920-11d1-9A0B-00C04FC2D6C1} /ve /f
reg.exe delete HKCR\.3gpp2\shellex\{BB2E617C-0920-11d1-9A0B-00C04FC2D6C1} /ve /f
echo.
echo.
endlocal
;----
还原对 QuickTime 的支持在任何时候,如果要在 Windows Live 照片库中还原对 QuickTime 内容的支持,请按照以下步骤操作:
用于还原 QT 支持的批处理文件
;----
;- RestoreWLPGQT.cmd
;----
@echo off
setlocal
echo Running this command will remove suppressed file types from the registry
echo so they will be included in the Windows Live Photo Gallery. If this is
echo not what you want to do, press Ctrl+C now, or
pause
echo.
echo.
set GalleryRegPath=HKLM\Software\Microsoft\Windows Live\Photo Gallery
if /i "%PROCESSOR_ARCHITECTURE%" EQU "amd64" (
set GalleryRegPath=HKLM\Software\Wow6432Node\Microsoft\Windows Live\Photo Gallery
)
echo.
echo Step 1: Disabling Quicktime control use in the Windows Live Photo Gallery
reg.exe delete "%GalleryRegPath% " /v "DisableQuickTime" /f
echo.
echo.
echo Step 2: Remove Windows Live Photo Gallery suppressed file types
reg.exe delete "%GalleryRegPath%\SuppressFileTypes" /v ".mov" /f
reg.exe delete "%GalleryRegPath%\SuppressFileTypes" /v ".qt" /f
reg.exe delete "%GalleryRegPath%\SuppressFileTypes" /v ".mp4" /f
reg.exe delete "%GalleryRegPath%\SuppressFileTypes" /v ".mqv" /f
reg.exe delete "%GalleryRegPath%\SuppressFileTypes" /v ".mqt" /f
reg.exe delete "%GalleryRegPath%\SuppressFileTypes" /v ".3gp" /f
reg.exe delete "%GalleryRegPath%\SuppressFileTypes" /v ".3gpp" /f
reg.exe delete "%GalleryRegPath%\SuppressFileTypes" /v ".3gp2" /f
reg.exe delete "%GalleryRegPath%\SuppressFileTypes" /v ".3g2" /f
reg.exe delete "%GalleryRegPath%\SuppressFileTypes" /v ".3gpp2" /f
echo.
echo.
echo Step 3: Adding IExtractImage handlers
reg.exe add HKCR\.mov\shellex\{BB2E617C-0920-11d1-9A0B-00C04FC2D6C1} /ve /f
reg.exe add HKCR\.qt\shellex\{BB2E617C-0920-11d1-9A0B-00C04FC2D6C1} /ve /f
reg.exe add HKCR\.mp4\shellex\{BB2E617C-0920-11d1-9A0B-00C04FC2D6C1} /ve /f
reg.exe add HKCR\.mqv\shellex\{BB2E617C-0920-11d1-9A0B-00C04FC2D6C1} /ve /f
reg.exe add HKCR\.mqt\shellex\{BB2E617C-0920-11d1-9A0B-00C04FC2D6C1} /ve /f
reg.exe add HKCR\.3gp\shellex\{BB2E617C-0920-11d1-9A0B-00C04FC2D6C1} /ve /f
reg.exe add HKCR\.3gpp\shellex\{BB2E617C-0920-11d1-9A0B-00C04FC2D6C1} /ve /f
reg.exe add HKCR\.3gp2\shellex\{BB2E617C-0920-11d1-9A0B-00C04FC2D6C1} /ve /f
reg.exe add HKCR\.3g2\shellex\{BB2E617C-0920-11d1-9A0B-00C04FC2D6C1} /ve /f
reg.exe add HKCR\.3gpp2\shellex\{BB2E617C-0920-11d1-9A0B-00C04FC2D6C1} /ve /f
echo.
echo.
endlocal
;----
Microsoft和/或其各供应商对于为任何目的而在本服务器上发布的文件及有关图形所含信息的适用性,不作任何声明。 所有该等文件及有关图形均"依样"提供,而不带任何性质的保证。Microsoft和/或其各供应商特此声明,对所有与该等信息有关的保证和条件不负任何责任,该等保证和条件包括关于适销性、符合特定用途、所有权和非侵权的所有默示保证和条件。在任何情况下,在由于使用或运行本服务器上的信息所引起的或与该等使用或运行有关的诉讼中,Microsoft和/或其各供应商就因丧失使用、数据或利润所导致的任何特别的、间接的、衍生性的损害或任何因使用而丧失所导致的之损害、数据或利润不负任何责任。 | 文章翻译
|
回到顶端
