Thanks for your reply, I will let the apps run in their dependencies now too, thanks for the feedback. for the @MSMG team, What do you guys think to create a some page on Google Docs, Notion and add some informations about which features, in Windows 10, 11 works if you remove some feature or disable it. for example, if you remove Windows TIFF IFilter (OCR) what is the negative effects, from the time I wrote this post, Text Extractor from PowerToys require OCR feature. I know that is a really big list, but if users could help with feedback, I think we could present a safe preset for all kind users and they will know what to remove without remove something that could be unsafe to remove.
@MSMG Would you be so kind to give the "Disable Automatic Download and Install of 3rd Party Apps" .reg file content? It seems like "SilentInstalledAppsEnabled"=dword:00000000 is not enough in Win11.
I understand what happens after the tweak. And I would like to know the code for creating my * .reg file... os windows 11
Probably so: Spoiler Reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "OemPreInstalledAppsEnabled" /t REG_DWORD /d "0" /f Reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "PreInstalledAppsEnabled" /t REG_DWORD /d "0" /f Reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SilentInstalledAppsEnabled" /t REG_DWORD /d "0" /f Reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\CloudContent" /v "DisableWindowsConsumerFeatures" /t REG_DWORD /d "1" /f Reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PolicyManager\current\device\Start" /v "ConfigureStartPins" /t REG_SZ /d "{\"pinnedList\": [{}]}" /f Reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PolicyManager\current\device\Start" /v "ConfigureStartPins_ProviderSet" /t REG_DWORD /d "0" /f
It is in Toolkit.cmd. You need to revert to .reg sintaxe. Search for: if "%Tweak%" equ "DisableWindowsUpgrade" ( if "%Tweak%" equ "DisableWindowsUpdate" ( To revert you will need to look at: [hashtable]$equivalents = @{ in \bin\ConvertReg.ps1 file. You can just open the regedit path and export the already tweaked entries. Then check if there are something missing.
I do not quite understand what lines are needed for windows 11... Here on the first image you need only 3 parameters, did I correctly select? In the second image, are all the items needed?
No, it is not enough. You need to replace your start.bin. You can do It manually in all your mount points. You can simply create your template (adding, removing and arranging the order of the pinned shortcuts) directly in your Start Menu. [IMCK] When your customization is ready, copy the "start.bin" file from: "%LocalAppdata%\PackagesMicrosoft.Windows.StartMenuExperienceHost_cw5n1h2txyewy\LocalState". to C:\IMCK\Bin\StartMenuLayoutBIN\ where have to be the Start Menu Layouts. Code: Copy /Y "%LocalAppdata%\PackagesMicrosoft.Windows.StartMenuExperienceHost_cw5n1h2txyewy\LocalState\start.bin" "C:\IMCK\Bin\StartMenuLayoutBIN\start.bin" "CustomStartMenuLayout.bin" will be used by the IMCK function. Read the "C:\IMCK\Bin\StartMenuLayoutBIN\ReadMe.txt" Code: Copy /Y "C:\IMCK\Bin\StartMenuLayoutBIN\start.bin" "C:\IMCK\Bin\StartMenuLayoutBIN\CustomStartMenuLayout.bin" Create this folder. Code: md "C:\IMCK\MNT\1\Users\Default\AppData\Local\Packages\Microsoft.Windows.StartMenuExperienceHost_cw5n1h2txyewy\LocalState" Copying your Customized "start.bin" file. Code: Copy /Y "C:\IMCK\Bin\StartMenuLayoutBIN\start.bin" "C:\Toolkit\Mount\Number\Users\Default\AppData\Local\Packages\Microsoft.Windows.StartMenuExperienceHost_cw5n1h2txyewy\LocalState\start.bin" [Toolkit] When your customization is ready, copy the "start.bin" file from: "%LocalAppdata%\PackagesMicrosoft.Windows.StartMenuExperienceHost_cw5n1h2txyewy\LocalState". to C:\Toolkit\Bin\XMLs\ where have to be the Start Menu Layouts. Code: Copy /Y "%LocalAppdata%\PackagesMicrosoft.Windows.StartMenuExperienceHost_cw5n1h2txyewy\LocalState\start.bin" "C:\Toolkit\Bin\XMLs\start.bin" Create this folder. Code: md "C:\Toolkit\Mount\1\Users\Default\AppData\Local\Packages\Microsoft.Windows.StartMenuExperienceHost_cw5n1h2txyewy\LocalState" Copying your Customized "start.bin" file. Code: Copy /Y "C:\Toolkit\Bin\XMLs\start.bin" "C:\Toolkit\Mount\Number\Users\Default\AppData\Local\Packages\Microsoft.Windows.StartMenuExperienceHost_cw5n1h2txyewy\LocalState\start.bin" Remember to replace: "C:\IMCK" or "C:\Toolkit" for your Drive/Folder Path. So as the ".\MNT\1" for the ".\MNT\Number" or ".\Mount\1" for the ".\Mount\Number" of your Mount Points. Note: If you don't connect to the internet that bunch of shortcuts won't stick. Those eventually disappear. They are just advertisement shortcuts, apps are not installed. As soon as you click, they are downloaded through the Store. EDIT: Updated the ReadMe.txt
No. neq means not equal. So the 1st two params are for w7, w8 and w81. For w10 and w11 only the 3rd param. Yes. I think you will dont need the zh locale params. Note: you can attach your image directly here. It will offer you the display as a thumb or full size for spoiler use.
I need to locate my posts in this thread for references. Anyone knows how Can I search my posts in this specific thread only ? Any help will be greatly appreciated, thanks.
Posted by member: Put your nick. Mark the "Search this thread only" box. Or: To the right of "More" click on "the down arrow" and select Your Posts
@MSMG I reported a bug in the toolkit on may 2020 here to which you said is on your to do list here but unfortunately this is still not sorted. This project is still pending and with Windows 8.1 now going EOL, I need it. Will it be possible for you to take a look at it ? Consider it a humble request. Thank you for the kind support.
I'm using v12.9 of the toolkit. I'm working with a 21H2 LTSC 19044.2251 ISO and removing almost everything. Keeping capture picker, win32calc, notepad, firewall and not much else. When i install from the drive created using Rufus and when I run the following commands it fails. Code: net user Geoff xxxxxx /ADD /passwordchg:no /expires:never /active:yes /fullname:"Geoff Duncan" >>%LogFile% 2>&1 net user Chris xxxxxx /ADD /passwordchg:no /expires:never /active:yes /fullname:"Chris Duncan" >>%LogFile% 2>&1 net user Gabrielle xxxxxx /ADD /passwordchg:no /expires:never /active:yes /fullname:"Gabrielle Duncan" >>%LogFile% 2>&1 net user Lounge xxxxxx /ADD /passwordchg:no /expires:never /active:yes /fullname:"Lounge" >>%LogFile% 2>&1 net user Rumpus xxxxxx /ADD /passwordchg:no /expires:never /active:yes /fullname:"Rumpus" >>%LogFile% 2>&1 I get the following errors; Code: The user or group account specified cannot be found. The user was successfully created but could not be added to the USERS local group. More help is available by typing NET HELPMSG 3774. The user or group account specified cannot be found. The user was successfully created but could not be added to the USERS local group. More help is available by typing NET HELPMSG 3774. The user or group account specified cannot be found. The user was successfully created but could not be added to the USERS local group. More help is available by typing NET HELPMSG 3774. The user or group account specified cannot be found. The user was successfully created but could not be added to the USERS local group. More help is available by typing NET HELPMSG 3774. The user or group account specified cannot be found. The user was successfully created but could not be added to the USERS local group. More help is available by typing NET HELPMSG 3774. Did I remove something I shouldn't have? I don't have this problem on 1809 LTSC EDIT: Correction, I just found that during the Windows installation when asked for "Who uses this computer" the user account created is NOT added to the USERS local group on BOTH 1809 and 21H2. I can add accounts on 1809 without errors. See below... Only account on PC (Other than guest and administrator), not part of USERS group
@MSMG, I took a look at the code in ARP.cmd. Please look at: echo. Do you want to Hide installed VC++ package from Uninstall Programs list ? and rem Hiding installed VC++ package from Uninstall Programs list if "%MVC%" neq "" ( Code: ::------------------------------------------------------------------------------------------- :: Function to Integrate Microsoft Visual C++ Runtime ::------------------------------------------------------------------------------------------- :IntVCRuntime setlocal cls echo.=============================================================================== echo. MSMG ToolKit - Integrate Microsoft Visual C++ Runtime echo.=============================================================================== echo. :: Getting Install Image Index Architecture call :GetImageArchitecture "%InstallWim%", %DefaultIndexNo% >nul :: Setting Microsoft Visual C++ Runtime Pack folder path set "VCRuntime=%VCRuntime%\%SelectedSourceOS%" :: Checking whether Microsoft Visual C++ Runtime Pack file exist if not exist "%VCRuntime%\VC.tpk" ( echo.Microsoft Visual C++ Runtime Pack file "VC.tpk" not found... echo. echo.Please copy the above file to ^<Packs\VCRuntime\%SelectedSourceOS%^> folder... goto :Stop ) if "%SelectedSourceOS%" equ "w7" if not exist "%VCRuntime%\Windows6.1-KB3118401-%ImageArchitecture%.cab" ( echo.Microsoft Visual C++ Runtime Pack file "Windows6.1-KB3118401-%ImageArchitecture%.cab" not found... echo. echo.Please copy the above file to ^<Packs\VCRuntime\%SelectedSourceOS%^> folder... goto :Stop ) if "%SelectedSourceOS%" equ "w81" if not exist "%VCRuntime%\Windows8.1-KB3118401-%ImageArchitecture%.cab" ( echo.Microsoft Visual C++ Runtime Pack file "Windows8.1-KB3118401-%ImageArchitecture%.cab" not found... echo. echo.Please copy the above file to ^<Packs\VCRuntime\%SelectedSourceOS%^> folder... goto :Stop ) for %%i in (Certificates, VC_2005, VC_2008, VC_2010, VC_2012, VC_2013, VC_2022, VC_Legacy) do ( if not exist "%VCRuntime%\%%i_%ImageArchitecture%.reg" ( echo.Microsoft Visual C++ Runtime Pack file "%%i_%ImageArchitecture%.reg" not found... echo. echo.Please copy the above file to ^<Packs\VCRuntime\%SelectedSourceOS%^> folder... goto :Stop ) ) echo.=============================================================================== echo. Do you want to Hide installed VC++ package from Uninstall Programs list ? echo.=============================================================================== echo. choice /C:NY /N /M "Enter Your Choice... ['Y'es/'N'o] : " if errorlevel 2 ( set "MVC=Microsoft Visual C++" set "_natkey=HKLM\TK_SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall" set "_wowkey=HKLM\TK_SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall" ) echo.------------------------------------------------------------------------------- echo.####Started Integrating Microsoft Visual C++ Runtime########################### echo.------------------------------------------------------------------------------- echo. echo. Image : Install.wim echo. Image Index : %ImageIndexNo% echo. Image Architecture : %ImageArchitecture% echo. Image Version : %ImageVersion%.%ImageServicePackBuild%.%ImageServicePackLevel% echo. echo.------------------------------------------------------------------------------- echo.####Integrating Microsoft Visual C++ Runtime################################### echo.------------------------------------------------------------------------------- for /l %%i in (1, 1, %ImageCount%) do ( if exist "%InstallMount%\%%i" ( echo. if not %%i gtr 9 echo.===========================[Install.wim, Index : %%i]============================ if %%i gtr 9 echo.==========================[Install.wim, Index : %%i]============================ echo. :: Getting Image Index Information call :GetImageIndexInfo "%InstallWim%", %%i >nul if "%SelectedSourceOS%" neq "w10" if "%SelectedSourceOS%" neq "w11" ( echo.------------------------------------------------------------------------------- echo.Integrating Microsoft Visual C++ Prerequiste Update Package... echo.------------------------------------------------------------------------------- if "%SelectedSourceOS%" equ "w7" call :AddPackage "%InstallMount%\%%i", "%VCRuntime%\Windows6.1-KB3118401-%ImageArchitecture%.cab" if "%SelectedSourceOS%" equ "w81" call :AddPackage "%InstallMount%\%%i", "%VCRuntime%\Windows8.1-KB3118401-%ImageArchitecture%.cab" ) echo.------------------------------------------------------------------------------- echo.Integrating Microsoft Visual C++ Runtime Package... echo.------------------------------------------------------------------------------- call :ApplyImage "%VCRuntime%\VC.tpk", %PackageIndex%, "%InstallMount%\%%i" echo.------------------------------------------------------------------------------- echo.Importing Microsoft Visual C++ Runtime Registry Settings... echo.------------------------------------------------------------------------------- echo. echo.Mounting Image Registry... call :MountImageRegistry "%InstallMount%\%%i" echo.Importing Registry Settings to Image Registry... for %%i in (Certificates, VC_2005, VC_2008, VC_2010, VC_2012, VC_2013, VC_2022, VC_Legacy) do ( call :ImportRegistry2Image "%VCRuntime%\%%i_%ImageArchitecture%.reg" ) rem Hiding installed VC++ package from Uninstall Programs list if "%MVC%" neq "" ( rem echo. rem echo._natkey for %%G in ( "%MVC% 2005 Redistributable" "%MVC% 2008 Redistributable" "%MVC% 2010 %ImageArchitecture% Redistributable" "%MVC% 2010 %ImageArchitecture% Redistributable" "%MVC% 2012 %ImageArchitecture% Additional Runtime" "%MVC% 2012 %ImageArchitecture% Minimum Runtime" "%MVC% 2013 %ImageArchitecture% Additional Runtime" "%MVC% 2013 %ImageArchitecture% Minimum Runtime" "%MVC% 14 %ImageArchitecture% Additional Runtime" "%MVC% 14 %ImageArchitecture% Minimum Runtime" "%MVC% 2015 %ImageArchitecture% Additional Runtime" "%MVC% 2015 %ImageArchitecture% Minimum Runtime" "%MVC% 2017 %ImageArchitecture% Additional Runtime" "%MVC% 2017 %ImageArchitecture% Minimum Runtime" "%MVC% 2019 %ImageArchitecture% Additional Runtime" "%MVC% 2019 %ImageArchitecture% Minimum Runtime" "%MVC% 2022 %ImageArchitecture% Additional Runtime" "%MVC% 2022 %ImageArchitecture% Minimum Runtime" "Microsoft Visual Studio 2010 Tools for Office Runtime" "Microsoft Visual Basic/C++ Runtime" ) do ( for /f "tokens=7 delims=\" %%# in ('reg.exe query "%_natkey%" /s /f %%G 2^>nul ^| findstr.exe /I "HKEY_LOCAL_MACHINE"') do ( rem echo.%%# rem Hide reg.exe add "%_natkey%\%%#" /v "SystemComponent" /t REG_DWORD /d "1" /f >nul 2>&1 rem Show rem reg.exe delete "%_natkey%\%%#" /v "SystemComponent" /f >nul 2>&1 ) ) rem echo. rem echo._wowkey if /I "%ImageArchitecture%" equ "x64" ( for %%G in ( "%MVC% 2005 Redistributable" "%MVC% 2008 Redistributable" "%MVC% 2010 x86 Redistributable" "%MVC% 2010 x86 Redistributable" "%MVC% 2012 x86 Additional Runtime" "%MVC% 2012 x86 Minimum Runtime" "%MVC% 2013 x86 Additional Runtime" "%MVC% 2013 x86 Minimum Runtime" "%MVC% 14 x86 Additional Runtime" "%MVC% 14 x86 Minimum Runtime" "%MVC% 2015 x86 Additional Runtime" "%MVC% 2015 x86 Minimum Runtime" "%MVC% 2017 x86 Additional Runtime" "%MVC% 2017 x86 Minimum Runtime" "%MVC% 2019 x86 Additional Runtime" "%MVC% 2019 x86 Minimum Runtime" "%MVC% 2022 x86 Additional Runtime" "%MVC% 2022 x86 Minimum Runtime" "Microsoft Visual Studio 2010 Tools for Office Runtime" "Microsoft Visual Basic/C++ Runtime" ) do ( for /f "tokens=8 delims=\" %%# in ('reg.exe query "%_wowkey%" /s /f %%G 2^>nul ^| findstr.exe /I "HKEY_LOCAL_MACHINE"') do ( rem echo.%%# rem Hide reg.exe add "%_wowkey%\%%#" /v "SystemComponent" /t REG_DWORD /d "1" /f >nul 2>&1 rem Show rem reg.exe delete "%_wowkey%\%%#" /v "SystemComponent" /f >nul 2>&1 ) ) ) ) echo.Un-Mounting Image Registry... call :UnMountImageRegistry ) ) echo. echo.------------------------------------------------------------------------------- echo.####Finished Integrating Microsoft Visual C++ Runtime########################## echo.------------------------------------------------------------------------------- :Stop @OpenSourceGhost you can test if you want. Just replace that in Toolkit.cmd from line 11748 to 11854 or 11855.