The WinReducer Forum
Would you like to react to this message? Create an account in a few clicks or log in to continue.

The WinReducer ForumLog in

FORUM

Removing .nls Files Discussion

+2
Torrentus
KrX
6 posters

descriptionRemoving .nls Files Discussion - Page 2 EmptyRe: Removing .nls Files Discussion

more_horiz
no like i said i just used winreducer (not my batch files)

but i got it:


Code:


[size=13]To ensure Prefetch folder works properly, please check the following registry.[/size]


[size=13] [/size]


[size=13][HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\PrefetchParameters][/size]


[size=13] [/size]


[size=13]EnablePrefetcher"=dword:00000003[/size]


[size=13] [/size]


[size=13]Also make sure the task scheduler service is running.[/size]


[size=13] [/size]


[size=13]1. Click Start, type Services.msc in Start Search bar, and then press Enter.
[/size]


[size=13]2. In the right pane, double-click
[b]task scheduler[/b]. [/size]


[size=13]3. In the Startup type list, click Automatic, click Apply, click Start, and then click OK.
[/size]


[size=13] [/size]


[size=13]After
 that, click Start -> type CMD in the search box -> right click
CMD in the list and choose Run as administrator. Then type the following
 command.[/size]


[size=13] [/size]


[b][size=13]rundll32.exe advapi32.dll,ProcessIdleTasks[/size][/b]


[size=13] [/size]


[size=13]After booting 3 times, the Prefetch folder will be rebuilt.[/size]

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

and that are the nls files listed in the layout.ini:

Code:

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 400: C:\WINDOWS\SYSTEM32\LOCALE.NLS
 Line 451: C:\WINDOWS\GLOBALIZATION\SORTING\SORTDEFAULT.NLS
 Line 499: C:\WINDOWS\SYSTEM32\C_28591.NLS
 Line 1548: C:\WINDOWS\SYSTEM32\C_28592.NLS
 Line 1551: C:\WINDOWS\SYSTEM32\C_932.NLS
 Line 1556: C:\WINDOWS\SYSTEM32\C_1250.NLS
 Line 1564: C:\WINDOWS\SYSTEM32\C_10004.NLS
 Line 1595: C:\WINDOWS\SYSTEM32\C_1251.NLS
 Line 1598: C:\WINDOWS\SYSTEM32\C_1257.NLS
 Line 1628: C:\WINDOWS\SYSTEM32\C_1258.NLS
 Line 1632: C:\WINDOWS\SYSTEM32\C_936.NLS
 Line 1634: C:\WINDOWS\SYSTEM32\C_10000.NLS
 Line 1646: C:\WINDOWS\SYSWOW64\L_INTL.NLS
 Line 1692: C:\WINDOWS\SYSTEM32\C_1254.NLS
 Line 1693: C:\WINDOWS\SYSTEM32\C_950.NLS
 Line 1702: C:\WINDOWS\SYSTEM32\C_775.NLS
 Line 1705: C:\WINDOWS\SYSTEM32\C_1256.NLS
 Line 1709: C:\WINDOWS\SYSTEM32\C_1253.NLS
 Line 1710: C:\WINDOWS\SYSTEM32\C_949.NLS
 Line 1711: C:\WINDOWS\SYSTEM32\C_28596.NLS
 Line 1720: C:\WINDOWS\SYSTEM32\C_1255.NLS
 Line 1723: C:\WINDOWS\SYSTEM32\C_20127.NLS


on a untouched OS i got 53 nls files and after using winreducer they are only 25 nls files


i will have a look how much are listed when i used my batch files (but without removing nls files)
but i will do that tomorrow


EDIT: ok i tested it now.

this are the files that are again in the layout.ini:

