We already discussed Lync language translation using registry ,Now we are going convert Registry file into batch file.This file useful for apply via Group Policy compare to registry apply
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Communicator\ContextPackages\{54C2C31A-A291-4DFA-825A-18994EBE9877}]
"Name"="Conversation
Translator"
"ExtensibilityApplicationType"=dword:00000000
"ExtensibilityWindowSize"=dword:00000001
"DefaultContextPackage"=dword:00000000
"InternalURL"="http://input.microsoft.com/translator/OCTranslatorTestPage.html"
"ExternalURL"="http://input.microsoft.com/translator/OCTranslatorTestPage.html"
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet
Settings\ZoneMap\Domains\microsoft.com\input]
"http"=dword:00000002
Registry changed
into batch file:
@ECHO OFF
If exist "%Temp%\~import.reg" (
Attrib -R
-S -H "%Temp%\~import.reg"
del /F /Q
"%Temp%\~import.reg"
If exist
"%Temp%\~import.reg" (
Echo Could
not delete file "%Temp%\~import.reg"
Pause
)
)
> "%Temp%\~import.reg" ECHO Windows
Registry Editor Version 5.00
>> "%Temp%\~import.reg" ECHO
>> "%Temp%\~import.reg" ECHO
[HKEY_CURRENT_USER\Software\Microsoft\Communicator\ContextPackages\{54C2C31A-A291-4DFA-825A-18994EBE9877}]
>> "%Temp%\~import.reg" ECHO
"Name"="Conversation Translator"
>> "%Temp%\~import.reg" ECHO
"ExtensibilityApplicationType"=dword:00000000
>> "%Temp%\~import.reg" ECHO
"ExtensibilityWindowSize"=dword:00000001
>> "%Temp%\~import.reg" ECHO
"DefaultContextPackage"=dword:00000000
>> "%Temp%\~import.reg" ECHO
"InternalURL"="http://input.microsoft.com/translator/OCTranslatorTestPage.html"
>> "%Temp%\~import.reg" ECHO
"ExternalURL"="http://input.microsoft.com/translator/OCTranslatorTestPage.html"
>> "%Temp%\~import.reg" ECHO
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet
Settings\ZoneMap\Domains\microsoft.com\input]
>> "%Temp%\~import.reg" ECHO
"http"=dword:00000002
START /WAIT REGEDIT /S "%Temp%\~import.reg"
DEL "%Temp%\~import.reg"
Now copy above file into notepad Saveas -> filename.bat.Then apply via Group policy using logon or startup policy