Windows 10 User (again5)
Windows 10 User
- Messages
- 36
- Reaction score
- 3
how can i remove home from file explorer in windows 11 22h2 with ntlite?
Download and integrate the reg file from:
Add or Remove Home in Navigation Pane of File Explorer in Windows 11
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.
In NTL it's quite easy in Settings just put to disable:
:: 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
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.
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.
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.i guess so but i think ntlite should have a setting to remove home.
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.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.