How can I remove Home from File Explorer in Windows 11 22H2?

The folder dialogs from inside apps isn't managed by any reg keys AFAIK. Show me an example where it can be configured this way.
That's not an Explorer window, it's a Windows API called by the program.
 
Monthly CU will overwrite random components or settings when installed. It's not really "random", but whatever MS needs to patch.
If you apply updates after removals, you have to repeat the removals with licensed NTLite on a live system. There is no way to edit updates BEFORE they are applied, only after installation.
 
Monthly CU will overwrite random components or settings when installed. It's not really "random", but whatever MS needs to patch.
If you apply updates after removals, you have to repeat the removals with licensed NTLite on a live system. There is no way to edit updates BEFORE they are applied, only after installation.

remove reinstalls doesn't remove home from file explorer.
 
Last edited:
Maybe show a pic what want to be accomplished.
Following Shawn on this backup-Restore folder settings - be on 10 but still work on 11
:: Created by: Shawn Brink
:: Created on: August 19th 2015
:: Updated on: March 19, 2021
:: Tutorial: https://www.tenforums.com/tutorials/17777-backup-restore-folder-view-settings-windows-10-a.html


@ECHO OFF

Set "+=HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders"
For /F "tokens=* " %%# in ('Reg Query "%+%" /V Desktop') Do (Set "#=%%#")
Set "#=%#:*REG_EXPAND_SZ =%"
For /F "delims=" %%# in ('Echo "%#%"') Do (Set "#=%%#")
Set "[Desktop]=%#:~1,-1%"


title Backup and Restore Folder View Settings Tool
:choice
cls
echo.
echo OPTIONS:
echo.
echo 1. Back up your folder view settings.
echo 2. Restore folder view settings from backup.
echo 3. Cancel
echo.
echo.
set /P c=Type the option number you would like to do, and press Enter?
if /I "%c%" EQU "1" goto :verify1
if /I "%c%" EQU "2" goto :verify2
if /I "%c%" EQU "3" exit
goto :choice


:verify1
IF EXIST "%[Desktop]%\Folder View Settings Backup" goto :response1
goto :backup

:response1
echo.
echo.
echo You already have a "Folder View Settings Backup" folder on your desktop.
echo Please move it to another location, and try again.
echo.
pause
goto :choice


:backup
mkdir "%[Desktop]%\Folder View Settings Backup"
REG EXPORT "HKCU\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\BagMRU" "%[Desktop]%\Folder View Settings Backup\HKCU_Software_Classes_LocalSettings_Software_Microsoft_Windows_Shell_BagMRU.reg" /y
REG EXPORT "HKCU\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags" "%[Desktop]%\Folder View Settings Backup\HKCU_Software_Classes_LocalSettings_Software_Microsoft_Windows_Shell_Bags.reg" /y
REG EXPORT "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\CIDOpen" "%[Desktop]%\Folder View Settings Backup\HKCU_SOFTWARE_Microsoft_Windows_CurrentVersion_Explorer_CIDOpen.reg" /y
REG EXPORT "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\CIDSave" "%[Desktop]%\Folder View Settings Backup\HKCU_SOFTWARE_Microsoft_Windows_CurrentVersion_Explorer_CIDSave.reg" /y
REG EXPORT "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Modules\GlobalSettings\Sizer" "%[Desktop]%\Folder View Settings Backup\HKCU_SOFTWARE_Microsoft_Windows_CurrentVersion_Explorer_Modules_GlobalSettings_Sizer.reg" /y
REG EXPORT "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Modules\NavPane" "%[Desktop]%\Folder View Settings Backup\HKCU_SOFTWARE_Microsoft_Windows_CurrentVersion_Explorer_Modules_NavPane.reg" /y
REG EXPORT "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Streams\Defaults" "%[Desktop]%\Folder View Settings Backup\HKCU_Software_Microsoft_Windows_CurrentVersion_Explorer_Streams_Defaults.reg" /y
REG EXPORT "HKCU\Software\Microsoft\Windows\Shell\BagMRU" "%[Desktop]%\Folder View Settings Backup\HKCU_Software_Microsoft_Windows_Shell_BagMRU.reg" /y
REG EXPORT "HKCU\Software\Microsoft\Windows\Shell\Bags" "%[Desktop]%\Folder View Settings Backup\HKCU_Software_Microsoft_Windows_Shell_Bags.reg" /y