Code:

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 2105: C:\WINDOWS\SYSTEM32\LOCALE.NLS
   Line 2156: C:\WINDOWS\GLOBALIZATION\SORTING\SORTDEFAULT.NLS
   Line 2205: C:\WINDOWS\SYSTEM32\C_28591.NLS
   Line 3689: C:\WINDOWS\SYSTEM32\C_28592.NLS
   Line 3692: C:\WINDOWS\SYSTEM32\C_932.NLS
   Line 3696: C:\WINDOWS\SYSTEM32\C_1250.NLS
   Line 3703: C:\WINDOWS\SYSTEM32\C_10004.NLS
   Line 3725: C:\WINDOWS\SYSTEM32\C_1251.NLS
   Line 3728: C:\WINDOWS\SYSTEM32\C_1257.NLS
   Line 3750: C:\WINDOWS\SYSTEM32\C_1258.NLS
   Line 3752: C:\WINDOWS\SYSTEM32\C_936.NLS
   Line 3755: C:\WINDOWS\SYSTEM32\C_10000.NLS
   Line 3763: C:\WINDOWS\SYSWOW64\L_INTL.NLS
   Line 3801: C:\WINDOWS\SYSTEM32\C_1254.NLS
   Line 3802: C:\WINDOWS\SYSTEM32\C_950.NLS
   Line 3808: C:\WINDOWS\SYSTEM32\C_775.NLS
   Line 3810: C:\WINDOWS\SYSTEM32\C_1256.NLS
   Line 3814: C:\WINDOWS\SYSTEM32\C_1253.NLS
   Line 3815: C:\WINDOWS\SYSTEM32\C_949.NLS
   Line 3816: C:\WINDOWS\SYSTEM32\C_28596.NLS
   Line 3825: C:\WINDOWS\SYSTEM32\C_1255.NLS
   Line 3828: C:\WINDOWS\SYSTEM32\C_20127.NLS

descriptionRemoving .nls Files Discussion - Page 2 EmptyRe: Removing .nls Files Discussion

more_horiz
Try to delete the Layout.ini, then create a blank new one. Save it. Now restart your Windows in Safe Mode. 
Maybe Windows will recreate a new content in the Layout.ini and will list only the necessary/minimum .nls files.
Because many features and services in Safe Mode are disabled...

descriptionRemoving .nls Files Discussion - Page 2 EmptyRe: Removing .nls Files Discussion

more_horiz
Hey guys,

Torrentus wrote:
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...

I'm totally agree with you, and your work needs to be included in WinReducer, so this is why I will integrate a new functionality to create a MICRO Windows ... bounce

This will be simple : a user will use your files or create his own file, with the removing list, and WinReducer will launched it at the end of its cleaning process !

If you are interested, I will be more than happy to create a specific and dedicated Forum to this Micro Windows system for both Windows 7, 8, 8.1 and 10 ... bounce

And you will be in charge of it : Mods + Torrentus !

Tell me what you think about that, but I think this will be a funny party for all interested people my friends !

descriptionRemoving .nls Files Discussion - Page 2 EmptyRe: Removing .nls Files Discussion

more_horiz
Soungs good Winterstorm but I am still working on my remove list. Maybe I am finished with the list in 2 weeks and then I need to test it myself, fix errors and bugs etc. So now I am concentrating on Windows 10 only...

descriptionRemoving .nls Files Discussion - Page 2 EmptyRe: Removing .nls Files Discussion

more_horiz
No problem Torrentus ...

To be clearer on what I have in my mind : it is to split this really interesting discussion to another forum because it's too technical for "beginners" or "normal" users !

Like this we could regroup all experimental discussions in a dedicated and specific forum to avoid troubles for other users ... Wink

And we could also share our different skills and experiences about this subject, and there will be many surprises to come because it gives me many ideas about this forum ... Wink

descriptionRemoving .nls Files Discussion - Page 2 EmptyRe: Removing .nls Files Discussion

more_horiz
Ok, yes I agree!

descriptionRemoving .nls Files Discussion - Page 2 EmptyRe: Removing .nls Files Discussion

more_horiz
winterstorm2050 wrote:
Hey guys,

Torrentus wrote:
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...

I'm totally agree with you, and your work needs to be included in WinReducer, so this is why I will integrate a new functionality to create a MICRO Windows ... bounce

This will be simple : a user will use your files or create his own file, with the removing list, and WinReducer will launched it at the end of its cleaning process !

If you are interested, I will be more than happy to create a specific and dedicated Forum to this Micro Windows system for both Windows 7, 8, 8.1 and 10 ... bounce

And you will be in charge of it : Mods + Torrentus !

Tell me what you think about that, but I think this will be a funny party for all interested people my friends !



i have splitted the thread from this one:

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

as soon as a new forum is opened i will move this thread

descriptionRemoving .nls Files Discussion - Page 2 EmptyRe: Removing .nls Files Discussion

more_horiz
KrX, that's PERFECT, and this is my fault, I forgot to remove the locked option in the forum ... That's now done, so you could move your really interesting thread in the MICRO Edition forum ... bounce

