Share
View previous topicGo downView next topic
avatar
KrX

Removing .nls Files Discussion

on Thu 9 Oct 2014 - 16:17
Torrentus wrote:I already did the complete Keyboard Language Layouts list here:

[You must be registered and logged in to see this link.]

nice, have you also a list for the .nls files Razz ?
avatar
Torrentus

Re: Removing .nls Files Discussion

on Thu 9 Oct 2014 - 17:35
Only for US-English: 
C_437       - This is needed for US English Windows
C_1252      - This is needed for US English Windows
C_1256      - This is needed for US English Windows 
C_20127    - This is needed for Windows Activation
C_28591    - This is needed for US English Windows

because the only way would be to install Windows in every language and determinate all needed nls files: 
( For other languages you can determinate which .NLS files you need to keep if you go on your running Windows to Windows/prefetch
and open Layout.ini, now search for .nls and you will see all the nls files you need for your own language. )


The list from here:
[You must be registered and logged in to see this link.]

doesn't help much because as you can see the listed US-English nls files above are also connected with others. 
We still need other nls files which you can't find out from the MS-Codepage list...
avatar
KrX

Re: Removing .nls Files Discussion

on Thu 9 Oct 2014 - 17:50
hmm ok. maybe when we would open a new thread and make a small tutorial like your post above other people could post their language and the nls files they need.

for german it is :

C_1252.NLS
C_850.NLS
avatar
Torrentus

Re: Removing .nls Files Discussion

on Thu 9 Oct 2014 - 18:06
Yes that would be good, go ahead Smile , btw you only have two numbered .nls files in your Windows\prefetch\Layout.ini  ?
I have the listed 4 .nls files...
avatar
KrX

Re: Removing .nls Files Discussion

on Thu 9 Oct 2014 - 18:12
i normally delete the rest of them from syswow64 abd system32

but the layout.ini lists this .nls files

(i keep the first 5 and delete the rest with a batch)

Code:
C:\Windows\Prefetch\Layout.ini (53 hits)
 Line 11: C:\WINDOWS\SYSTEM32\C_1252.NLS
 Line 12: C:\WINDOWS\SYSTEM32\C_850.NLS
 Line 13: C:\WINDOWS\SYSTEM32\L_INTL.NLS
 Line 1767: C:\WINDOWS\SYSTEM32\LOCALE.NLS
 Line 1992: C:\WINDOWS\GLOBALIZATION\SORTING\SORTDEFAULT.NLS
 Line 2120: C:\WINDOWS\SYSTEM32\C_28591.NLS
 Line 3912: C:\WINDOWS\SYSTEM32\C_20127.NLS
 Line 4006: C:\WINDOWS\SYSTEM32\C_20932.NLS
 Line 4007: C:\WINDOWS\SYSTEM32\C_20269.NLS
 Line 4009: C:\WINDOWS\SYSTEM32\C_10079.NLS
 Line 4153: C:\WINDOWS\SYSTEM32\C_861.NLS
 Line 4154: C:\WINDOWS\SYSTEM32\C_1047.NLS
 Line 4155: C:\WINDOWS\SYSTEM32\C_037.NLS
 Line 4156: C:\WINDOWS\SYSTEM32\C_1146.NLS
 Line 4157: C:\WINDOWS\SYSTEM32\C_20285.NLS
 Line 4158: C:\WINDOWS\SYSTEM32\C_1026.NLS
 Line 4159: C:\WINDOWS\SYSTEM32\C_20905.NLS
 Line 4160: C:\WINDOWS\SYSTEM32\C_1254.NLS
 Line 4161: C:\WINDOWS\SYSTEM32\C_500.NLS
 Line 4162: C:\WINDOWS\SYSTEM32\C_1149.NLS
 Line 4163: C:\WINDOWS\SYSTEM32\C_20871.NLS
 Line 4164: C:\WINDOWS\SYSTEM32\C_20424.NLS
 Line 4165: C:\WINDOWS\SYSTEM32\C_875.NLS
 Line 4166: C:\WINDOWS\SYSTEM32\C_20423.NLS
 Line 4167: C:\WINDOWS\SYSTEM32\C_20273.NLS
 Line 4169: C:\WINDOWS\SYSTEM32\C_1147.NLS
 Line 4170: C:\WINDOWS\SYSTEM32\C_20297.NLS
 Line 4171: C:\WINDOWS\SYSTEM32\C_1143.NLS
 Line 4172: C:\WINDOWS\SYSTEM32\C_20278.NLS
 Line 4173: C:\WINDOWS\SYSTEM32\C_1142.NLS
 Line 4174: C:\WINDOWS\SYSTEM32\C_21025.NLS
 Line 4175: C:\WINDOWS\SYSTEM32\C_20880.NLS
 Line 4176: C:\WINDOWS\SYSTEM32\C_10005.NLS
 Line 4177: C:\WINDOWS\SYSTEM32\C_28598.NLS
 Line 4178: C:\WINDOWS\SYSTEM32\C_737.NLS
 Line 4179: C:\WINDOWS\SYSTEM32\C_20106.NLS
 Line 4180: C:\WINDOWS\SYSTEM32\C_28603.NLS
 Line 4181: C:\WINDOWS\SYSTEM32\C_10007.NLS
 Line 4182: C:\WINDOWS\SYSTEM32\C_21866.NLS
 Line 4184: C:\WINDOWS\SYSTEM32\C_20866.NLS
 Line 4185: C:\WINDOWS\SYSTEM32\C_28595.NLS
 Line 4194: C:\WINDOWS\SYSTEM32\C_866.NLS
 Line 4195: C:\WINDOWS\SYSTEM32\C_1251.NLS
 Line 4196: C:\WINDOWS\SYSTEM32\C_10082.NLS
 Line 4197: C:\WINDOWS\SYSTEM32\C_10002.NLS
 Line 4263: C:\WINDOWS\SYSWOW64\L_INTL.NLS
 Line 4761: C:\WINDOWS\SYSTEM32\C_932.NLS
 Line 4775: C:\WINDOWS\SYSTEM32\C_936.NLS
 Line 4784: C:\WINDOWS\SYSTEM32\C_950.NLS
 Line 4796: C:\WINDOWS\SYSTEM32\C_949.NLS
 Line 4832: C:\WINDOWS\SYSTEM32\C_28596.NLS
 Line 6121: C:\WINDOWS\SYSTEM32\C_1256.NLS
 Line 6122: C:\WINDOWS\SYSTEM32\C_1250.NLS