cls
echo.
echo Backup of folder view settings successfully completed.
echo.
pause
exit

:verify2
IF NOT EXIST "%[Desktop]%\Folder View Settings Backup" goto :response
goto :restore

:response
echo.
echo.
echo You do not have a "Folder View Settings Backup" folder on your desktop.
echo Please place the backup folder on your desktop, and try again.
echo.
pause
goto :choice


:restore
Reg Delete "HKCU\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\BagMRU" /F
Reg Delete "HKCU\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags" /F
Reg Delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\CIDOpen" /F
Reg Delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\CIDSave" /F
Reg Delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Modules\GlobalSettings\Sizer" /F
Reg Delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Modules\NavPane" /F
REG Delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Streams\Defaults" /F
Reg Delete "HKCU\Software\Microsoft\Windows\Shell\BagMRU" /F
Reg Delete "HKCU\Software\Microsoft\Windows\Shell\Bags" /F

REG IMPORT "%[Desktop]%\Folder View Settings Backup\HKCU_Software_Classes_LocalSettings_Software_Microsoft_Windows_Shell_BagMRU.reg"
REG IMPORT "%[Desktop]%\Folder View Settings Backup\HKCU_Software_Classes_LocalSettings_Software_Microsoft_Windows_Shell_Bags.reg"
REG IMPORT "%[Desktop]%\Folder View Settings Backup\HKCU_SOFTWARE_Microsoft_Windows_CurrentVersion_Explorer_CIDOpen.reg"
REG IMPORT "%[Desktop]%\Folder View Settings Backup\HKCU_SOFTWARE_Microsoft_Windows_CurrentVersion_Explorer_CIDSave.reg"
REG IMPORT "%[Desktop]%\Folder View Settings Backup\HKCU_SOFTWARE_Microsoft_Windows_CurrentVersion_Explorer_Modules_GlobalSettings_Sizer.reg"
REG IMPORT "%[Desktop]%\Folder View Settings Backup\HKCU_SOFTWARE_Microsoft_Windows_CurrentVersion_Explorer_Modules_NavPane.reg"
REG IMPORT "%[Desktop]%\Folder View Settings Backup\HKCU_Software_Microsoft_Windows_CurrentVersion_Explorer_Streams_Defaults.reg"
REG IMPORT "%[Desktop]%\Folder View Settings Backup\HKCU_Software_Microsoft_Windows_Shell_BagMRU.reg"
REG IMPORT "%[Desktop]%\Folder View Settings Backup\HKCU_Software_Microsoft_Windows_Shell_Bags.reg"

cls
echo.
echo Backup of folder view settings successfully restored.
echo.
echo Waiting to restart explorer to apply.
echo Your screen will flash as explorer is restarted.
echo.
echo.
pause
taskkill /f /im explorer.exe
start explorer.exe
exit
 
Yeah I agree with francis11, I've been watching this thread and I don't quite understand what OP is after. A screenshot with some edits on it like "I want to disable this here" will go a long way in us helping you.
 
Maybe show a pic what want to be accomplished.
Following Shawn on this backup-Restore folder settings - be on 10 but still work on 11

Yeah I agree with francis11, I've been watching this thread and I don't quite understand what OP is after. A screenshot with some edits on it like "I want to disable this here" will go a long way in us helping you.

here it is, with home removed. the problem is that after installing a cu one has to import a reg file again.
 
Okay, so the thread is solved then? That's normal, like Garlin pointed out already. Any tweaked build will get numerous tweaks overwritten if you continue to apply Windows Updates *after* you're done tweaking. You'll either have to stop applying updates all the time if you don't want to keep re-doing all your tweaks, or keep re-applying your tweaks after every update.

A less time-wasting approach I would recommend instead is to reformat/install a new build however often you feel is necessary. For example, I reformat every 6 to 12 months depending on how heavy I'm using my computer and the kind of work I'm doing, and Windows Update is disabled the whole time I'm using the live build.