descriptionRemoving .nls Files Discussion - Page 2 EmptyRe: Removing .nls Files Discussion

more_horiz
@KrX: What do you remove with your batch file, to remove 150 mb more? Keyboard and NLS files, or something else? Could you share your batch file?

descriptionRemoving .nls Files Discussion - Page 2 EmptyRe: Removing .nls Files Discussion

more_horiz
aymanalz wrote:
@KrX: What do you remove with your batch file, to remove 150 mb more? Keyboard and NLS files, or something else? Could you share your batch file?


one part is the batch for the boot.wim you can find here:

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

for install.wim i use some batch files, but i remove everything i dont need i.e Printers, firewall etc, so if you would use that it could be that some things from windows and some programs wount work for you or the installation will fail. but anyway here is the package.

Use it like i wrote it on the link above

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

descriptionRemoving .nls Files Discussion - Page 2 EmptyRe: Removing .nls Files Discussion

more_horiz
I just tested and find out that you need Windows\System32\C_1255.NLS for Windows 10 Preview US-English ( For Windows 7, this file "C_1255.NLS" was not needed ).

If you delete this file you can still install Windows 10, but next time when you restart your Windows, it will stuck at the Windows User Account screen and will not boot directly to the desktop.
I don't know if this is the same case for Windows 8/8.1 US-English, maybe someone could try and find out...

So for Windows 10 Preview US-English you only need these files:

Windows\System32\C_437.NLS
Windows\System32\C_1252.NLS
Windows\System32\C_1255.NLS
Windows\System32\C_1256.NLS
Windows\System32\C_20127.NLS
Windows\System32\C_28591.NLS

Cheers

descriptionRemoving .nls Files Discussion - Page 2 EmptyRe: Removing .nls Files Discussion

more_horiz
hey, im currently makeing some steps forward. in total i sorted around 40-50 .nls files to around 15 languages which should be save to remove. as soon as im finished i will post it (the list is made only for windows 7 and i dont know if it will work also for 8.X and 10)

descriptionRemoving .nls Files Discussion - Page 2 EmptyRe: Removing .nls Files Discussion

more_horiz
ok i got it. Not included are about 60 files, i.e. if a file is needed for more than 1 language.

REM ========== Arabic
del /q /f Windows\System32\C_10004.NLS
del /q /f Windows\SysWOW64\C_10004.NLS
del /q /f Windows\System32\C_1256.NLS
del /q /f Windows\SysWOW64\C_1256.NLS
del /q /f Windows\System32\C_20420.NLS
del /q /f Windows\SysWOW64\C_20420.NLS
del /q /f Windows\System32\C_28596.NLS
del /q /f Windows\SysWOW64\C_28596.NLS
del /q /f Windows\System32\C_708.NLS
del /q /f Windows\SysWOW64\C_708.NLS
del /q /f Windows\System32\C_720.NLS
del /q /f Windows\SysWOW64\C_720.NLS
del /q /f Windows\System32\C_864.NLS
del /q /f Windows\SysWOW64\C_864.NLS

REM ========== Chinese
del /q /f Windows\System32\C_10002.NLS
del /q /f Windows\SysWOW64\C_10002.NLS
del /q /f Windows\System32\C_10008.NLS
del /q /f Windows\SysWOW64\C_10008.NLS
del /q /f Windows\System32\C_20936.NLS
del /q /f Windows\SysWOW64\C_20936.NLS
del /q /f Windows\System32\C_936.NLS
del /q /f Windows\SysWOW64\C_936.NLS
del /q /f Windows\System32\C_950.NLS
del /q /f Windows\SysWOW64\C_950.NLS
del /q /f Windows\System32\C_G18030.DLL
del /q /f Windows\SysWOW64\C_G18030.DLL

REM ========== French
del /q /f Windows\System32\C_863.NLS
del /q /f Windows\SysWOW64\C_863.NLS

REM ========== German
del /q /f Windows\System32\C_1141.NLS
del /q /f Windows\SysWOW64\C_1141.NLS
del /q /f Windows\System32\C_20106.NLS
del /q /f Windows\SysWOW64\C_20106.NLS
del /q /f Windows\System32\C_20273.NLS
del /q /f Windows\SysWOW64\C_20273.NLS

