Jump to content

Disable "Remember each folder's view settings" in Explor


Recommended Posts

Posted

Hello,

does anybody know whether and how it's possible to disable "Remember each folder's view settings" in Explorer in a slipstream Windows XP installation disk created using nLite?


Posted (edited)

Add the next commands in unattended section of nLite:

REG.EXE DELETE "HKCU\Software\Microsoft\Windows\ShellNoRoam\BagMRU" /f
REG.EXE DELETE "HKCU\Software\Microsoft\Windows\ShellNoRoam\Bags" /f
REG.EXE ADD "HKCU\Software\Microsoft\Windows\Shell" /v "BagMRU Size" /t REG_DWORD /d "00001f40" /f
REG.EXE ADD "HKCU\Software\Microsoft\Windows\ShellNoRoam" /v "BagMRU Size" /t REG_DWORD /d "00001f40" /f
REG.EXE ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v "NoSaveSettings" /t REG_DWORD /d "00000000" /f

Or add the next code in a .reg file:

Windows Registry Editor Version 5.00

[-HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\BagMRU]
[-HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\Bags]

[HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell]
"BagMRU Size"=dword:00001f40

[HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam]
"BagMRU Size"=dword:00001f40

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"NoSaveSettings"=dword:00000000

Edited by radix
Posted
Where do I put the reg file then?

Doesn't matter. You can use .reg file from Windows itself to apply the tweaks.

Posted

Hey radix, I have tried with the commands in unattended section of nLite you mentioned but I still have found the option "Remember each folder's view settings" enabled after the installation.

Posted
Hey radix, I have tried with the commands in unattended section of nLite you mentioned but I still have found the option "Remember each folder's view settings" enabled after the installation.

Try this:

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
"ClassicViewState"=dword:00000001
"SuperHidden"=dword:00000001

[-HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\BagMRU]
[-HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\Bags]

[HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell]
"BagMRU Size"=dword:00001f40

[HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam]
"BagMRU Size"=dword:00001f40

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"NoSaveSettings"=dword:00000000

Or add these commands in nLite:

REG.EXE ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "ClassicViewState" /t REG_DWORD /d "1" /f
REG.EXE ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "SuperHidden" /t REG_DWORD /d "1" /f
REG.EXE DELETE "HKCU\Software\Microsoft\Windows\ShellNoRoam\BagMRU" /f
REG.EXE DELETE "HKCU\Software\Microsoft\Windows\ShellNoRoam\Bags" /f
REG.EXE ADD "HKCU\Software\Microsoft\Windows\Shell" /v "BagMRU Size" /t REG_DWORD /d "00001f40" /f
REG.EXE ADD "HKCU\Software\Microsoft\Windows\ShellNoRoam" /v "BagMRU Size" /t REG_DWORD /d "00001f40" /f
REG.EXE ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v "NoSaveSettings" /t REG_DWORD /d "0" /f

Remember to test first from Windows. Across the board. :D

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...