edit: but im posting this from an untouched OS
avatar
Torrentus

Re: Removing .nls Files Discussion

on Thu 9 Oct 2014 - 18:16
Then I don't understand why your Windows pre-caches that many .nls files, because like I said I only have 4 numbered .nls files...
avatar
KrX

Re: Removing .nls Files Discussion

on Thu 9 Oct 2014 - 18:19
so this nls files are shown on my winreduced OS:

Code:
Line 10: C:\WINDOWS\SYSTEM32\C_1252.NLS
   Line 11: C:\WINDOWS\SYSTEM32\C_850.NLS
   Line 12: C:\WINDOWS\SYSTEM32\L_INTL.NLS
   Line 488: C:\WINDOWS\SYSTEM32\LOCALE.NLS
   Line 524: C:\WINDOWS\GLOBALIZATION\SORTING\SORTDEFAULT.NLS

maybe the layout.ini just shows ALL nls files that are present ?
avatar
Torrentus

Re: Removing .nls Files Discussion

on Thu 9 Oct 2014 - 18:20
OK, this means we should ask users from different countries to post their .nls files in their layout.ini from extreme slimmed Windows!
avatar
KrX

Re: Removing .nls Files Discussion

on Thu 9 Oct 2014 - 18:22
sure but when they use winreducer they have got all nls files or not?

i only got the shown in the last post because i remove the other once with an batch file
avatar
Torrentus

Re: Removing .nls Files Discussion

on Thu 9 Oct 2014 - 18:25
KrX wrote:so this nls files are shown on my winreduced OS:

Code:
Line 10: C:\WINDOWS\SYSTEM32\C_1252.NLS
   Line 11: C:\WINDOWS\SYSTEM32\C_850.NLS
   Line 12: C:\WINDOWS\SYSTEM32\L_INTL.NLS
   Line 488: C:\WINDOWS\SYSTEM32\LOCALE.NLS
   Line 524: C:\WINDOWS\GLOBALIZATION\SORTING\SORTDEFAULT.NLS

