Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- (cd /d "%~dp0")&&(NET FILE||(powershell -noprofile start-process -FilePath '%0' -verb runas)&(NET FILE||exit /B)) >NUL 2>&1
- powershell.exe -NoProfile -ExecutionPolicy Bypass -Command "$UserLanguageList = New-WinUserLanguageList -Language 'en-US'; $UserLanguageList[0].InputMethodTips.Clear(); $UserLanguageList[0].InputMethodTips.Add('040B:0000040B'); Set-WinUserLanguageList -LanguageList $UserLanguageList -Force; Set-Culture -CultureInfo fi-FI; Set-WinCultureFromLanguageListOptOut -OptOut $True; Set-WinDefaultInputMethodOverride -InputTip '040B:0000040B'; Set-WinHomeLocation -GeoId 77; Set-WinSystemLocale -SystemLocale en-US; Set-WinUILanguageOverride -Language en-US"
- reg add "HKEY_CURRENT_USER\Control Panel\International" /v sTime /t REG_SZ /d ":" /f >NUL
- reg add "HKEY_CURRENT_USER\Control Panel\International" /v sTimeFormat /t REG_SZ /d "H:mm:ss" /f >NUL
- reg add "HKEY_CURRENT_USER\Control Panel\International" /v sShortTime /t REG_SZ /d "H:mm" /f >NUL
- CHOICE /C yn /N /M "You need to logoff and then logon again for the changes to take effect. Logoff now (Y/N)? "
- if %ERRORLEVEL% EQU 1 shutdown -l
- exit
Advertisement
Add Comment
Please, Sign In to add comment