@echo off
::Thai(Thailand) / Language for non-Unicode program
::reg add "HKLM\SYSTEM\CurrentControlSet\Control\Nls\CodePage" /v "ACP" /t REG_SZ /d 874 /f
::reg add "HKLM\SYSTEM\CurrentControlSet\Control\Nls\CodePage" /v "MACCP" /t REG_SZ /d 10021 /f
::reg add "HKLM\SYSTEM\CurrentControlSet\Control\Nls\CodePage" /v "OEMCP" /t REG_SZ /d 874 /f
::reg add "HKLM\SYSTEM\CurrentControlSet\Control\Nls\Language" /v "Default" /t REG_SZ /d 041e /f
::reg add "HKLM\SYSTEM\CurrentControlSet\Control\Nls\Locale" /v "(Default)" /t REG_SZ /d 0000041e /f
::TimeZone(UTC+07.00) Bangkok,Hanoi,Jakarta
::reg add "HKLM\SYSTEM\CurrentControlSet\Control\TimeZoneInformation" /v "Bias" /t REG_DWORD /d 0xfffffe5c /f
::reg add "HKLM\SYSTEM\CurrentControlSet\Control\TimeZoneInformation" /v "DaylightBias" /t REG_DWORD /d 0x0 /f
::reg add "HKLM\SYSTEM\CurrentControlSet\Control\TimeZoneInformation" /v "DaylightName" /t REG_SZ /d "@tzres.dll,-561" /f
::reg add "HKLM\SYSTEM\CurrentControlSet\Control\TimeZoneInformation" /v "DaylightStart" /t REG_BINARY /d 00000000000000000000000000000000 /f
::reg add "HKLM\SYSTEM\CurrentControlSet\Control\TimeZoneInformation" /v "StandardName" /t REG_SZ /d "@tzres.dll,-562" /f
::reg add "HKLM\SYSTEM\CurrentControlSet\Control\TimeZoneInformation" /v "StandardStart" /t REG_BINARY /d 00000000000000000000000000000000 /f
::reg add "HKLM\SYSTEM\CurrentControlSet\Control\TimeZoneInformation" /v "TimeZoneKeyName" /t REG_SZ /d "SE Asia Standard Time" /f
::Disable_firewall
reg add "HKLM\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\PublicProfile" /v "EnableFirewall" /t REG_DWORD /d 0 /f
reg add "HKLM\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile" /v "EnableFirewall" /t REG_DWORD /d 0 /f
::Disable_IP6
::netsh int ipv6 isatap set state disabled
::netsh int teredo set state disabled
::netsh interface ipv6 6to4 set state state=disabled undoonstop=disabled
::reg add "HKLM\System\CurrentControlSet\Services\Tcpip6\Parameters" /v "DisabledComponents" /t REG_DWORD /d "255" /f
::Disable-privacy-settings
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\OOBE" /v "DisablePrivacyExperience" /t REG_DWORD /d 1 /f
::Disable_suggested_apps
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SilentInstalledAppsEnabled" /t REG_DWORD /d 0 /f
::Minimize SearchIcon on task-bar
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Search" /v "SearchboxTaskbarMode" /t REG_DWORD /d 1 /f
::Remove WinStoreIcon on task-bar
reg add "HKCU\SOFTWARE\Policies\Microsoft\Windows\Explorer" /v "NoPinningStoreToTaskbar" /t REG_DWORD /d 1 /f
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Explorer" /v "NoPinningStoreToTaskbar" /t REG_DWORD /d 1 /f
::Remove MailIcon on task-bar
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Taskband\AuxilliaryPins" /v "MailPin" /t REG_DWORD /d 0 /f
::Location and Thai-Language
::reg add "HKCU\Control Panel\International" /v "sShortDate" /t REG_SZ /d "dd/MM/yyyy" /f
::reg add "HKCU\Control Panel\International\Geo" /v "Nation" /t REG_SZ /d 227 /f
::reg add "HKCU\Keyboard Layout\Preload" /v "2" /t REG_SZ /d 0000041e /f
::reg add "HKCU\Keyboard Layout\Toggle" /v "Hotkey" /t REG_SZ /d 4 /f
::reg add "HKCU\Keyboard Layout\Toggle" /v "Language Hotkey" /t REG_SZ /d 4 /f
::reg add "HKCU\Keyboard Layout\Toggle" /v "Layout Hotkey" /t REG_SZ /d 3 /f
::ForNew User
reg load "HKU\tmp" "C:\Users\Default\NTUSER.DAT"
reg add "HKU\tmp\Software\Microsoft\Windows\CurrentVersion\Search" /v "SearchboxTaskbarMode" /t REG_DWORD /d 1 /f
reg add "HKCU\tmp\Software\Microsoft\Windows\CurrentVersion\Explorer\Taskband\AuxilliaryPins" /v "MailPin" /t REG_DWORD /d 0 /f
reg add "HKU\tmp\Control Panel\International" /v "sShortDate" /t REG_SZ /d "dd/MM/yyyy" /f
::reg add "HKU\tmp\Control Panel\International\Geo" /v "Nation" /t REG_SZ /d 227 /f
::reg add "HKU\tmp\Keyboard Layout\Preload" /v "2" /t REG_SZ /d 0000041e /f
::reg add "HKU\tmp\Keyboard Layout\Toggle" /v "Hotkey" /t REG_SZ /d 4 /f
::reg add "HKU\tmp\Keyboard Layout\Toggle" /v "Language Hotkey" /t REG_SZ /d 4 /f
::reg add "HKU\tmp\Keyboard Layout\Toggle" /v "Layout Hotkey" /t REG_SZ /d 3 /f
reg unload "HKU\tmp"
echo.
echo.
echo "Please Enter for reboot you computer."
Pause >NUL
shutdown -r -f -t 00
exit
:: To kill and restart explorer
::taskkill /f /im explorer.exe
::start explorer.exe
ไม่มีความคิดเห็น:
แสดงความคิดเห็น