REM ========== Greek
del /q /f Windows\System32\C_10006.NLS
del /q /f Windows\SysWOW64\C_10006.NLS
del /q /f Windows\System32\C_1253.NLS
del /q /f Windows\SysWOW64\C_1253.NLS
del /q /f Windows\System32\C_20423.NLS
del /q /f Windows\SysWOW64\C_20423.NLS
del /q /f Windows\System32\C_28597.NLS
del /q /f Windows\SysWOW64\C_28597.NLS
del /q /f Windows\System32\C_737.NLS
del /q /f Windows\SysWOW64\C_737.NLS
del /q /f Windows\System32\C_869.NLS
del /q /f Windows\SysWOW64\C_869.NLS
del /q /f Windows\System32\C_875.NLS
del /q /f Windows\SysWOW64\C_875.NLS

REM ========== Japanese
del /q /f Windows\System32\C_10001.NLS
del /q /f Windows\SysWOW64\C_10001.NLS
del /q /f Windows\System32\C_20290.NLS
del /q /f Windows\SysWOW64\C_20290.NLS

REM ========== Korea
del /q /f Windows\System32\C_10003.NLS
del /q /f Windows\SysWOW64\C_10003.NLS
del /q /f Windows\System32\C_1361.NLS
del /q /f Windows\SysWOW64\C_1361.NLS
del /q /f Windows\System32\C_20833.NLS
del /q /f Windows\SysWOW64\C_20833.NLS
del /q /f Windows\System32\C_20949.NLS
del /q /f Windows\SysWOW64\C_20949.NLS
del /q /f Windows\System32\C_949.NLS
del /q /f Windows\SysWOW64\C_949.NLS

REM ========== Lithuanian
del /q /f Windows\System32\c_28603.nls
del /q /f Windows\SysWOW64\c_28603.nls

REM ========== Norwegian
del /q /f Windows\System32\C_20108.NLS
del /q /f Windows\SysWOW64\C_20108.NLS

REM ========== Portuguese
del /q /f Windows\System32\C_860.NLS
del /q /f Windows\SysWOW64\C_860.NLS

REM ========== Russian
del /q /f Windows\System32\C_20866.NLS
del /q /f Windows\SysWOW64\C_20866.NLS
del /q /f Windows\System32\C_20880.NLS
del /q /f Windows\SysWOW64\C_20880.NLS
del /q /f Windows\System32\C_866.NLS
del /q /f Windows\SysWOW64\C_866.NLS

REM ========== Serbian
del /q /f Windows\System32\C_21025.NLS
del /q /f Windows\SysWOW64\C_21025.NLS

REM ========== Swedish
del /q /f Windows\System32\C_20107.NLS
del /q /f Windows\SysWOW64\C_20107.NLS

REM ========== Thai
del /q /f Windows\System32\C_10021.NLS
del /q /f Windows\SysWOW64\C_10021.NLS
del /q /f Windows\System32\C_20838.NLS
del /q /f Windows\SysWOW64\C_20838.NLS
del /q /f Windows\System32\C_874.NLS
del /q /f Windows\SysWOW64\C_874.NLS

REM ========== Turkish
del /q /f Windows\System32\C_10081.NLS
del /q /f Windows\SysWOW64\C_10081.NLS
del /q /f Windows\System32\C_1026.NLS
del /q /f Windows\SysWOW64\C_1026.NLS
del /q /f Windows\System32\C_1254.NLS
del /q /f Windows\SysWOW64\C_1254.NLS
del /q /f Windows\System32\C_20905.NLS
del /q /f Windows\SysWOW64\C_20905.NLS
del /q /f Windows\System32\C_857.NLS
del /q /f Windows\SysWOW64\C_857.NLS

REM ========== Ukrainian
del /q /f Windows\System32\C_21866.NLS
del /q /f Windows\SysWOW64\C_21866.NLS

descriptionRemoving .nls Files Discussion - Page 2 EmptyRe: Removing .nls Files Discussion

more_horiz
brittech wrote:
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?

It's not a matter of space...
Windows can be very slow if it has to access, read or transfer small files like nls ones. Wink

descriptionRemoving .nls Files Discussion - Page 2 EmptyRe: Removing .nls Files Discussion

more_horiz
Mvp77 wrote:
brittech wrote:
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?

It's not a matter of space...
Windows can be very slow if it has to access, read or transfer small files like nls ones. Wink


yep thats also what i think, its not only a matter of how much MB/GB i removed (yes that counts too, but not as number 1), but how much files did i remove
privacy_tip Permissions in this forum:
You cannot reply to topics in this forum