@ECHO OFF IF EXIST %windir%\KB2501696.reg GOTO END echo Windows Registry Editor Version 5.00 >%windir%\KB2501696.reg echo.>>%windir%\KB2501696.reg echo [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\MAIN\FeatureControl\FEATURE_PROTOCOL_LOCKDOWN]>>%windir%\KB2501696.reg echo "explorer.exe"=dword:00000001>>%windir%\KB2501696.reg echo "iexplore.exe"=dword:00000001>>%windir%\KB2501696.reg echo "*"=dword:00000001 >>%windir%\KB2501696.reg echo.>>%windir%\KB2501696.reg echo [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\RestrictedProtocols]>>%windir%\KB2501696.reg echo.>>%windir%\KB2501696.reg echo [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\RestrictedProtocols\1]>>%windir%\KB2501696.reg echo "mhtml"="mhtml">>%windir%\KB2501696.reg echo.>>%windir%\KB2501696.reg echo [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\RestrictedProtocols\2]>>%windir%\KB2501696.reg echo "mhtml"="mhtml">>%windir%\KB2501696.reg echo.>>%windir%\KB2501696.reg echo [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\RestrictedProtocols\3]>>%windir%\KB2501696.reg echo "mhtml"="mhtml">>%windir%\KB2501696.reg echo.>>%windir%\KB2501696.reg echo [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\RestrictedProtocols\4]>>%windir%\KB2501696.reg echo "mhtml"="mhtml">>%windir%\KB2501696.reg IF NOT EXIST "%systemdrive%\Program Files (x86)" GOTO SKIP64BIT echo.>>%windir%\KB2501696.reg echo [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Internet Explorer\MAIN\FeatureControl\FEATURE_PROTOCOL_LOCKDOWN]>>%windir%\KB2501696.reg echo "explorer.exe"=dword:00000001>>%windir%\KB2501696.reg echo "iexplore.exe"=dword:00000001>>%windir%\KB2501696.reg echo "*"=dword:00000001 >>%windir%\KB2501696.reg echo.>>%windir%\KB2501696.reg echo [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Internet Settings\RestrictedProtocols] >>%windir%\KB2501696.reg echo.>>%windir%\KB2501696.reg echo [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Internet Settings\RestrictedProtocols\1]>>%windir%\KB2501696.reg echo "mhtml"="mhtml" >>%windir%\KB2501696.reg echo.>>%windir%\KB2501696.reg echo [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Internet Settings\RestrictedProtocols\2]>>%windir%\KB2501696.reg echo "mhtml"="mhtml" >>%windir%\KB2501696.reg echo.>>%windir%\KB2501696.reg echo [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Internet Settings\RestrictedProtocols\3]>>%windir%\KB2501696.reg echo "mhtml"="mhtml" >>%windir%\KB2501696.reg echo echo.>>%windir%\KB2501696.reg echo [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Internet Settings\RestrictedProtocols\4]>>%windir%\KB2501696.reg echo "mhtml"="mhtml">>%windir%\KB2501696.reg :SKIP64BIT reg import %windir%\KB2501696.reg :END