Missing variable I_HelpAndTips w81 in ; Code: :: Setting Apps status flags for %%i in (I_3DViewer,I_Alarms,I_AmazonAppStore,I_AV1VideoExtension,I_BingFinance,I_BingFoodDrink,I_BingHealthFitness,I_BingMaps,I_BingNews,I_BingSports,I_BingTravel,I_BingWeather,I_Calculator,I_Camera,I_ClientWebExperience,I_Clipchamp,I_CommunicationsApps,I_Cortana,I_D3DMappingLayers,I_DesktopAppInstaller,I_DirectXRuntime,I_FeedbackHub,I_GamingApp,I_GamingServices,I_GetHelp,I_Getstarted,I_HEIFImageExtension,I_HelpTips,I_HEVCVideoExtension,I_Journal,I_Maps,I_Messaging,I_MicrosoftPowerBI,I_MinecraftEducationEdition,I_MixedRealityPortal,I_MPEG2VideoExtension,I_Notepad,I_NVIDIAControlPanel,I_OfficeHub,I_OfficeOneNote,I_OneConnect,I_Paint,I_Paint3D,I_People,I_Photos,I_PowerAutomateDesktop,I_Print3D,I_QuickAssist,I_RawImageExtension,I_Reader,I_ReadingList,I_RealtekAudioControl,I_Scan,I_ScreenSketch,I_SkypeApp,I_SolitaireCollection,I_SoundRecorder,I_StickyNotes,I_StorePurchaseApp,I_TeamsChat,I_Terminal,I_Todos,I_VP9VideoExtensions,I_Wallet,I_WebMediaExtensions,I_WebpImageExtension,I_Whiteboard,I_WindowsDefender,I_WindowsStore,I_WindowsSubsystemForAndroid,I_WindowsSubsystemForLinux,I_Xbox,I_XboxGameOverlay,I_XboxGamingOverlay,I_XboxIdentityProvider,I_XboxLiveGames,I_XboxSpeechToTextOverlay,I_XboxTCUI,I_YourPhone,I_ZuneMusic,I_ZuneVideo) do ( set "%%i=-" ) echo. [12] %I_HelpTips% Help ^& Tips for ; Code: :: Setting Apps status flags for %%i in (I_3DViewer,I_Alarms,I_AmazonAppStore,I_AV1VideoExtension,I_BingFinance,I_BingFoodDrink,I_BingHealthFitness,I_BingMaps,I_BingNews,I_BingSports,I_BingTravel,I_BingWeather,I_HelpAndTips,I_Calculator,I_Camera,I_ClientWebExperience,I_Clipchamp,I_CommunicationsApps,I_Cortana,I_D3DMappingLayers,I_DesktopAppInstaller,I_DirectXRuntime,I_FeedbackHub,I_GamingApp,I_GamingServices,I_GetHelp,I_Getstarted,I_HEIFImageExtension,I_HelpTips,I_HEVCVideoExtension,I_Journal,I_Maps,I_Messaging,I_MicrosoftPowerBI,I_MinecraftEducationEdition,I_MixedRealityPortal,I_MPEG2VideoExtension,I_Notepad,I_NVIDIAControlPanel,I_OfficeHub,I_OfficeOneNote,I_OneConnect,I_Paint,I_Paint3D,I_People,I_Photos,I_PowerAutomateDesktop,I_Print3D,I_QuickAssist,I_RawImageExtension,I_Reader,I_ReadingList,I_RealtekAudioControl,I_Scan,I_ScreenSketch,I_SkypeApp,I_SolitaireCollection,I_SoundRecorder,I_StickyNotes,I_StorePurchaseApp,I_TeamsChat,I_Terminal,I_Todos,I_VP9VideoExtensions,I_Wallet,I_WebMediaExtensions,I_WebpImageExtension,I_Whiteboard,I_WindowsDefender,I_WindowsStore,I_WindowsSubsystemForAndroid,I_WindowsSubsystemForLinux,I_Xbox,I_XboxGameOverlay,I_XboxGamingOverlay,I_XboxIdentityProvider,I_XboxLiveGames,I_XboxSpeechToTextOverlay,I_XboxTCUI,I_YourPhone,I_ZuneMusic,I_ZuneVideo) do ( set "%%i=-" ) echo. [12] %I_HelpAndTips% Help ^& Tips
I tried it on 1809 LTSC (2019) via NTLite (in version 2.1.0.7845 the option is still free), after debloating via MSMG-Toolkit. All Hyper-V related packages were removed except: HyperV-KMCL-Host-Package and HyperV-Storage-QoS-Package. Everything seems to work correctly, VirtualBox too.
Windows update is not working for me on 21H2 19044.2132. I'm using WSUS. The updates are detected and show "Downloading 0%" where they stay indefintely. I can download and install updates manually, but I can't get them to install via WSUS My group policy prevents connecting to Windows Update online, which I prefer to keep in place. I want to control what updates are installed via WSUS. This applies to all updates... .NET, Office, Windows etc. Update Orchestrator and Windows Update services are running. Event log shows event ID 44: Windows is downloading an update Nothing in CBS.log Network OK. Image created using 12.8 of the toolkit. Of course, I've been through all the basics, stopping and restarting WU, deleting the contents of the SofwareDistribution folder etc... Any ideas what might be causing this? This is what I removed; Spoiler: Removed Components =============================================================================== MSMG ToolKit - Remove Internet Components Menu =============================================================================== [1] - Adobe Flash For Windows [2] - Edge Chromium Browser [3] - Internet Explorer =============================================================================== MSMG ToolKit - Remove Multimedia Components Menu =============================================================================== [A] - First Logon Animation + Game Explorer | Needed for: Microsoft Games [C] - Lock Screen Background [D] - Screen Savers [E] + Snipping Tool [F] + Sound Themes [G] - Speech Recognition | Needed for: Cortana, Ease of Access [H] - Wallpapers - Windows Media Player [J] + Windows Photo Viewer [K] - Windows Themes [L] - Windows TIFF IFilter (OCR) [M] - Windows System Assessment Tool =============================================================================== MSMG ToolKit - Remove Network Components Menu =============================================================================== [1] - Offline Files [2] - Open SSH [3] - Remote Desktop Client [4] - Remote Differential Compression (RDC) [5] - Simple TCP/IP Services [6] - Telnet Client [7] - TFTP Client [8] - Windows Mail | Needed for: Windows Mail App =============================================================================== MSMG ToolKit - Remove Privacy Components Menu =============================================================================== [A] - Assigned Access - Customer Experience Improvement Program (CEIP) [C] - Face Recognition [D] - Kernel Debugging | Depends on: Windows Error Reporting [E] - Location Service [F] - Picture Password [G] - Pin SignIn Support [H] - Unified Telemetry Client (Asimov) | Depends on: Windows Error Reporting - WiFi Network Manager (WiFi Sense) [J] - Windows Error Reporting [K] - Windows Insider Hub =============================================================================== MSMG ToolKit - Remove Remoting Components Menu =============================================================================== [1] - Home Group [2] - MultiPoint Connector [3] - OneDrive Desktop Client [4] - Remote Assistance [5] - Remote Desktop Server [6] - Remote Registry [7] - Work Folders Client =============================================================================== MSMG ToolKit - Remove System Components Menu =============================================================================== [A] - Accessibility Tools - Calculator [C] - Device Lockdown (Embedded Experience) [D] - Ease of Access Cursors | Depends on: Accessibility Tools [E] - Ease of Access Themes | Depends on: Accessibility Tools [F] - Easy Transfer [G] - File History [H] - Magnifier | Depends on: Accessibility Tools + Manual Setup (InPlace Upgrade) [J] - Narrator | Depends on: Accessibility Tools [K] + Notepad [L] - On Screen Keyboard | Depends on: Accessibility Tools [M] + Paint [N] - Projected File System (ProjFS) [O] - Security Center | Depends on: Windows Defender [P] - Steps Recorder [Q] - Storage Spaces [R] - System Restore | Depends on: Windows Backup - Windows Backup [T] + Windows Firewall - Windows Subsystem For Linux [V] - Windows To Go [W] - Wordpad =============================================================================== MSMG ToolKit - Remove System Apps Menu =============================================================================== [01] - AAD Broker Plugin - Credential Handler for Microsoft Azure Logon | Needed for: Microsoft Account, Windows Store [02] - Accounts Control - App to add Microsoft Account for Microsoft Apps | Needed for: Windows Store [03] - Add Suggested Folders to Library Dialog [04] - App Resolver UX - Modern Open With Dialog [05] - Assigned Access Lock App - Windows Kiosk Mode | Depends on: Assigned Access [06] - Async Text Service - Messaging extensions for People and Maps Apps [07] - Bio Enrollment - Windows Hello Setup [08] - Calling Shell App - App to host call progress on shell [09] + Capture Picker - A system picker UI control to select an item on the screen to capture | Needed for: Screen snip [10] - CBSPreview - App for Camera Barcode Scanner [11] - Content Delivery Manager - Automatic installation of sponsored or promoted apps, suggestions and Ads | Needed for: OOBE & Microsoft Account [13] - Credential Dialog Host - Authentication (Sign-in) shell support for Windows Hello [14] - ECApp - Modern UI Dialog App for Eye Movement Control | Depends on: WindowsMixedReality [15] - Edge Classic Browser [16] - Edge Developer Tools Client - An extension to edge containing tools for web developers | Depends on: Edge [17] - File Explorer - Modern File Explorer App [18] - File Picker - Modern File Picker Dialog [19] - Lock App - Container App for Apps and Messages on the Lockscreen [20] - Map Control [21] - Narrator Quick Start - QuickStart Guide for Narrator [22] - NcsiUwpApp - Network Connectivity Status Indicator (NCSI) [23] - OOBE Network Captive Portal - Captive Network Portals support during OOBE-Phase of Windows [24] - OOBE Network Connection Flow - Connection Flow Network Portals support during OOBE-Phase of Windows [25] - Parental Controls - App for Parental Controls [26] - People Experience Host - People Bar (People Hub) [27] - Pinning Confirmation Dialog [29] - Print Dialog - Modern Print Dialog | Needed for: Printing [30] - Quick Assist App - Modern Remote Assistance App [31] - Retail Demo Content [32] - Search App - Start menu, taskbar & settings search App [34] - Setting Sync - Sync settings between your Windows PCs and devices [35] - Skype ORTC [36] - Smart Screen - Windows Defender SmartScreen Functionality for Modern Apps [37] - Webcam Experience [38] - Win32 Web View Host - Desktop App Web Viewer [39] - Windows Defender App [40] - Windows Mixed Reality [41] - Windows Reader (PDF) | Depends on: Edge [42] - Windows Store Back-end Client [43] - Xbox Console Companion Back-end Client [44] - Xbox Game Callable UI - Xbox Live [45] - XGpu Eject Dialog - Modern Dialog App for safe removal of external GPUs
CBS.log is plain text and it opens fine in notepad. The Windows update logs are .etl files and are accessed via the powershell cmdlet get-windowsupdatelog In any case, the culprit has turned out to be the VPN connection. All PCs are connected to the VPN all of the time. I do not allow PCs on the Internet without a VPN. However, in my testing, when I disconnected from the VPN the client PC started downloading and installing the updates. I find error codes 80240007 and 80200010 in the Windows update logs. group policy prohibits Pcs connecting to Windows Update Ineternet locations. So this seems to be that the VPN connection is messing up my INTRANET somehow. I can browse the network, access content on mapped drives and load Intranet websites fine, but for some reason on 21H2 ONLY Windows update will not download updates when connected to the VPN. I might be wrong, but unless the toolkit does something funky, I suspect this is a Windows problem.
ok but how do you analyze a big data size log file for errors . suppose log file is of 918 kb then how ? its ok if you are much more familiar with analyzing log files .
Get-WindowsUpdateLog produces a file of 3.14MB on my desktop. The size depends on the number of .etl files processed. I use Notepad++ and have opened files much larger than 3MB without issues.
You are not getting my point of view actualy . what to do with that 3.14 mb of log file. can you analyze it in a minute or two or you are using some tool to filter only errors out of it. then analyzing those errors & getting the actual cause of the issue you are facing . whuffff i am done .
For Toolkit v12.8 the supported image with CU is 19045.2006 [KB5017308], if you had used CU later than the one required than there are chances of error when updating the system to the next CU. I have uploaded updated Toolkit.cmd and ToolkitHelper.exe supporting the latest patch Tuesday updates and have tested updating to the next available CU through WU and it's working; you can try making an in-place upgrade to the current 19044.2251 to fix any issues.
So I rebuilt the image with 19044.2006 and reinstalled. The issue is still the same. btw: These were Office 2016 updates, not Windows updates. Updates are sourced from my WSUS server, not from Microsoft online. When connected to the VPN updates are detected and sit at downloading 0% indefinately. When disconnecting from the VPN they download and install fine. On 1809 everything works perfectly. On 21H2 Windows update reports the following Spoiler: Windows update logs 2022/11/14 10:54:31.6061125 1220 3668 DownloadManager Total download size for update D5ED9113-146B-470D-9B13-A08E739520CF.201 (session data: (null)) set via progress to 260187034 2022/11/14 10:54:31.6074686 1220 3668 Agent *FAILED* [80240007] Bundle = 0B8C07E8-0349-464C-A9B0-4D46FC91E3A6.201, Service = 3DA21691-E39D-4DA6-8A4B-B43877BCB1B7 [DownloadHeartbeat::UpdateDownload:274] 2022/11/14 10:54:31.6076101 1220 3668 Agent *FAILED* [80240007] Bundle = 0B8C07E8-0349-464C-A9B0-4D46FC91E3A6.201, Service = 3DA21691-E39D-4DA6-8A4B-B43877BCB1B7 [DownloadHeartbeat::UpdateDownload:274] 2022/11/14 10:54:32.0645135 1220 2520 Shared UpdateNetworkState Ipv4, cNetworkInterfaces = 2. 2022/11/14 10:54:32.0665708 1220 5616 DownloadManager Update the URLs for BITS Job FA742BF3-B7A0-42B3-A513-ACDEEF779B4D - Update D5ED9113-146B-470D-9B13-A08E739520CF.201 2022/11/14 10:54:32.0668044 1220 5616 DownloadManager 0 of 1 files' URLs are updated. 2022/11/14 10:54:32.0668517 1220 5616 DownloadManager Download job FA742BF3-B7A0-42B3-A513-ACDEEF779B4D resumed. 2022/11/14 10:54:32.0703941 1220 5616 Agent *FAILED* [80240007] Bundle = 0B8C07E8-0349-464C-A9B0-4D46FC91E3A6.201, Service = 3DA21691-E39D-4DA6-8A4B-B43877BCB1B7 [DownloadHeartbeat::UpdateQueuedDownload:163] 2022/11/14 10:54:32.0704557 1220 5616 Agent *FAILED* [80240007] Bundle = 0B8C07E8-0349-464C-A9B0-4D46FC91E3A6.201, Service = 3DA21691-E39D-4DA6-8A4B-B43877BCB1B7 [DownloadHeartbeat::UpdateDownload:274] Eventually Windows update log also reports error 0x80200010 Spoiler: 80200010 0x80200010. Description There are currently no active network connections. Background Intelligent Transfer Service (BITS) will try again when an adapter is connected. The TAP adapter configuration on both 1809 and 21H2 is identical. Running DISM /Online /Cleanup-Image /restorehealth fails with error 3; Spoiler: DISM 2022-11-14 11:21:29, Error DISM DISM Package Manager: PID=8880 TID=7540 Failed finalizing changes. - CDISMPackageManager::Internal_Finalize(hr:0x80070003) 2022-11-14 11:21:29, Error DISM DISM Package Manager: PID=8880 TID=7540 Failed processing package changes with session option CbsSessionOptionRepairStoreCorruption - CDISMPackageManager::RestoreHealth(hr:0x80070003) 2022-11-14 11:21:29, Error DISM DISM Package Manager: PID=8880 TID=7540 Failed to restore the image health. - CPackageManagerCLIHandler:rocessCmdLine_CleanupImage(hr:0x80070003) 2022-11-14 11:21:29, Error DISM DISM Package Manager: PID=8880 TID=7540 Failed while processing command cleanup-image. - CPackageManagerCLIHandler::ExecuteCmdLine(hr:0x80070003) 2022-11-14 11:21:29, Info DISM DISM Package Manager: PID=8880 TID=7540 Further logs for online package and feature related operations can be found at %WINDIR%\logs\CBS\cbs.log - CPackageManagerCLIHandler::ExecuteCmdLine 2022-11-14 11:21:29, Error DISM DISM.EXE: DISM Package Manager processed the command line but failed. HRESULT=80070003 2022-11-14 11:21:29, Info DISM DISM Provider Store: PID=8880 TID=7540 Found the OSServices. Waiting to finalize it until all other providers are unloaded. - CDISMProviderStore::Final_OnDisconnect 2022-11-14 11:21:29, Info DISM DISM Provider Store: PID=8880 TID=7540 Found the OSServices. Waiting to finalize it until all other providers are unloaded. - CDISMProviderStore::Final_OnDisconnect 2022-11-14 11:21:29, Info DISM DISM Provider Store: PID=8880 TID=7540 Found the PE Provider. Waiting to finalize it until all other providers are unloaded. - CDISMProviderStore::Final_OnDisconnect SFC /Scannow is fine. I don't do in-place upgrades. I will create new image with 2251 and try again. --UPDATE-- Installing 19044.2251 didn't change anything. But what did fix it was deleting the grouppolicy folder, creating a new group policy and setting all the policies again one by one. I must have changed something that I'm not aware of that broke it. Stranger things have happened
Why i am getting "not recognized as an internal or external command" error when using this tool ? what is the solution ?
@amin fear simple look and read all txt here:https://forums.mydigitallife.net/threads/msmg-toolkit.50572/
I am old fashioned. I just use CTRL-F and look for "ERROR" and go from there. Discovering the cause in this case was an accident when I disconnected from the VPN and noticed the updates installing Normally, I would have little understanding of what is actually causing the specific error codes. Just a process of elimination, whicn at times can take weeks, depending on what the issue is. No magic tools I'm afraid.