With this method you have 2 choices, you can either get on Microsoft's schedule and reformat every 12 months when they release a new major feature update that includes all previous smaller updates, such as 21H2, 22H2, etcetera. Or, you integrate the updates individually into your NTLite image whenever you go to make a new one, process that, *then* add your tweaks and process those in order to overwrite Microsoft's changes. You have to keep in mind that registry keys change over time too and some tweaks will just be straight up broken in newer releases and need to be re-tested and figure out what the new keys are.
 
Last edited:
Okay, so the thread is solved then? That's normal, like Garlin pointed out already. Any tweaked build will get numerous tweaks overwritten if you continue to apply Windows Updates *after* you're done tweaking. You'll either have to stop applying updates all the time if you don't want to keep re-doing all your tweaks, or keep re-applying your tweaks after every update.

A less time-wasting approach I would recommend instead is to reformat/install a new build however often you feel is necessary. For example, I reformat every 6 to 12 months depending on how heavy I'm using my computer and the kind of work I'm doing, and Windows Update is disabled the whole time I'm using the live build.

With this method you have 2 choices, you can either get on Microsoft's schedule and reformat every 12 months when they release a new major feature update that includes all previous smaller updates, such as 21H2, 22H2, etcetera. Or, you integrate the updates individually into your NTLite image whenever you go to make a new one, process that, *then* add your tweaks and process those in order to overwrite Microsoft's changes.

i guess so but i think ntlite should have a setting to remove home.
 
i guess so but i think ntlite should have a setting to remove home.
Any time you come across something you think should be added go ahead and post a thread in the Suggestions subforum. There's literally thousands of things like this that NTLite could add, so ultimately it's only the most popular ones that get added, otherwise there would be an overwhelming number of tweaks and people would be more confused than they already are using NTLite. So if your suggestion is popular, a lot of people will upvote it.
 
While NTLite has some desktop tweaks, it's main job is to customize install features, and not copy every tweak tool. If NTLite is missing a setting, find the the registry version of the same mod, and apply it as a .REG file.

Do you want NTLite to add better support for image editing, or spend more time on desktop tweaks? There are more tweak apps available than good Windows editing tools.
 
remove reinstalls doesn't remove home from file explorer.
RalphAnime, I realize now where the main confusion is, and I'm sorry I didn't focus on this better originally. The "Remove Reinstalls" feature is meant for components that you've removed through NTLite directly. A registry file you import is only changing a registry key, it's not directly modifying or removing any "components". So that's why "Remove Reinstalls" didn't do what you expected it to in this situation. Windows Updates also overwrite registry keys too, as well as replacing files.
 
RalphAnime, I realize now where the main confusion is, and I'm sorry I didn't focus on this better originally. The "Remove Reinstalls" feature is meant for components that you've removed through NTLite directly. A registry file you import is only changing a registry key, it's not directly modifying or removing any "components". So that's why "Remove Reinstalls" didn't do what you expected it to in this situation. Windows Updates also overwrite registry keys too, as well as replacing files.

ok, but doesn't ntlite use or remove reg keys by itself when changing settings?
 
Yes. But if you keep adding more Settings, the screen becomes too long and users will get lost. NTLite should focus on the top settings users change using the control panel.

If you're using a reg file because it cannot be changed by the control panel, then it should stay as reg file and not have NTLite expand the settings screen even larger. A lot of users already get confused because it's hard to find things.
 
I think what he's getting held up on is how it works under the hood. Which is a fair question. RalphAnime let me know if this is what you mean...

So a registry file that you imported into NTLite is only temporary. NTLite isn't keeping track of the keys you imported, meaning it doesn't try to copy your custom keys back onto your live installation when you press the "Remove Reinstalls" button. From what I understand, NTLite takes your registry keys and puts them inside a file called ntuser.dat, and then Windows itself takes that file and pulls keys out of it when you create a user account on your computer and applies them, such as when you freshly install Windows.

I think he's asking why NTLite can't just copy the keys back over from ntuser.dat when clicking the "Remove Reinstalls" button. I really hope I'm not confusing things more or being inaccurate about how NTLite works here. If so, I apologize, I haven't tried to dissect how NTLite works under the hood, I just know it works and that's good enough for me.
 
Last edited:
Back
Top