maybe the layout.ini just shows ALL nls files that are present ?

I think it is showing what .nls files are used by Windows at the moment you are using it. 
So this means when you reduced your Windows, when you removed apps, programs, components etc.
the other .nls files aren't needed anymore and were also removed...
avatar
Torrentus

Re: Removing .nls Files Discussion

on Thu 9 Oct 2014 - 18:26
KrX wrote:sure but when they use winreducer they have got all nls files or not?

i only got the shown in the last post because i remove the other once with an batch file

I can't remember anymore, I think I removed them manually too, we should ask Winterstorm...
avatar
Torrentus

Re: Removing .nls Files Discussion

on Thu 9 Oct 2014 - 18:29
Nonono, I removed them manually all afterwards when I determined all necessary .nls files from the Layout.ini!
avatar
KrX

Re: Removing .nls Files Discussion

on Thu 9 Oct 2014 - 18:30
Torrentus wrote:
KrX wrote:so this nls files are shown on my winreduced OS:

Code:
Line 10: C:\WINDOWS\SYSTEM32\C_1252.NLS
 Line 11: C:\WINDOWS\SYSTEM32\C_850.NLS
 Line 12: C:\WINDOWS\SYSTEM32\L_INTL.NLS
 Line 488: C:\WINDOWS\SYSTEM32\LOCALE.NLS
 Line 524: C:\WINDOWS\GLOBALIZATION\SORTING\SORTDEFAULT.NLS

maybe the layout.ini just shows ALL nls files that are present ?

I think it is showing what .nls files are used by Windows at the moment you are using it. 
So this means when you reduced your Windows, when you removed apps, programs, components etc.
the other .nls files aren't needed anymore and were also removed...


from that post you see the nls files of my winreduced OS where i deleted all other nls files with an batch. so actually only those above are shown.

i will try to reduce windows 7 and not using my batch, if the layout.ini shows again ALL nls files it means thet the layout ini only shows ALL nls files that are actually at system32, if it shows less nls files (like 4) it shows only the current used/needed nls file.

am i wrong or right with that conclusion?
avatar
Torrentus

Re: Removing .nls Files Discussion

on Thu 9 Oct 2014 - 18:32
Yes that's how you do it  Cool
avatar
Torrentus

Re: Removing .nls Files Discussion

on Thu 9 Oct 2014 - 18:36
But reduce it as small as possible, Micro edition Wink
avatar
KrX

Re: Removing .nls Files Discussion

on Thu 9 Oct 2014 - 18:41
Torrentus wrote:But reduce it as small as possible, Micro edition Wink
sure i will, i remove each time nearly everythig winreducer offers. and my batch files remove ~150 mb more

so i will use winreducer and after that my batch files but i will keep all nls files to test that

EDIT: iso is smaller than 500 mb
avatar
Torrentus

Re: Removing .nls Files Discussion

on Thu 9 Oct 2014 - 18:45
Sounds good and if that's the case I need to update the Prefetch/Layout.ini trick in my list, that it is only possible with a reduced Windows...
avatar
winterstorm2050
Admin
https://www.winreducer.net/

Re: Removing .nls Files Discussion

on Thu 9 Oct 2014 - 20:23
Hey guys,

Sorry to interrupt your very interesting discussion ... grrrr, nls files. I've searched and I cannot find any list in internet !

3rd list, from this KrX post, added in RC8 :
[You must be registered and logged in to see this link.]

Torrentus, I will also update soon WinReducer 8.1 and 10 using your research ! Very Happy
avatar
brittech

Re: Removing .nls Files Discussion

on Thu 9 Oct 2014 - 21:55
Came across this - Code Page Identifiers...

Code:
http://msdn.microsoft.com/en-us/library/windows/desktop/dd317756%28v=vs.85%29.aspx

So,
C_037.nls    is   IBM EBCDIC US-Canada
C_437.nls    is   OEM United States
...
C_708.nls    is   Arabic (ASMO 708)

and so on.
avatar
brittech

Re: Removing .nls Files Discussion

on Thu 9 Oct 2014 - 22:03
Also,

Let's say you wanted to remove codepage 708 related files...

You would remove...
Code:
C:\Windows\C_708.NLS
  and
