MSFN Forum: Changing system locale/location & font size through registry - MSFN Forum

Jump to content


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Changing system locale/location & font size through registry in Windows 2000 Rate Topic: -----

#1 User is offline   tomasz86 

  • http://www.windows2000.tk
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,220
  • Joined: 27-November 10
  • OS:Windows 2000 Professional
  • Country: Country Flag

Posted 01 November 2011 - 02:36 AM

I've always wanted to be able to change system locale settings without using Control Panel so I did some tests and compared how the registry changes when you use control panel to change system locale & localisation. I've also checked what exactly is done when you change Font Size in display properties.

These settings are for Polish locale & localisation so it'll be different for other language but it gives general information which registry settings are necessary.

There are quite a lot of them :whistle:

1. System locale:

Windows Registry Editor Version 5.00

;System locale

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\FontMapper]
"DEFAULT"=dword:000000ee

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts]
"Small Fonts (VGA res)"="SMALLEE.FON"
"Courier 10,12,15 (VGA res)"="COUREE.FON"
"MS Sans Serif 8,10,12,14,18,24 (VGA res)"="SSERIFEE.FON"
"MS Serif 8,10,12,14,18,24 (VGA res)"="SERIFEE.FON"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\GRE_Initialize]
"FIXEDFON.FON"="vgafixe.fon"
"FONTS.FON"="vgasyse.fon"
"OEMFONT.FON"="vga852.fon"

[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Nls\CodePage]
"ACP"="1250"
"OEMCP"="852"
"MACCP"="10029"

[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Nls\Language]
"Default"="0415"

[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Hardware Profiles\0001\Software\Fonts]
"FIXEDFON.FON"="vgafixe.fon"
"FONTS.FON"="vgasyse.fon"
"OEMFONT.FON"="vga852.fon"

[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Hardware Profiles\Current\Software\Fonts]
"FIXEDFON.FON"="vgafixe.fon"
"FONTS.FON"="vgasyse.fon"
"OEMFONT.FON"="vga852.fon"

[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Control\Nls\CodePage]
"ACP"="1250"
"OEMCP"="852"
"MACCP"="10029"

[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Control\Nls\Language]
"Default"="0415"

[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Hardware Profiles\0001\Software\Fonts]
"FIXEDFON.FON"="vgafixe.fon"
"FONTS.FON"="vgasyse.fon"
"OEMFONT.FON"="vga852.fon"

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Nls\CodePage]
"ACP"="1250"
"OEMCP"="852"
"MACCP"="10029"

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Nls\Language]
"Default"="0415"

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Hardware Profiles\0001\Software\Fonts]
"FIXEDFON.FON"="vgafixe.fon"
"FONTS.FON"="vgasyse.fon"
"OEMFONT.FON"="vga852.fon"

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Hardware Profiles\Current\Software\Fonts]
"FIXEDFON.FON"="vgafixe.fon"
"FONTS.FON"="vgasyse.fon"
"OEMFONT.FON"="vga852.fon"

;These settings may be different or unnecessary for other languages
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\FontSubstitutes]
"System,0"="System,238"
"Fixedsys,0"="Fixedsys,238"
"Small Fonts,0"="Small Fonts,238"
"MS Serif,0"="MS Serif,238"
"MS Sans Serif,0"="MS Sans Serif,238"
"Courier,0"="Courier New,238"
"Arial CE,0"="Arial,238"
"Courier New CE,0"="Courier New,238"
"Times New Roman CE,0"="Times New Roman,238"
"Helv,0"="MS Sans Serif,238"
"Tms Rmn,0"="MS Serif,238"

;These settings must be cleared when you change locale to Polish from some languages
[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\FileSystem]
"NtfsAllowExtendedCharacterIn8dot3Name"=-

[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\FontAssoc\Associated Charset]
"ANSI(00)"=-
"OEM(FF)"=-
"SYMBOL(02)"=-

[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\FontAssoc\Associated DefaultFonts]
"AssocSystemFont"=-
"FontPackage"=-
"FontPackageDontCare"=-
"FontPackageRoman"=-
"FontPackageSwiss"=-
"FontPackageModern"=-
"FontPackageScript"=-
"FontPackageDecorative"=-

[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Control\FileSystem]
"NtfsAllowExtendedCharacterIn8dot3Name"=-

[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Control\FontAssoc\Associated Charset]
"ANSI(00)"=-
"OEM(FF)"=-
"SYMBOL(02)"=-

[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Control\FontAssoc\Associated DefaultFonts]
"AssocSystemFont"=-
"FontPackage"=-
"FontPackageDontCare"=-
"FontPackageRoman"=-
"FontPackageSwiss"=-
"FontPackageModern"=-
"FontPackageScript"=-
"FontPackageDecorative"=-

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem]
"NtfsAllowExtendedCharacterIn8dot3Name"=-

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FontAssoc\Associated Charset]
"ANSI(00)"=-
"OEM(FF)"=-
"SYMBOL(02)"=-

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FontAssoc\Associated DefaultFonts]
"AssocSystemFont"=-
"FontPackage"=-
"FontPackageDontCare"=-
"FontPackageRoman"=-
"FontPackageSwiss"=-
"FontPackageModern"=-
"FontPackageScript"=-
"FontPackageDecorative"=-