C:\Windows\WinSxS\amd64_microsoft-windows-i..tional-codepage-708_31bf3856ad364e35_6.3.9600.16384_none_bfabb5046f25d94b
C:\Windows\WinSxS\x86_microsoft-windows-i..tional-codepage-708_31bf3856ad364e35_6.3.9600.16384_none_638d1980b6c86815
C:\Windows\WinSxS\Manifests\amd64_microsoft-windows-i..tional-codepage-708_31bf3856ad364e35_6.3.9600.16384_none_bfabb5046f25d94b.manifest
C:\Windows\WinSxS\Manifests\x86_microsoft-windows-i..tional-codepage-708_31bf3856ad364e35_6.3.9600.16384_none_638d1980b6c86815.manifest

You can find the related files with this command (from the Windows\WinSXS folder)
Code:
dir /a/s/b  *codepage-708*

Does that help?
avatar
KrX

Re: Removing .nls Files Discussion

on Thu 9 Oct 2014 - 22:07
ok but how can you be sure for sume languages?
ie for me "german"

i need 850 and 1252

850ibm850OEM Multilingual Latin 1; Western European (DOS)
1252windows-1252ANSI Latin 1; Western European (Windows)
avatar
Torrentus

Re: Removing .nls Files Discussion

on Thu 9 Oct 2014 - 22:12
Yes, it is exactly how KrX wrote, but I already wrote that some posts ago...

The lists here posted doesn't help us at all...
avatar
Torrentus

Re: Removing .nls Files Discussion

on Thu 9 Oct 2014 - 22:16
Krx, what's your progress?
avatar
KrX

Re: Removing .nls Files Discussion

on Thu 9 Oct 2014 - 22:25
im still at it (needed to reinstall my os on my notebook first)

i will report as soon as im finished
avatar
brittech

Re: Removing .nls Files Discussion

on Thu 9 Oct 2014 - 22:33
I guess then, for me (UK), and for KrX (German), we both are 'Western European'

Looking at that list gives me...
850.nls
1252.nls
10000.nls   (related to MAC)
20105.nls
28591.nls

Plus any other files for your specific language...
So, you can conclude that country codes that fall into the Western European may want to keep these additional files???
avatar
Torrentus

Re: Removing .nls Files Discussion

on Thu 9 Oct 2014 - 23:03
This could very well be true for "Western European" but which countries fall into this region? 
Which countries for "Eastern European" , for Asian, North/South-America etc, also some .nls files are connected with other languages...

We just don't have enough information. When I created my Win7 Micro edition, I tested it for US-English via the Prefetch/Layout.ini trick,
this hopefully (KrX needs to confirm) works. But if you don't have one essential .nls file in the system, you won't be able install to Windows...

So we can't speculate, we need practical testing for each language Wink
avatar
brittech

Re: Removing .nls Files Discussion

on Fri 10 Oct 2014 - 0:06
Understood, but I can't help thinking that this is a lot of work for 'little' benefit.  How much space are you saving by doing this?  How many files are you removing?  It may work now but are you sure these files won't be needed later on?  This is the constant struggle I find when 'slimming' Windows - it doesn't work for everyone.
I admire your perseverance, but surely there are bigger fish to fry?
avatar
Torrentus

Re: Removing .nls Files Discussion

on Fri 10 Oct 2014 - 0:11
To make the smallest possible Micro edition there is, every kilobyte counts. KrX, Billybully & Winterstorm knows what I am talking about Wink

This is like a challenge and a competition  Cool

P.S Of course we are not doing this for us, we already have our information what needs to be removed for our language, but for other users...
avatar
KrX

Re: Removing .nls Files Discussion

on Fri 10 Oct 2014 - 0:17
hmm i reduced now my iso only with winreducer. but i dont have any layout.ini... i tried this command:

Rundll32.exe advapi32.dll,ProcessIdleTasks


but it is not created (i tried it also on my notebook and it works there) i dont know why it does not work on the VM...
avatar
Torrentus

Re: Removing .nls Files Discussion

on Fri 10 Oct 2014 - 0:34
Of course you didn't remove Prefetch right? Otherwise it can't work Wink
View previous topicBack to topView next topic
Permissions in this forum:
You cannot reply to topics in this forum