2. Localisation

Windows Registry Editor Version 5.00

;Localisation

[HKEY_USERS\S-1-5-21-1390067357-790525478-839522115-500\Control Panel\International]
"iCountry"="48"
"iCurrDigits"="2"
"iCurrency"="3"
"iDate"="2"
"iDigits"="2"
"iLZero"="1"
"iMeasure"="0"
"iNegCurr"="8"
"iTime"="1"
"iTLZero"="1"
"Locale"="00000415"
"s1159"=""
"s2359"=""
"sCountry"="Poland"
"sCurrency"="zł"
"sDate"="-"
"sDecimal"=","
"sLanguage"="PLK"
"sList"=";"
"sLongDate"="d MMMM yyyy"
"sShortDate"="yyyy-MM-dd"
"sThousand"=" "
"sTime"=":"
"sTimeFormat"="HH:mm:ss"
"iTimePrefix"="0"
"sMonDecimalSep"=","
"sMonThousandSep"=" "
"iNegNumber"="1"
"sNativeDigits"="0123456789"
"NumShape"="1"
"iCalendarType"="1"
"iFirstDayOfWeek"="0"
"iFirstWeekOfYear"="2"
"sGrouping"="3;0"
"sMonGrouping"="3;0"
"sPositiveSign"=""
"sNegativeSign"="-"




3. Font Size (changed to 105% which is 101 dpi)

Windows Registry Editor Version 5.00

;Font Size

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\FontDPI]
"LogPixels"=dword:00000065

[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Hardware Profiles\0001\Software\Fonts]
"LogPixels"=dword:00000065

[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Hardware Profiles\Current\Software\Fonts]
"LogPixels"=dword:00000065

[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Hardware Profiles\0001\Software\Fonts]
"LogPixels"=dword:00000065

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Hardware Profiles\0001\Software\Fonts]
"LogPixels"=dword:00000065

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Hardware Profiles\Current\Software\Fonts]
"LogPixels"=dword:00000065

[HKEY_USERS\S-1-5-21-1390067357-790525478-839522115-500\Control Panel\Desktop\WindowMetrics]
"BorderWidth"="-15"
"CaptionFont"=hex:f4,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,bc,02,00,00,\
  00,00,00,ee,00,00,00,00,54,00,61,00,68,00,6f,00,6d,00,61,00,00,00,00,00,00,\
  00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
  00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00
"CaptionHeight"="-270"
"CaptionWidth"="-270"
"IconFont"=hex:f4,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,90,01,00,00,00,\
  00,00,ee,00,00,00,00,54,00,61,00,68,00,6f,00,6d,00,61,00,00,00,00,00,00,00,\
  00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
  00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00
"MenuFont"=hex:f4,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,90,01,00,00,00,\
  00,00,ee,00,00,00,00,54,00,61,00,68,00,6f,00,6d,00,61,00,00,00,00,00,00,00,\
  00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
  00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00
"MenuHeight"="-270"
"MenuWidth"="-270"
"MessageFont"=hex:f4,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,90,01,00,00,\
  00,00,00,ee,00,00,00,00,54,00,61,00,68,00,6f,00,6d,00,61,00,00,00,00,00,00,\
  00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
  00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00
"ScrollHeight"="-240"
"ScrollWidth"="-240"
"SmCaptionFont"=hex:f4,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,bc,02,00,\
  00,00,00,00,ee,00,00,00,00,54,00,61,00,68,00,6f,00,6d,00,61,00,00,00,00,00,\
  00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
  00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00
"SmCaptionHeight"="-240"
"SmCaptionWidth"="-180"
"StatusFont"=hex:f4,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,90,01,00,00,\
  00,00,00,ee,00,00,00,00,54,00,61,00,68,00,6f,00,6d,00,61,00,00,00,00,00,00,\
  00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
  00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00
"AppliedDPI"=dword:00000065



You need to restart Windows after applying these settings. It's for Windows 2000 so they may be different in case of XP/2003.

Please keep in mind that Font Size settings are also different for other languages!

This post has been edited by tomasz86: 01 November 2011 - 03:23 AM



#2 User is offline   tomasz86 

  • http://www.windows2000.tk
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,220
  • Joined: 27-November 10
  • OS:Windows 2000 Professional
  • Country: Country Flag

Posted 01 November 2011 - 03:25 AM

I've found a few mistakes and fixed them.

Here is the same thing for Korean language:

Spoiler


Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2013 msfn.org
Privacy Policy