Win Update KB5058499 Windows 11 Cumulative Update Preview build 26100.4202 (24H2) - May 28



 Microsoft Support:

May 28, 2025 - KB5058499 (OS Build 26100.4202) Preview​

For information about Windows update terminology, see types of Windows updates and the monthly quality update types. To find an overview of Windows 11, version 24H2, see its update history page.

Be sure to follow @WindowsUpdate to find out when new content is published to the Windows release health dashboard.

Note: Experience seamless device migration with Windows Backup for Organizations, now available for a limited public preview. This feature ensures a smooth transition to Windows 11 for new or reimaged Microsoft Entra joined devices. To learn more, see Announcing Windows Backup for Organizations.

Highlights

Gradual rollout​

A gradual rollout distributes a release update over a period of time, rather than all at once. This means that users receive the updates at different times, and it might not be immediately available to all users. To see the status of this feature, go to Windows release health dashboard.
  • [Click to Do (preview)]
    • New!1 Ask Copilot is a new action within Click to Do. When you highlight text or an image, Click to Do offers the Ask Copilot option. Selecting it opens Microsoft Copilot with your content in the prompt box. You can send the selected text or image directly to the Copilot app to complete your prompt.

    • New! Enhance your Click to Do experience with more intelligent text actions on AMD and Intel™-powered Copilot+ PCs. Use the WIN key + mouse-click or WIN + Q to select a text block, then drag to choose the text you want. Options will appear to Summarize, Create a bulleted list, or to help you Rewrite your text to sound more casual, more formal, or more polished.
    • New! 2 Click to Do (preview) is now available in the European Economic Area (EEA), bringing NPU-powered intelligent text actions for English to more users, along with new support for Spanish and French—enabling actions Summarize, Create a bulleted list, and Refine in these languages.
    • New! If your PC has pen and inking capabilities, you can configure the shortcut button to open Click to Do with a single-click, double-click, or press and hold through Settings > Bluetooth & devices > Pen & Windows Ink.

    • New! You can add Click to Do as one of the four apps in the pen menu on your PC. If all slots for the pen menu are full, you might need to replace one app with Click to Do in the menu settings.
    • New! Click to Do can now perform intelligent text actions in Spanish and French.
  • [Copilot]
    • New! You can open Copilot on Windows with Win + C. You can personalize your Copilot key and Win + C experience at any time with the existing “Customize Copilot key on keyboard” under Settings > Personalization > Text input.

    • New! To start Press to talk with Copilot on Windows, hold the Copilot key—or Win + C if your keyboard doesn’t have one—for two seconds. Press Esc or stay silent for a few seconds to end the call. Use Alt + Spacebar to talk with Copilot on Windows. You can interact with Copilot using your voice and receive instant responses while continuing your tasks.

  • [Cross device resume] New! Seamlessly resume working on OneDrive files from your phone (iOS and Android) on your Windows 11 PC with a single click. With this feature, you’ll get a notification asking if you want to pick up where you left off editing a OneDrive file, like a Word document, that you viewed or edited on your phone within the last 5 minutes before unlocking your PC.

  • [Energy Saver] New! IT admins can manage Energy saver settings on Windows 11 PCs through group policies and MDM configurations using Microsoft Intune. This feature helps extend battery life by limiting background activity, dimming the screen, and contributing to environmental sustainability. To configure the policy, go to the Local Group Policy under Computer Configuration > Administrative Templates > System > Power Management > Energy Saver Settings and “Enable Energy Saver to Always Be On.”

  • [Graphics] New! Manage your PC’s HDR features under Settings > System > Display. Updates include: A clearer label for “Use HDR” that better explains which media types are supported. The ability to stream HDR video even when HDR is turned off. On PCs with Dolby Vision, a new switch lets you turn Dolby Vision on or off independently of HDR—giving you more control over your viewing experience.

  • [Narrator] New! Enhance digital accessibility with AI-powered image descriptions in Narrator on Copilot+ PCs. This feature provides detailed descriptions of images, charts, and graphs for blind and low-vision users. To turn on Narrator, press Ctrl + Windows key + Enter or search for 'Narrator' in Windows search. Use Narrator key + Ctrl + D for image descriptions.
  • [Improved Windows Search]
    • New! Discover the new feature that makes finding settings easier on Copilot+ PCs. Type the setting you’re looking for in the Windows search box on your taskbar without needing to remember the exact setting name. For example, use your own words to find settings like “change my theme” or “about my PC.” You no longer need to remember the exact setting name.
    • New! In the EEA, you can now find cloud photos using improved Windows Search on the taskbar. Describe the photos, like 'European castles' or 'summer picnics,' in the search box. Photos from the cloud and your Copilot+ PC appear in the search results. Exact keyword matches within your cloud files will also show up. This feature is gradually rolling out to Snapdragon-powered Copilot+ PCs, with support for AMD and Intel-powered PCs coming soon.
  • [Search on Taskbar] New! Improved support for web search providers in Windows Search for the EEA, including with increased discoverability.
  • [Settings]
    • New! Find answers to commonly asked questions about your PC and Windows 11 in the new FAQs section under Settings > System > About. It covers topics like system setup, performance, and compatibility – all in one place.

    • New! The dialog to rename your printer under Settings > Bluetooth & devices > Printers & scanners now matches the Windows 11 look and feel.
    • New! Mouse settings are now easier to access under Settings > Accessibility > Mouse and Mouse pointer and touch, with no need to open Control Panel. You’ll find updated icons for Mouse pointer speed and Enhance mouse pointer precision, plus options for customizing the mouse indicator, pointer trails, and hover activation time.
  • [Taskbar]
    • New! Admins can configure taskbar policies so users can unpin specific apps, ensuring they are not repinned during the next policy refresh. To turn on this feature, use the new PinGeneration option.

    • Fixed: When using Tab and Shift + Tab to move keyboard focus around the taskbar, if you go backwards at least once you can get keyboard focus stuck on the taskbar frame, which could lead screen readers to just say “pane.”
    • Fixed: On login, the keyboard focus might unexpectedly be set to widgets in the taskbar, which can cause widgets to open.
  • [Voice Access]
    • New! Voice access now includes an in-product experience that highlights new features and improvements. Use the settings menu to open or dismiss it anytime.
    • New! You can find voice access under Accessibility in Quick Settings at the lower-right corner of your screen near the clock. To open Quick Settings, select the network, volume, or battery icon.

    • Fixed: Voice access might stop responding with error “working on it” when dictating.
  • [Voice Typing] New! You control the profanity filter. When you turn it on, it masks profanity with asterisks. When you turn it off, words appear as spoken. To change the setting, open voice typing (Win + H), select the settings icon, and turn on the Filter profanity switch.

  • [Windows Share]
    • New! Make last-minute edits such as cropping, rotating, and adding filters to images shared through the Windows Share window.

    • New! When you drag a local file from File Explorer or your desktop, a tray appears at the top of your screen. Drop the file into a suggested app or select More to open the Windows share window.

    • New! Add apps that support sharing directly to the right-click menu for local files in File Explorer or on the desktop.

  • [Audio] Fixed: The startup sound might not play on boot, although it is enabled.
  • [Bluetooth] Fixed: Settings might stop responding when loading information about Bluetooth devices.
  • [Camera] Fixed: Settings might stop working when interacting with content under Settings > Bluetooth & Devices > Cameras.
  • [Display] Fixed: Unexpected changes to screen size and window position might occur after waking from sleep for some devices.
  • [File Explorer] Fixed: If you have disconnected network drives while conducting a search from Home, it might prevent searches from executing and you remain on Home.
  • [Input]
    • Fixed: Voice typing won't start from the touch keyboard when using the Chinese (Simplified) narrow layout.
    • Fixed: When using the Symbols section of the touch keyboard, pressing the key to change pages might unexpectedly insert a character into password fields.
    • Fixed: Typing in some apps might stop working after disconnecting from a remote desktop session.
  • [JPG] Fixed: When using CopyPixels the pixels may be unexpectedly inverted in certain cases.
  • [Microsoft Management Console (MMC)] Fixed: Improved the colors used in MMC when items are selected, both generally, and when contrast modes are enabled.
  • [Print] Fixed: Non-admin users can't uninstall printers that they’ve added.
  • [UHF Tuning] Fixed: Tuning scan for UHF channels doesn’t work, and only VHF channels are returned.
  • [USB] Fixed: Certain USB devices might become disconnected after sleep, until you reboot your PC.
  • [Windows Hello] Fixed: When using Windows Hello for Business facial recognition, the camera might unexpectedly stop working after your PC wakes from sleep, blocking login using this method.
1 Coming later to the European Economic Area. Functionality will vary by device and market. See aka.ms/copilotpluspcs.
2 Functionality will vary by device and market; text actions will be available across markets in select character sets. See aka.ms/copilotpluspcs.

Improvements

This non-security update includes quality improvements. The following summary outlines key issues addressed by the KB after you install it. Also, included are available new features. The bold text within the brackets indicates the item or area of the change.

Normal rollout​

  • [BitLocker] Fixed: This update addresses an issue where devices with BitLocker on removable drives could encounter a blue screen error after resuming from sleep or hybrid-booting.
  • [Boot menu screens] Fixed: This update addresses the issue where early boot screens, such as BitLocker PIN, BitLocker Recovery key, and boot menu screens, render slowly.
  • [Graphics kernel] Fixed: An issue where some game titles become unresponsive after upgrading to 24H2.
  • [Memory leak] Fixed: This update addresses an issue in the Input Service that causes increased memory usage, potentially impacting performance in multi-user, multi-lingual, and remote desktop usage.
  • [Multimedia] Fixed: If you turn on multi-app mode or basic camera mode in advanced camera settings, the Windows Hello Face Enrollment might not work and show a bad camera preview.
  • [Network] Fixed: This update addresses an issue where Windows Server 2025 always shows the network as "public" on new domain controllers. It now checks for a domain controller name before using loopback addresses to ensure proper Lightweight Directory Access Protocol (LDAP) binding.
If you installed earlier updates, your device downloads and installs only the new updates contained in this package.

AI Components

This release updates the following AI components.

AI ComponentVersion
Image Search1.2505.838.0
Content Extraction1.2505.838.0
Semantic Analysis1.2505.838.0

Windows 11 servicing stack update (KB5059502)- 26100.4193​

This update makes quality improvements to the servicing stack, which is the component that installs Windows updates. Servicing stack updates (SSU) ensure that you have a robust and reliable servicing stack so that your devices can receive and install Microsoft updates. To learn more about SSUs, see Simplifying on-premises deployment of servicing stack updates.

Known issues in this update

1 Noto fonts issue

Applies to: All users

Symptom

There are reports of blurry or unclear CJK (Chinese, Japanese, Korean) text when displayed at 96 DPI (100% scaling) in Chromium-based browsers such as Microsoft Edge and Google Chrome. The March 2025 Preview Update introduced Noto fonts in collaboration with Google, for CJK languages as fallbacks to improve text rendering when websites or apps don’t specify appropriate fonts. The issue is due to limited pixel density at 96 DPI, which can reduce the clarity and alignment of CJK characters. Increasing the display scaling improves clarity by enhancing text rendering.

Workaround

As a temporary workaround, increase your display scaling to 125% or 150% to improve text clarity. For more information, see Change your screen resolution and layout in Windows.

We are investigating this issue and will provide more information when it is available.

How to get this update

Before you install this update

Microsoft combines the latest servicing stack update (SSU) for your operating system with the latest cumulative update (LCU). For general information about SSUs, see Servicing stack updates and Servicing Stack Updates (SSU): Frequently Asked Questions.

Install this update

To install this update, use one of the following Windows and Microsoft release channels.

AvailableNext Step
Included
Open Start > Settings Update & Security > Windows Update. In the Optional updates available area, you will find the link to download and install available updates.
Check for optional updates
Yes 1Before you install this update

To get the standalone package(s) for this update, go to the Microsoft Update Catalog website. This KB contains one or more MSU files that require installation in a specific order.

Install this update
Method 1: Install all MSU files together


Download all MSU files for KB5055627 from Microsoft Update Catalog and place them in the same folder (for example, C:/Packages). Use Deployment Image Servicing and Management (DISM.exe) to install the target update. DISM will use the folder specified in PackagePath to discover and install one or more prerequisite MSU files as needed.

Updating Windows PC

To apply this update to a running Windows PC, run the following command from an elevated Command Prompt:

DISM /Online /Add-Package /PackagePath:c:\packages\Windows11.0-KB5050094-x64.msu

Or, run the following command from an elevated Windows PowerShell prompt:

Add-WindowsPackage -Online -PackagePath "c:\packages\Windows11.0-KB5050094-x64.msu"

Updating Windows Installation media

To apply this update to Windows Installation media, see Update Windows installation media with Dynamic Update.

To add this update to a mounted image, run the following command from an elevated Command Prompt:

DISM /Image:mountdir /Add-Package /PackagePath:Windows11.0-KB5050094-x64.msu

Or, run the following command from an elevated Windows PowerShell prompt:

Add-WindowsPackage -Path "c:\offline" -PackagePath "Windows11.0-KB5050094-x64.msu" -PreventPending

Method 2: Install each MSU file individually in order

Download and install each MSU file individually using DISM or Windows Update Standalone Installer in the following order:
  1. windows11.0-kb5043080-x64_953449672073f8fb99badb4cc6d5d7849b9c83e8.msu
  2. windows11.0-kb5050094-x64_3d5a5f9ef20fc35cc1bd2ccb08921ee8713ce622.msu
1 This latest cumulative update includes updates for AI components. Even though the AI component updates are included in the update, the AI components are only applicable to Windows Copilot+ PCs and will not install on Windows PC or Windows Server.

If you want to remove the LCU

To remove the LCU after installing the combined SSU and LCU package, use the DISM/Remove-Package command line option with the LCU package name as the argument. You can find the package name by using this command: DISM /online /get-packages.

Running Windows Update Standalone Installer (wusa.exe) with the /uninstall switch on the combined package will not work because the combined package contains the SSU. You cannot remove the SSU from the system after installation.

File information

For a list of the files in this update, download the file information for cumulative update 5058499.

For a list of the files in the servicing stack update, download the file information for the (KB5059502) - version 26100. 4193.


 Source:



Check Windows Updates


UUP Dump:

64-bit ISO download:

ARM64 ISO download:

 
Last edited:
Dark emoji panel has now white border. I don't know if it is a bug or not.

View attachment 135462
This is the old panel. Before this update (Who want to compare) :

BTW, I can't add Gif picture from the panel to this post. It look like it's a bug. 🐞
Someone can ?
 
Last edited:

My Computer

System One

  • OS
    26100.2314
    Computer type
    PC/Desktop
    CPU
    i5-11400F
    Motherboard
    Gigabyte
    Memory
    32GB
    Graphics Card(s)
    Geforce GT-1030
    Keyboard
    Logitech K400
    Mouse
    Logitech M720
    Internet Speed
    600 Mb
    Browser
    Edge
Just finished My fully debloated image and now testing:
It's for Huawei Matebook D15 with AMD processor and Realtek network adapter

Testing Windows desktop:
sfc and dism show no errors

it's using about 8GB of C drive

Task Manager:
RAM: 1.5GB of 8GB
Number of Processes: 50

Everything works fine. I'm going to install some old and new apps to test it.

Tested parts:
All hardware and drivers work properly
Edge
Settings
Explorer
Windows Update (downloaded and installed Defender updates)
Control panel
MS Store
Lock screen
System components (CMD, Event Viewer, ...)
Windows Search
Defender full and offline scan (I will install ESET)
It recognizes my phone and HDMI Display working well
There is no startup in Task Manager except Defender

Removed: Windows themes / XBOX Service / OneDrive / All Store apps / Unnecessary windows Components for me like Virtualization / Internet Explorer / Widgets / bing results in search

Event Viewer shows no errors. Reliability history is clean either.
No bugs =D

I think finally I did it.

will test this for 1 month and then I'm going to install it on my main machine (+ Daily backup)

@garlin @pseymour Thank you for your help.
 

My Computers

System One System Two

  • OS
    Windows 11 Pro 24H2
    Computer type
    Laptop
    Manufacturer/Model
    Huawei MateBook D15
    CPU
    Ryzen 5 3500U
    Memory
    8GB
    Graphics Card(s)
    Vega 8
    Screen Resolution
    FHD
    Hard Drives
    256GB Samsung SSD + 1TB HDD
    Browser
    Microsoft Edge
    Antivirus
    ESET Smart Security Premium
  • Operating System
    Windows 10 Enterprise LTSC 21H2
    Computer type
    Laptop
    Manufacturer/Model
    MSI GS73 6RF Stealth Pro
    CPU
    intel core i7 6700HQ
    Memory
    16GB
    Graphics card(s)
    Nvidia Geforce GTX1060 (6GB)
    Screen Resolution
    FHD
    Hard Drives
    128GB SSD + 1TB HDD
    Browser
    Microsoft Edge
    Antivirus
    Windows Defender
I have all the new features in this update except :
  • New! Find answers to commonly asked questions about your PC and Windows 11 in the new FAQs section under Settings > System > About. It covers topics like system setup, performance, and compatibility – all in one place.
  • New! When you drag a local file from File Explorer or your desktop, a tray appears at the top of your screen. Drop the file into a suggested app or select More to open the Windows share window.
I'm not download IP builds, so I'm exciting to see new features.
 
Last edited:

My Computer

System One

  • OS
    26100.2314
    Computer type
    PC/Desktop
    CPU
    i5-11400F
    Motherboard
    Gigabyte
    Memory
    32GB
    Graphics Card(s)
    Geforce GT-1030
    Keyboard
    Logitech K400
    Mouse
    Logitech M720
    Internet Speed
    600 Mb
    Browser
    Edge
Just finished My fully debloated image and now testing:
It's for Huawei Matebook D15 with AMD processor and Realtek network adapter
My NTLite Preset:
XML:
This XML file does not appear to have any style information associated with it. The document tree is shown below.
<Preset xmlns="urn:schemas-nliteos-com:pn.v1" isAutoSaved="true">
<Date>05/31/2025 13:35:16</Date>
<AppInfo>
<Version>2025.5.10429</Version>
<Licensed>No</Licensed>
<Protections>Yes</Protections>
<Host>Windows 11 Professional 24H2 x64 - 10.0.26100.4061 (en-US)</Host>
</AppInfo>
<ImageInfo>
<Version mode="offline">Windows 11 Professional 24H2 x64 - 10.0.26100.4202 (en-US)</Version>
<GUID>{DDE5E550-7E99-B796-494D-D27E8C3CEA04}</GUID>
</ImageInfo>
<RemoveComponents AppRemovalMode="Custom">
<c>appv 'Application Virtualization (App-V)'</c>
<c>branchcacheclient 'BranchCache Client'</c>
<c>fciclient 'File Server Resource Manager'</c>
<c>gamingperipherals 'Gaming Peripherals (Xbox GIP)'</c>
<c>internetexplorer32 'Internet Explorer - 32 bit'</c>
<c>la57 '57-bit Linear Addressing'</c>
<c>lxss 'Windows Subsystem for Linux'</c>
<c>microsoft.ecapp 'Eye Control'</c>
<c>microsoft.windows.contentdeliverymanager 'Content Delivery Manager'</c>
<c>microsoft.windows.narratorquickstart 'Narrator'</c>
<c>microsoft.windows.parentalcontrols 'Microsoft Family Safety'</c>
<c>microsoft.xboxgamecallableui 'Xbox Game UI'</c>
<c>microsoftwindows.client.coreai 'Windows Feature Experience Pack - CoreAI'</c>
<c>multipointconnector 'MultiPoint Connector'</c>
<c>otherthemes 'Windows Personalization themes'</c>
<c>remoteassistance 'Remote Assistance'</c>
<c>remotefx</c>
<c>remoteportredirector 'Remote Desktop Services Port Redirector'</c>
<c>sharemediacpl 'Share Media Control Panel'</c>
<c>telnetclient 'Telnet Client'</c>
<c>tftpclient 'TFTP client'</c>
<c>uev 'User Experience Virtualization (UE-V)'</c>
<c>wallpaperdefault 'Wallpaper (Default)'</c>
<c>wallpapers 'Wallpapers (Themes)'</c>
<c>windows.cbspreview 'Windows Barcode Preview'</c>
<c>xbox 'Xbox - Core'</c>
</RemoveComponents>
<Compatibility protectHidden="false">
<ComponentFeatures>
<Feature enabled="no">AppGuard</Feature>
<Feature enabled="yes">Battle.net</Feature>
<Feature enabled="no">YubiKey</Feature>
<Feature enabled="no">Bluetooth</Feature>
<Feature enabled="yes">USBCamera</Feature>
<Feature enabled="no">CapFrameX</Feature>
<Feature enabled="yes">Discord</Feature>
<Feature enabled="no">Docker</Feature>
<Feature enabled="yes">EA Anti-Cheat</Feature>
<Feature enabled="yes">FileSharing</Feature>
<Feature enabled="no">Hyper-V</Feature>
<Feature enabled="no">iCloud</Feature>
<Feature enabled="no">Kaspersky</Feature>
<Feature enabled="yes">OfficeSupport</Feature>
<Feature enabled="yes">AppxSupport</Feature>
<Feature enabled="yes">Netflix</Feature>
<Feature enabled="no">NetworkDiscovery</Feature>
<Feature enabled="yes">NightLight</Feature>
<Feature enabled="yes">NvidiaSetup</Feature>
<Feature enabled="yes">OOBE</Feature>
<Feature enabled="yes">Printing</Feature>
<Feature enabled="yes">Recommended-All</Feature>
<Feature enabled="no">RDPServer</Feature>
<Feature enabled="no">SamsungSwitch</Feature>
<Feature enabled="yes">Scanning</Feature>
<Feature enabled="yes">ServicingStack</Feature>
<Feature enabled="yes">ShellSearchSupport</Feature>
<Feature enabled="yes">Spotify</Feature>
<Feature enabled="yes">SFC</Feature>
<Feature enabled="yes">DefaultFonts</Feature>
<Feature enabled="no">SafeMode</Feature>
<Feature enabled="yes">TeamViewer</Feature>
<Feature enabled="no">Recommended-Tablet</Feature>
<Feature enabled="yes">HostRefresh</Feature>
<Feature enabled="no">USBModem</Feature>
<Feature enabled="yes">USB</Feature>
<Feature enabled="yes">VideoPlayback</Feature>
<Feature enabled="no">VPN</Feature>
<Feature enabled="yes">VisualStudio</Feature>
<Feature enabled="no">VSS</Feature>
<Feature enabled="yes">ActivationKMS</Feature>
<Feature enabled="yes">Activation</Feature>
<Feature enabled="yes">WinSetup</Feature>
<Feature enabled="yes">WindowsStore</Feature>
<Feature enabled="yes">WindowsUpdate</Feature>
<Feature enabled="yes">WLAN</Feature>
</ComponentFeatures>
<MachineDrivers>
<Machine enabled="yes">HostMachine</Machine>
<Machine enabled="no">Hyper-V VM</Machine>
<Machine enabled="no">Parallels VM</Machine>
<Machine enabled="no">Virtual Box VM</Machine>
<Machine enabled="no">VMware VM</Machine>
</MachineDrivers>
</Compatibility>
<Features>
<Feature name="Windows.Kernel.LA57~~~~0.0.1.0">false</Feature>
<Feature name="Microsoft.Windows.Wifi.Client.Broadcom.Bcmpciedhd63~~~~0.0.1.0">false</Feature>
<Feature name="Microsoft.Windows.Wifi.Client.Broadcom.Bcmwl63a~~~~0.0.1.0">false</Feature>
<Feature name="Microsoft.Windows.Wifi.Client.Broadcom.Bcmwl63al~~~~0.0.1.0">false</Feature>
<Feature name="OneCoreUAP.OneSync~~~~0.0.1.0">false</Feature>
<Feature name="Microsoft.Wallpapers.Extended~~~~0.0.1.0">false</Feature>
<Feature name="Hello.Face.20134~~~~0.0.1.0">false</Feature>
<Feature name="Microsoft.Windows.Ethernet.Client.Intel.E1i68x64~~~~0.0.1.0">false</Feature>
<Feature name="Microsoft.Windows.Ethernet.Client.Intel.E2f68~~~~0.0.1.0">false</Feature>
<Feature name="Microsoft.Windows.Wifi.Client.Intel.Netwbw02~~~~0.0.1.0">false</Feature>
<Feature name="Microsoft.Windows.Wifi.Client.Intel.Netwew00~~~~0.0.1.0">false</Feature>
<Feature name="Microsoft.Windows.Wifi.Client.Intel.Netwew01~~~~0.0.1.0">false</Feature>
<Feature name="Microsoft.Windows.Wifi.Client.Intel.Netwlv64~~~~0.0.1.0">false</Feature>
<Feature name="Microsoft.Windows.Wifi.Client.Intel.Netwns64~~~~0.0.1.0">false</Feature>
<Feature name="Microsoft.Windows.Wifi.Client.Intel.Netwsw00~~~~0.0.1.0">false</Feature>
<Feature name="Microsoft.Windows.Wifi.Client.Intel.Netwtw02~~~~0.0.1.0">false</Feature>
<Feature name="Microsoft.Windows.Wifi.Client.Intel.Netwtw04~~~~0.0.1.0">false</Feature>
<Feature name="Microsoft.Windows.Wifi.Client.Intel.Netwtw06~~~~0.0.1.0">false</Feature>
<Feature name="Microsoft.Windows.Wifi.Client.Intel.Netwtw08~~~~0.0.1.0">false</Feature>
<Feature name="Microsoft.Windows.Wifi.Client.Intel.Netwtw10~~~~0.0.1.0">false</Feature>
<Feature name="Printing-Foundation-InternetPrinting-Client">false</Feature>
<Feature name="Microsoft.Windows.Wifi.Client.Marvel.Mrvlpcie8897~~~~0.0.1.0">false</Feature>
<Feature name="MathRecognizer~~~~0.0.1.0">false</Feature>
<Feature name="MediaPlayback">false</Feature>
<Feature name="Microsoft.Windows.Notepad.System~~~~0.0.1.0">false</Feature>
<Feature name="Microsoft.Windows.Wifi.Client.Qualcomm.Athw8x~~~~0.0.1.0">false</Feature>
<Feature name="Microsoft.Windows.Wifi.Client.Qualcomm.Athwnx~~~~0.0.1.0">false</Feature>
<Feature name="Microsoft.Windows.Wifi.Client.Qualcomm.Qcamain10x64~~~~0.0.1.0">false</Feature>
<Feature name="Microsoft.Windows.Wifi.Client.Ralink.Netr28x~~~~0.0.1.0">false</Feature>
<Feature name="Windows.TerminalServices.AppServerClient~~~~">false</Feature>
<Feature name="MSRDC-Infrastructure">false</Feature>
<Feature name="Windows.SmbDirect~~~~">false</Feature>
<Feature name="App.StepsRecorder~~~~0.0.1.0">false</Feature>
<Feature name="Windows.Telnet.Client~~~~">false</Feature>
<Feature name="Windows.TFTP.Client~~~~">false</Feature>
<Feature name="Windows.HyperV.OptionalFeature.VirtualMachinePlatform.Client.Disabled~~~~">false</Feature>
<Feature name="Microsoft.Windows.Ethernet.Client.Vmware.Vmxnet3~~~~0.0.1.0">false</Feature>
<Feature name="Media.WindowsMediaPlayer~~~~0.0.12.0">false</Feature>
<Feature name="WindowsMediaPlayer">false</Feature>
<Feature name="WorkFolders-Client">false</Feature>
<Feature name="Windows.WorkFolders.Client~~~~">false</Feature>
</Features>
<Packages>
<Options>
<CleanHotfixedLeftovers>4</CleanHotfixedLeftovers>
<OptimizeAppX>false</OptimizeAppX>
<UpdateBootManager>false</UpdateBootManager>
</Options>
</Packages>
<Commands>
<PostUpdates>
<!-- <Command>cmd /c echo Example from [MOUNTDIR]\Windows &amp; pause</Command> -->
<!-- <Command>dism /image:[MOUNTDIR] /get-intl</Command> -->
</PostUpdates>
</Commands>
<Drivers>
<Options>
<ReuseDriverCache>false</ReuseDriverCache>
<ShowHidden>false</ShowHidden>
</Options>
</Drivers>
<Unattended mode="1">
<AnswerFileLocationPanther>false</AnswerFileLocationPanther>
<AnswerFileLocationBoot>false</AnswerFileLocationBoot>
<SaveBothArch>false</SaveBothArch>
<EditionPrompt>false</EditionPrompt>
<settings pass="oobeSystem">
<component name="Microsoft-Windows-International-Core">
<SystemLocale>en-US</SystemLocale>
<UILanguage>en-US</UILanguage>
<UILanguageFallback>en-US</UILanguageFallback>
<UserLocale>en-US</UserLocale>
</component>
<component name="Microsoft-Windows-Shell-Setup">
<TimeZone>Iran Standard Time</TimeZone>
</component>
</settings>
<settings pass="specialize">
<component name="Microsoft-Windows-Shell-Setup">
<ComputerName>MateBook</ComputerName>
</component>
</settings>
<settings pass="windowsPE">
<component name="Microsoft-Windows-International-Core-WinPE">
<SystemLocale>en-US</SystemLocale>
<UILanguage>en-US</UILanguage>
<UILanguageFallback>en-US</UILanguageFallback>
<UserLocale>en-US</UserLocale>
<SetupUILanguage>
<UILanguage>en-US</UILanguage>
</SetupUILanguage>
</component>
<component name="Microsoft-Windows-Setup">
<Diagnostics>
<OptIn>false</OptIn>
</Diagnostics>
<DynamicUpdate>
<Enable>true</Enable>
<WillShowUI>OnError</WillShowUI>
</DynamicUpdate>
<ImageInstall>
<OSImage>
<WillShowUI>OnError</WillShowUI>
<InstallFrom>
<MetaData>
<Key>/IMAGE/INDEX</Key>
<Value>1</Value>
</MetaData>
</InstallFrom>
</OSImage>
</ImageInstall>
<UserData>
<ProductKey>
<Key/>
</ProductKey>
</UserData>
</component>
</settings>
</Unattended>
<Tweaks>
<Settings>
<TweakGroup name="AutoLogger">
<Tweak name="ReadyBoot\Start">0</Tweak>
</TweakGroup>
<TweakGroup name="CrashControl">
<Tweak name="CrashControl\EnableLogFile">0</Tweak>
<Tweak name="CrashControl\LogEvent">0</Tweak>
<Tweak name="CrashControl\CrashDumpEnabled">0</Tweak>
</TweakGroup>
<TweakGroup name="DesktopTweaks">
<Tweak name="NewStartPanel\{5399E694-6CE5-4D6C-8FCE-1D8870FDCBA0}">1</Tweak>
<Tweak name="NewStartPanel\{20D04FE0-3AEA-1069-A2D8-08002B30309D}">1</Tweak>
<Tweak name="NewStartPanel\{F02C1A0D-BE21-4350-88B0-7367FC96EF3C}">1</Tweak>
<Tweak name="NewStartPanel\{645FF040-5081-101B-9F08-00AA002F954E}">1</Tweak>
<Tweak name="NewStartPanel\{59031a47-3f72-44a7-89c5-5595fe6b30ee}">1</Tweak>
<Tweak name="Start\HideRecentJumplists">1</Tweak>
<Tweak name="Advanced\Start_Layout">1</Tweak>
<Tweak name="Advanced\TaskbarMn">0</Tweak>
<Tweak name="Advanced\MMTaskbarEnabled">0</Tweak>
<Tweak name="Communications\ConfigureChatAutoInstall">0</Tweak>
</TweakGroup>
<TweakGroup name="Explorer">
<Tweak name="OperationStatusManager\EnthusiastMode">1</Tweak>
<Tweak name="AutoplayHandlers\DisableAutoplay">1</Tweak>
<Tweak name="Explorer\NoThumbnailCache">1</Tweak>
<Tweak name="Explorer\ClearRecentDocsOnExit">1</Tweak>
<Tweak name="cmd\HideBasedOnVelocityId">0</Tweak>
<Tweak name="Explorer\DisableThumbnails">1</Tweak>
<Tweak name="Explorer\DisableThumbnailsOnNetworkFolders">1</Tweak>
<Tweak name="Explorer\NoRecentDocsHistory">1</Tweak>
<Tweak name="{e88865ea-0e1c-4e20-9aa6-edcd0212c87c}\HiddenByDefault">1</Tweak>
<Tweak name="{f874310e-b6b7-47dc-bc84-b9e6b38f5903}\HiddenByDefault">1</Tweak>
<Tweak name="{031E4825-7B94-4dc3-B131-E946B44C8DD5}\System.IsPinnedToNameSpaceTree">0</Tweak>
<Tweak name="{F02C1A0D-BE21-4350-88B0-7367FC96EF3C}\ShellFolder\Attributes">-1332477852</Tweak>
<Tweak name="Advanced\NavPaneShowAllFolders">0</Tweak>
<Tweak name="Advanced\LaunchTo">1</Tweak>
<Tweak name="Explorer\HubMode">1</Tweak>
<Tweak name="Explorer\ShowCloudFilesInQuickAccess">0</Tweak>
<Tweak name="Advanced\ShowTaskViewButton">1</Tweak>
<Tweak name="Advanced\HideDrivesWithNoMedia">0</Tweak>
<Tweak name="Advanced\HideFileExt">0</Tweak>
<Tweak name="Advanced\Hidden">1</Tweak>
</TweakGroup>
<TweakGroup name="PowerAndShutdown">
<Tweak name="Power\HiberbootEnabled">0</Tweak>
<Tweak name="FlyoutMenuSettings\ShowHibernateOption">0</Tweak>
</TweakGroup>
<TweakGroup name="Privacy">
<Tweak name="appointments\Value">Deny</Tweak>
<Tweak name="phoneCallHistory\Value">Deny</Tweak>
<Tweak name="contacts\Value">Deny</Tweak>
<Tweak name="appDiagnostics\Value">Deny</Tweak>
<Tweak name="documentsLibrary\Value">Deny</Tweak>
<Tweak name="email\Value">Deny</Tweak>
<Tweak name="broadFileSystemAccess\Value">Deny</Tweak>
<Tweak name="chat\Value">Deny</Tweak>
<Tweak name="userNotificationListener\Value">Deny</Tweak>
<Tweak name="phoneCall\Value">Deny</Tweak>
<Tweak name="picturesLibrary\Value">Deny</Tweak>
<Tweak name="radios\Value">Deny</Tweak>
<Tweak name="LooselyCoupled\Value">Deny</Tweak>
<Tweak name="userDataTasks\Value">Deny</Tweak>
<Tweak name="userAccountInformation\Value">Deny</Tweak>
<Tweak name="videosLibrary\Value">Deny</Tweak>
<Tweak name="Client\OptInOrOutPreference">0</Tweak>
<Tweak name="System\AllowExperimentation">0</Tweak>
<Tweak name="System\AllowLocation">0</Tweak>
<Tweak name="DataCollection\AllowTelemetry">0</Tweak>
<Tweak name="CloudContent\DisableWindowsConsumerFeatures">1</Tweak>
<Tweak name="features\PaidWifi">0</Tweak>
<Tweak name="features\WiFiSenseOpen">0</Tweak>
<Tweak name="ContentDeliveryManager\SilentInstalledAppsEnabled">0</Tweak>
<Tweak name="System\AllowClipboardHistory">0</Tweak>
<Tweak name="CloudContent\DisableCloudOptimizedContent">1</Tweak>
<Tweak name="AppCompat\DisableInventory">1</Tweak>
<Tweak name="TrainedDataStore\HarvestContacts">0</Tweak>
<Tweak name="InputPersonalization\RestrictImplicitTextCollection">1</Tweak>
<Tweak name="InputPersonalization\RestrictImplicitInkCollection">1</Tweak>
<Tweak name="Explorer\DisableSearchBoxSuggestions">1</Tweak>
<Tweak name="Rules\NumberOfSIUFInPeriod">0</Tweak>
<Tweak name="SmartGlass\UserAuthPolicy">0</Tweak>
<Tweak name="SmartGlass\BluetoothPolicy">0</Tweak>
<Tweak name="BackgroundAccessApplications\GlobalUserDisabled">1</Tweak>
<Tweak name="AdvertisingInfo\Enabled">0</Tweak>
<Tweak name="Privacy\TailoredExperiencesWithDiagnosticDataEnabled">0</Tweak>
<Tweak name="AppSettings\Skype-UserConsentAccepted">0</Tweak>
<Tweak name="User Profile\HttpAcceptLanguageOptOut">1</Tweak>
<Tweak name="System\EnableActivityFeed">0</Tweak>
<Tweak name="Advanced\Start_TrackProgs">0</Tweak>
<Tweak name="Advanced\Start_TrackDocs">0</Tweak>
<Tweak name="ContentDeliveryManager\SystemPaneSuggestionsEnabled">0</Tweak>
<Tweak name="InputPersonalization\AllowInputPersonalization">0</Tweak>
<Tweak name="Settings\AcceptedPrivacyPolicy">0</Tweak>
<Tweak name="ContentDeliveryManager\PreInstalledAppsEnabled">0</Tweak>
<Tweak name="ContentDeliveryManager\OemPreInstalledAppsEnabled">0</Tweak>
<Tweak name="AppCompat\DisablePCA">1</Tweak>
<Tweak name="Windows Search\AllowCloudSearch">0</Tweak>
<Tweak name="Search\BingSearchEnabled">0</Tweak>
<Tweak name="SearchSettings\IsDeviceSearchHistoryEnabled">0</Tweak>
<Tweak name="TIPC\Enabled">0</Tweak>
<Tweak name="System\EnableCdp">0</Tweak>
<Tweak name="Shell\BagMRU Size">1</Tweak>
<Tweak name="Explorer\ShowFrequent">0</Tweak>
<Tweak name="AccountNotifications\EnableAccountNotifications">0</Tweak>
<Tweak name="ContentDeliveryManager\SubscribedContent-338393Enabled">0</Tweak>
<Tweak name="Explorer\ShowRecent">0</Tweak>
<Tweak name="UserProfileEngagement\ScoobeSystemSettingEnabled">0</Tweak>
<Tweak name="FlipAhead\FPEnabled">0</Tweak>
<Tweak name="WindowsCopilot\TurnOffWindowsCopilot">1</Tweak>
<Tweak name="WindowsAI\DisableAIDataAnalysis">1</Tweak>
<Tweak name="CloudContent\DisableWindowsSpotlightFeatures">1</Tweak>
</TweakGroup>
<TweakGroup name="StartTweaks">
<Tweak name="Start\HideFrequentlyUsedApps">1</Tweak>
<Tweak name="Explorer\HideRecentlyAddedApps">1</Tweak>
<Tweak name="Start\AllowPinnedFolderDocuments">0</Tweak>
<Tweak name="Start\AllowPinnedFolderDownloads">0</Tweak>
<Tweak name="Start\AllowPinnedFolderFileExplorer">0</Tweak>
<Tweak name="Start\AllowPinnedFolderHomeGroup">0</Tweak>
<Tweak name="Start\AllowPinnedFolderMusic">0</Tweak>
<Tweak name="Start\AllowPinnedFolderNetwork">0</Tweak>
<Tweak name="Start\AllowPinnedFolderPersonalFolder">0</Tweak>
<Tweak name="Start\AllowPinnedFolderPictures">0</Tweak>
<Tweak name="Start\AllowPinnedFolderSettings">0</Tweak>
<Tweak name="Start\AllowPinnedFolderVideos">0</Tweak>
<Tweak name="Start\HideHibernate">1</Tweak>
<Tweak name="Explorer\ShowOrHideMostUsedApps">0</Tweak>
<Tweak name="Advanced\Start_IrisRecommendations">0</Tweak>
</TweakGroup>
<TweakGroup name="System">
<Tweak name="GameBar\UseNexusForGameBarEnabled">0</Tweak>
<Tweak name="BitLocker\PreventDeviceEncryption">1</Tweak>
<Tweak name="Winlogon\RestartApps">0</Tweak>
<Tweak name="Configuration\DisableResetbase">0</Tweak>
<Tweak name="System\EnableLinkedConnections">0</Tweak>
<Tweak name="OneDrive\DisableFileSyncNGSC">1</Tweak>
<Tweak name="EMDMgmt\GroupPolicyDisallowCaches">1</Tweak>
<Tweak name="RDP-Tcp\UserAuthentication">0</Tweak>
<Tweak name="ReserveManager\ShippedWithReserves">0</Tweak>
<Tweak name="StoragePolicy\01">1</Tweak>
<Tweak name="StoragePolicy\512">0</Tweak>
<Tweak name="StoragePolicy\256">1</Tweak>
<Tweak name="StoragePolicy\04">1</Tweak>
<Tweak name="StoragePolicy\2048">1</Tweak>
<Tweak name="UserGpuPreferences\DirectXUserGlobalSettings">VRROptimizeEnable=0</Tweak>
<Tweak name="DeviceGuard\EnableVirtualizationBasedSecurity">0</Tweak>
<Tweak name="WinRE\UninstallWindowsRE">1</Tweak>
</TweakGroup>
<TweakGroup name="WindowsUpdateTasks">
<Tweak name="CrossDeviceUpdate\CrossDeviceUpdate">0</Tweak>
<Tweak name="DevHomeUpdate\DevHomeUpdate">0</Tweak>
<Tweak name="EdgeUpdate\EdgeUpdate">0</Tweak>
</TweakGroup>
<TweakGroup name="WindowsDefender">
<Tweak name="State\AccountProtection_MicrosoftAccount_Disconnected">0</Tweak>
<Tweak name="Notifications\DisableNotifications">1</Tweak>
<Tweak name="Notifications\DisableEnhancedNotifications">1</Tweak>
<Tweak name="Policy\VerifiedAndReputablePolicyState">0</Tweak>
<Tweak name="Features\TamperProtection">0</Tweak>
<Tweak name="Windows Defender\DisableAntiSpyware">1</Tweak>
</TweakGroup>
<TweakGroup name="WindowsUpdate">
<Tweak name="DriverSearching\SearchOrderConfig">1</Tweak>
<Tweak name="DeliveryOptimization\DODownloadMode">100</Tweak>
<Tweak name="Settings\IsContinuousInnovationOptedIn">1</Tweak>
<Tweak name="7971f918-a847-4430-9279-4a52d1efe18d\RegisterWithAU">1</Tweak>
<Tweak name="MRT\DontOfferThroughWUAU">0</Tweak>
<Tweak name="Settings\IsExpedited">0</Tweak>
<Tweak name="Settings\RestartNotificationsAllowed2">1</Tweak>
<Tweak name="ContentDeliveryManager\SubscribedContent-310093Enabled">0</Tweak>
<Tweak name="WindowsStore\AutoDownload">4</Tweak>
<Tweak name="AU\AUOptions">2</Tweak>
</TweakGroup>
</Settings>
<Services>
<TweakGroup name="services">
<Tweak name="AssignedAccessManagerSvc\AssignedAccessManagerSvc">4</Tweak>
<Tweak name="BDESVC\BDESVC">4</Tweak>
<Tweak name="DiagTrack\DiagTrack">4</Tweak>
<Tweak name="edgeupdate\edgeupdate">3</Tweak>
<Tweak name="SysMain\SysMain">4</Tweak>
<Tweak name="WSearch\WSearch">4</Tweak>
</TweakGroup>
</Services>
<ExtraServices>
<TweakGroup name="drivers">
<Tweak name="rdyboost\rdyboost">3</Tweak>
</TweakGroup>
</ExtraServices>
<ScheduledTasks/>
</Tweaks>
<ApplyOptions>
<ImageTasks>
<Task>imageSaveRebuild</Task>
<Task>imageFormatWim</Task>
<Task>imageOptionsCreateIso</Task>
</ImageTasks>
<AutoIsoFile>C:\NTLite\Windows11Huawei.iso</AutoIsoFile>
<AutoIsoLabel>Windows11</AutoIsoLabel>
<AutoSplitSize>4000</AutoSplitSize>
</ApplyOptions>
<Execution BeforeLogonMode="0">
<Remove/>
<Change/>
<Add>
<Item type="17">
<Path>C:\Assets\2- Silent Driver Installers\1_AMDGPIO_2.2.0.116\AMDGPIO_2.2.0.116.exe</Path>
<Params/>
<DestMode>1</DestMode>
<Index>0</Index>
</Item>
<Item type="17">
<Path>C:\Assets\2- Silent Driver Installers\2_AMDPSP_4.11.0.0\AMDPSP_4.11.0.0.exe</Path>
<Params/>
<DestMode>1</DestMode>
<Index>1</Index>
</Item>
<Item type="17">
<Path>C:\Assets\2- Silent Driver Installers\3_AMDSMBus_5.12.0.38\AMDSMBus_5.12.0.38.exe</Path>
<Params/>
<DestMode>1</DestMode>
<Index>2</Index>
</Item>
<Item type="17">
<Path>C:\Assets\2- Silent Driver Installers\4_FingerPrint_1.1.124.115\BohrK_FingerPrint_1.1.124.115.exe</Path>
<Params/>
<DestMode>1</DestMode>
<Index>3</Index>
</Item>
<Item type="17">
<Path>C:\Assets\2- Silent Driver Installers\5_AMDGraphics_26.20.11030.22001\BohrK_AMDGraphics_26.20.11030.22001_VB2.exe</Path>
<Params/>
<DestMode>1</DestMode>
<Index>4</Index>
</Item>
<Item type="17">
<Path>C:\Assets\2- Silent Driver Installers\6_Monitor_23.8.16.1\BohrK_Monitor_23.8.16.1.exe</Path>
<Params/>
<DestMode>1</DestMode>
<Index>5</Index>
</Item>
<Item type="17">
<Path>C:\Assets\2- Silent Driver Installers\7_G-Sensor_2.2.7.0\BohrK_G-Sensor_2.2.7.0.exe</Path>
<Params/>
<DestMode>1</DestMode>
<Index>6</Index>
</Item>
<Item type="17">
<Path>C:\Assets\2- Silent Driver Installers\8_OSD_13.0.6.400\HwOsdSetup_13.0.6.400.exe</Path>
<Params/>
<DestMode>1</DestMode>
<Index>7</Index>
</Item>
<Item type="17">
<Path>C:\Assets\2- Silent Driver Installers\9_Audio_6.0.9155.1\X13_BohrKNobelK_Audio_6.0.9155.1.exe</Path>
<Params/>
<DestMode>1</DestMode>
<Index>8</Index>
</Item>
<Item type="17">
<Path>C:\Assets\2- Silent Driver Installers\10_ACPBus_1.17.0.91\ACPBus_1.17.0.91.exe</Path>
<Params/>
<DestMode>1</DestMode>
<Index>9</Index>
</Item>
<Item type="17">
<Path>C:\Assets\2- Silent Driver Installers\11_RealtekWiFi_2024.0.9.230\BohrK_RealtekWLAN_2024.0.9.230.exe</Path>
<Params/>
<DestMode>1</DestMode>
<Index>10</Index>
</Item>
<Item type="17">
<Path>C:\Assets\4- Services\Services.bat</Path>
<Params/>
<DestMode>1</DestMode>
<Index>11</Index>
</Item>
<Item type="17">
<Path>C:\Assets\5- Scheduled Tasks\TaskScheduler.bat</Path>
<Params/>
<DestMode>1</DestMode>
<Index>12</Index>
</Item>
<Item type="17">
<Path>C:\Assets\6- Extra Commands\Extra.bat</Path>
<Params/>
<DestMode>1</DestMode>
<Index>13</Index>
</Item>
<Item type="18">
<Path>C:\Assets\3- Registry\bat\Registry.bat</Path>
<Params/>
<DestMode>1</DestMode>
<Index>1000</Index>
</Item>
<Item type="18">
<Path>C:\Assets\4- Services\Services.bat</Path>
<Params/>
<DestMode>1</DestMode>
<Index>1001</Index>
</Item>
<Item type="18">
<Path>C:\Assets\5- Scheduled Tasks\TaskScheduler.bat</Path>
<Params/>
<DestMode>1</DestMode>
<Index>1002</Index>
</Item>
<Item type="18">
<Path>C:\Assets\8- OOSU10\OOSU10.exe</Path>
<Params/>
<DestMode>1</DestMode>
<Index>1003</Index>
</Item>
<Item type="18">
<Path>C:\Assets\9- Optimizer\InstallOptimizer.bat</Path>
<Params/>
<DestMode>1</DestMode>
<Index>1004</Index>
</Item>
</Add>
</Execution>
<Registry>
<File>C:\Assets\3- Registry\reg\AllowGameDVR.reg</File>
<File>C:\Assets\3- Registry\reg\AllowTelemetry.reg</File>
<File>C:\Assets\3- Registry\reg\AllowTelemetryDC.reg</File>
<File>C:\Assets\3- Registry\reg\AlternateErrorPagesEnabled.reg</File>
<File>C:\Assets\3- Registry\reg\AutoUpdateEnabled.reg</File>
<File>C:\Assets\3- Registry\reg\BingSearchEnabled.reg</File>
<File>C:\Assets\3- Registry\reg\ConfigureDoNotTrack.reg</File>
<File>C:\Assets\3- Registry\reg\ContentDeliveryAllowed.reg</File>
<File>C:\Assets\3- Registry\reg\CrashDump.reg</File>
<File>C:\Assets\3- Registry\reg\CreateDesktopShortcutDefault.reg</File>
<File>C:\Assets\3- Registry\reg\CryptoWalletEnabled.reg</File>
<File>C:\Assets\3- Registry\reg\DODownloadMode.reg</File>
<File>C:\Assets\3- Registry\reg\DiagnosticData.reg</File>
<File>C:\Assets\3- Registry\reg\DisableAIDataAnalysis.reg</File>
<File>C:\Assets\3- Registry\reg\DisableRemovableDriveIndexing.reg</File>
<File>C:\Assets\3- Registry\reg\DisableTailoredExperiencesWithDiagnosticData.reg</File>
<File>C:\Assets\3- Registry\reg\DisableWindowsConsumerFeatures.reg</File>
<File>C:\Assets\3- Registry\reg\DisableWpbtExecution.reg</File>
<File>C:\Assets\3- Registry\reg\Disable_Hibernate.reg</File>
<File>C:\Assets\3- Registry\reg\Disable_Windows_Error_Reporting_all_users.reg</File>
<File>C:\Assets\3- Registry\reg\Disable_adding_locations_on_removable_drives_to_libraries_and_index.reg</File>
<File>C:\Assets\3- Registry\reg\Disable_advanced_indexing_options.reg</File>
<File>C:\Assets\3- Registry\reg\Disabled.reg</File>
<File>C:\Assets\3- Registry\reg\DisabledByGroupPolicy.reg</File>
<File>C:\Assets\3- Registry\reg\DisabledReporting.reg</File>
<File>C:\Assets\3- Registry\reg\DoNotShowFeedbackNotifications.reg</File>
<File>C:\Assets\3- Registry\reg\EdgeAssetDeliveryServiceEnabled.reg</File>
<File>C:\Assets\3- Registry\reg\EdgeCollectionsEnabled.reg</File>
<File>C:\Assets\3- Registry\reg\EdgeShoppingAssistantEnabled.reg</File>
<File>C:\Assets\3- Registry\reg\EnableActivityFeed.reg</File>
<File>C:\Assets\3- Registry\reg\EnableFeeds.reg</File>
<File>C:\Assets\3- Registry\reg\EnthusiastMode.reg</File>
<File>C:\Assets\3- Registry\reg\GameDVR_EFSEFeatureFlags.reg</File>
<File>C:\Assets\3- Registry\reg\GameDVR_Enabled.reg</File>
<File>C:\Assets\3- Registry\reg\GameDVR_FSEBehavior.reg</File>
<File>C:\Assets\3- Registry\reg\GameDVR_HonorUserFSEBehaviorMode.reg</File>
<File>C:\Assets\3- Registry\reg\GlobalUserDisabled.reg</File>
<File>C:\Assets\3- Registry\reg\HibernateEnabled.reg</File>
<File>C:\Assets\3- Registry\reg\HideFirstRunExperience.reg</File>
<File>C:\Assets\3- Registry\reg\HideRecommendedSection.reg</File>
<File>C:\Assets\3- Registry\reg\HideRecommendedSectionstart.reg</File>
<File>C:\Assets\3- Registry\reg\HideSCAMeetNow.reg</File>
<File>C:\Assets\3- Registry\reg\IRPStackSize.reg</File>
<File>C:\Assets\3- Registry\reg\IsEducationEnvironment.reg</File>
<File>C:\Assets\3- Registry\reg\LaunchTo.reg</File>
<File>C:\Assets\3- Registry\reg\LongPathsEnabled.reg</File>
<File>C:\Assets\3- Registry\reg\MicrosoftEdgeInsiderPromotionEnabled.reg</File>
<File>C:\Assets\3- Registry\reg\NetworkThrottlingIndex.reg</File>
<File>C:\Assets\3- Registry\reg\None_for_no_memory_dump.reg</File>
<File>C:\Assets\3- Registry\reg\NtfsDisableLastAccessUpdate.reg</File>
<File>C:\Assets\3- Registry\reg\NumberOfSIUFInPeriod.reg</File>
<File>C:\Assets\3- Registry\reg\NumberOfSIUFInPeriodR.reg</File>
<File>C:\Assets\3- Registry\reg\OemPreInstalledAppsEnabled.reg</File>
<File>C:\Assets\3- Registry\reg\PeopleBand.reg</File>
<File>C:\Assets\3- Registry\reg\PersonalizationReportingEnabled.reg</File>
<File>C:\Assets\3- Registry\reg\PreInstalledAppsEnabled.reg</File>
<File>C:\Assets\3- Registry\reg\PreInstalledAppsEverEnabled.reg</File>
<File>C:\Assets\3- Registry\reg\PreventUsingAdvancedIndexingOptions.reg</File>
<File>C:\Assets\3- Registry\reg\PublishUserActivities.reg</File>
<File>C:\Assets\3- Registry\reg\RPSessionInterval.reg</File>
<File>C:\Assets\3- Registry\reg\ScoobeSystemSettingEnabled.reg</File>
<File>C:\Assets\3- Registry\reg\SearchOrderConfig.reg</File>
<File>C:\Assets\3- Registry\reg\SensorPermissionState.reg</File>
<File>C:\Assets\3- Registry\reg\ShowHibernateOption.reg</File>
<File>C:\Assets\3- Registry\reg\ShowMicrosoftRewards.reg</File>
<File>C:\Assets\3- Registry\reg\ShowRecommendationsEnabled.reg</File>
<File>C:\Assets\3- Registry\reg\SilentInstalledAppsEnabled.reg</File>
<File>C:\Assets\3- Registry\reg\Start.reg</File>
<File>C:\Assets\3- Registry\reg\Status.reg</File>
<File>C:\Assets\3- Registry\reg\SubscribedContent338387Enabled.reg</File>
<File>C:\Assets\3- Registry\reg\SubscribedContent338388Enabled.reg</File>
<File>C:\Assets\3- Registry\reg\SubscribedContent338389Enabled.reg</File>
<File>C:\Assets\3- Registry\reg\SubscribedContent353698Enabled.reg</File>
<File>C:\Assets\3- Registry\reg\SystemPaneSuggestionsEnabled.reg</File>
<File>C:\Assets\3- Registry\reg\SystemResponsiveness.reg</File>
<File>C:\Assets\3- Registry\reg\TurnOffWindowsCopilot.reg</File>
<File>C:\Assets\3- Registry\reg\TurnOffWindowsCopilotsoft.reg</File>
<File>C:\Assets\3- Registry\reg\Turn_OFF_Windows_Error_Reporting_all_users.reg</File>
<File>C:\Assets\3- Registry\reg\Turn_off_System_Protection_for_all_drives.reg</File>
<File>C:\Assets\3- Registry\reg\UploadUserActivities.reg</File>
<File>C:\Assets\3- Registry\reg\UserFeedbackAllowed.reg</File>
<File>C:\Assets\3- Registry\reg\User_Managed,_Last_Access_Updates_Disabled.reg</File>
<File>C:\Assets\3- Registry\reg\Value.reg</File>
<File>C:\Assets\3- Registry\reg\ValueHot.reg</File>
<File>C:\Assets\3- Registry\reg\ValueRep.reg</File>
<File>C:\Assets\3- Registry\reg\WalletDonationEnabled.reg</File>
<File>C:\Assets\3- Registry\reg\WebWidgetAllowed.reg</File>
<File>C:\Assets\3- Registry\reg\fAllowToGetHelp.reg</File>
</Registry>
</Preset>
 

My Computers

System One System Two

  • OS
    Windows 11 Pro 24H2
    Computer type
    Laptop
    Manufacturer/Model
    Huawei MateBook D15
    CPU
    Ryzen 5 3500U
    Memory
    8GB
    Graphics Card(s)
    Vega 8
    Screen Resolution
    FHD
    Hard Drives
    256GB Samsung SSD + 1TB HDD
    Browser
    Microsoft Edge
    Antivirus
    ESET Smart Security Premium
  • Operating System
    Windows 10 Enterprise LTSC 21H2
    Computer type
    Laptop
    Manufacturer/Model
    MSI GS73 6RF Stealth Pro
    CPU
    intel core i7 6700HQ
    Memory
    16GB
    Graphics card(s)
    Nvidia Geforce GTX1060 (6GB)
    Screen Resolution
    FHD
    Hard Drives
    128GB SSD + 1TB HDD
    Browser
    Microsoft Edge
    Antivirus
    Windows Defender
My NTLite Preset:
A list of my commonly used commands:
Batch:
@echo off
cd /d "%~dp0"
cls

echo :::::::::::::::::::::::::::::::::::::::
echo ::  Install Optimizer Script         ::
echo ::                                   ::
echo ::  Version 1.1.0                    ::
echo ::                                   ::
echo ::  Jun 01, 2025 by  S.H.E.I.K.H     ::
echo :::::::::::::::::::::::::::::::::::::::
echo.
echo. For post-install use only
pause

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: This Script will repair Windows with SFC and DISM commands and then runs a deep clean command to       ::
:: delete temporary files.                                                                                ::
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::


::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Check to see if this batch file is being run as Administrator. If it is not, then rerun the batch file ::
:: automatically as admin and terminate the initial instance of the batch file.                           ::
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

(Fsutil Dirty Query %SystemDrive%>Nul)||(PowerShell start """%~f0""" -verb RunAs & Exit /B) > NUL 2>&1

::::::::::::::::::::::::::::::::::::::::::::::::
:: End Routine to check if being run as Admin ::
::::::::::::::::::::::::::::::::::::::::::::::::

echo.
echo ::::::::::::::::::::::::::::::
echo ::::: Setting Registries :::::
echo ::::::::::::::::::::::::::::::
echo.

REG Add "HKLM\SYSTEM\CurrentControlSet\Control\CrashControl" /V CrashDumpEnabled /T REG_DWORD /D 0 /F
REG Add "HKLM\SYSTEM\CurrentControlSet\Control\FileSystem" /V NtfsDisableLastAccessUpdate /T REG_DWORD /D 80000001 /F
REG Add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Search" /V DisableRemovableDriveIndexing /T REG_DWORD /D 1 /F
REG Add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Search" /V PreventUsingAdvancedIndexingOptions /T REG_DWORD /D 1 /F
REG Add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SystemRestore" /V RPSessionInterval /T REG_DWORD /D 0 /F
REG Add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Error Reporting" /V Disabled /T REG_DWORD /D 1 /F
REG Add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Error Reporting" /V Disabled /T REG_DWORD /D 1 /F
REG Add "HKLM\SOFTWARE\Policies\Microsoft\Windows\System" /V EnableActivityFeed /T REG_DWORD /D 0 /F
REG Add "HKLM\SOFTWARE\Policies\Microsoft\Windows\System" /V PublishUserActivities /T REG_DWORD /D 0 /F
REG Add "HKLM\SOFTWARE\Policies\Microsoft\Windows\System" /V UploadUserActivities /T REG_DWORD /D 0 /F
REG Add "HKLM\System\CurrentControlSet\Control\Session Manager\Power" /V HibernateEnabled /T REG_DWORD /D 0 /F
REG Add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FlyoutMenuSettings" /V ShowHibernateOption /T REG_DWORD /D 0 /F
REG Add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore\location" /V Value /T REG_SZ /D Deny /F
REG Add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Sensor\Overrides\{BFA794E4-F964-4FDB-90F6-51056BFE4B44}" /V SensorPermissionState /T REG_DWORD /D 0 /F
REG Add "HKLM\SYSTEM\CurrentControlSet\Services\lfsvc\Service\Configuration" /V Status /T REG_DWORD /D 0 /F
REG Add "HKLM\SYSTEM\Maps" /V AutoUpdateEnabled /T REG_DWORD /D 0 /F
REG Add "HKLM\SOFTWARE\Policies\Microsoft\EdgeUpdate" /V CreateDesktopShortcutDefault /T REG_DWORD /D 0 /F
REG Add "HKLM\SOFTWARE\Policies\Microsoft\Edge" /V PersonalizationReportingEnabled /T REG_DWORD /D 0 /F
REG Add "HKLM\SOFTWARE\Policies\Microsoft\Edge" /V ShowRecommendationsEnabled /T REG_DWORD /D 0 /F
REG Add "HKLM\SOFTWARE\Policies\Microsoft\Edge" /V HideFirstRunExperience /T REG_DWORD /D 1 /F
REG Add "HKLM\SOFTWARE\Policies\Microsoft\Edge" /V UserFeedbackAllowed /T REG_DWORD /D 0 /F
REG Add "HKLM\SOFTWARE\Policies\Microsoft\Edge" /V ConfigureDoNotTrack /T REG_DWORD /D 1 /F
REG Add "HKLM\SOFTWARE\Policies\Microsoft\Edge" /V AlternateErrorPagesEnabled /T REG_DWORD /D 0 /F
REG Add "HKLM\SOFTWARE\Policies\Microsoft\Edge" /V EdgeCollectionsEnabled /T REG_DWORD /D 0 /F
REG Add "HKLM\SOFTWARE\Policies\Microsoft\Edge" /V EdgeShoppingAssistantEnabled /T REG_DWORD /D 0 /F
REG Add "HKLM\SOFTWARE\Policies\Microsoft\Edge" /V MicrosoftEdgeInsiderPromotionEnabled /T REG_DWORD /D 0 /F
REG Add "HKLM\SOFTWARE\Policies\Microsoft\Edge" /V PersonalizationReportingEnabled /T REG_DWORD /D 0 /F
REG Add "HKLM\SOFTWARE\Policies\Microsoft\Edge" /V ShowMicrosoftRewards /T REG_DWORD /D 0 /F
REG Add "HKLM\SOFTWARE\Policies\Microsoft\Edge" /V WebWidgetAllowed /T REG_DWORD /D 0 /F
REG Add "HKLM\SOFTWARE\Policies\Microsoft\Edge" /V DiagnosticData /T REG_DWORD /D 0 /F
REG Add "HKLM\SOFTWARE\Policies\Microsoft\Edge" /V EdgeAssetDeliveryServiceEnabled /T REG_DWORD /D 0 /F
REG Add "HKLM\SOFTWARE\Policies\Microsoft\Edge" /V EdgeCollectionsEnabled /T REG_DWORD /D 0 /F
REG Add "HKLM\SOFTWARE\Policies\Microsoft\Edge" /V CryptoWalletEnabled /T REG_DWORD /D 0 /F
REG Add "HKLM\SOFTWARE\Policies\Microsoft\Edge" /V WalletDonationEnabled /T REG_DWORD /D 0 /F
REG Add "HKLM\SOFTWARE\Policies\Microsoft\Windows\CloudContent" /V DisableWindowsConsumerFeatures /T REG_DWORD /D 1 /F
REG Add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\DataCollection" /V AllowTelemetry /T REG_DWORD /D 0 /F
REG Add "HKLM\SOFTWARE\Policies\Microsoft\Windows\DataCollection" /V AllowTelemetry /T REG_DWORD /D 0 /F
REG Add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /V ContentDeliveryAllowed /T REG_DWORD /D 0 /F
REG Add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /V OemPreInstalledAppsEnabled /T REG_DWORD /D 0 /F
REG Add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /V PreInstalledAppsEnabled /T REG_DWORD /D 0 /F
REG Add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /V PreInstalledAppsEverEnabled /T REG_DWORD /D 0 /F
REG Add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /V SilentInstalledAppsEnabled /T REG_DWORD /D 0 /F
REG Add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /V SubscribedContent-338387Enabled /T REG_DWORD /D 0 /F
REG Add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /V SubscribedContent-338388Enabled /T REG_DWORD /D 0 /F
REG Add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /V SubscribedContent-338389Enabled /T REG_DWORD /D 0 /F
REG Add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /V SubscribedContent-353698Enabled /T REG_DWORD /D 0 /F
REG Add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /V SystemPaneSuggestionsEnabled /T REG_DWORD /D 0 /F
REG Add "HKLM\SOFTWARE\Microsoft\Siuf\Rules" /V NumberOfSIUFInPeriod /T REG_DWORD /D 0 /F
REG Add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /V NumberOfSIUFInPeriod /T REG_DWORD /D 0 /F
REG Add "HKLM\SOFTWARE\Policies\Microsoft\Windows\DataCollection" /V DoNotShowFeedbackNotifications /T REG_DWORD /D 1 /F
REG Add "HKLM\SOFTWARE\Policies\Microsoft\Windows\CloudContent" /V DisableTailoredExperiencesWithDiagnosticData /T REG_DWORD /D 1 /F
REG Add "HKLM\SOFTWARE\Policies\Microsoft\Windows\AdvertisingInfo" /V DisabledByGroupPolicy /T REG_DWORD /D 1 /F
REG Add "HKLM\SOFTWARE\Microsoft\Windows\Windows Error Reporting" /V Disabled /T REG_DWORD /D 1 /F
REG Add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\DeliveryOptimization\Config" /V DODownloadMode /T REG_DWORD /D 1 /F
REG Add "HKLM\SYSTEM\CurrentControlSet\Control\Remote Assistance" /V fAllowToGetHelp /T REG_DWORD /D 0 /F
REG Add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\OperationStatusManager" /V EnthusiastMode /T REG_DWORD /D 1 /F
REG Add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\People" /V PeopleBand /T REG_DWORD /D 0 /F
REG Add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /V LaunchTo /T REG_DWORD /D 1 /F
REG Add "HKLM\SYSTEM\CurrentControlSet\Control\FileSystem" /V LongPathsEnabled /T REG_DWORD /D 1 /F
REG Add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\DriverSearching" /V SearchOrderConfig /T REG_DWORD /D 1 /F
REG Add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\SystemProfile" /V SystemResponsiveness /T REG_DWORD /D 0 /F
REG Add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\SystemProfile" /V NetworkThrottlingIndex /T REG_DWORD /D 4294967295 /F
REG Add "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management" /V ClearPageFileAtShutdown /T REG_DWORD /D 0 /F
REG Add "HKLM\SYSTEM\ControlSet001\Services\Ndu" /V Start /T REG_DWORD /D 2 /F
REG Add "HKLM\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters" /V IRPStackSize /T REG_DWORD /D 30 /F
REG Add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /V HideSCAMeetNow /T REG_DWORD /D 1 /F
REG Add "HKLM\Software\Microsoft\Windows\CurrentVersion\UserProfileEngagement" /V ScoobeSystemSettingEnabled /T REG_DWORD /D 0 /F
REG Add "HKLM\Software\Microsoft\PolicyManager\default\WiFi\AllowWiFiHotSpotReporting" /V Value /T REG_DWORD /D 0 /F
REG Add "HKLM\Software\Microsoft\PolicyManager\default\WiFi\AllowAutoConnectToWiFiSenseHotspots" /V Value /T REG_DWORD /D 0 /F
REG Add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsCopilot" /V TurnOffWindowsCopilot /T REG_DWORD /D 1 /F
REG Add "HKLM\Software\Policies\Microsoft\Windows\WindowsCopilot" /V TurnOffWindowsCopilot /T REG_DWORD /D 1 /F
REG Add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsAI" /V DisableAIDataAnalysis /T REG_DWORD /D 1 /F
REG Add "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager" /V DisableWpbtExecution /T REG_DWORD /D 1 /F
REG Add "HKLM\System\GameConfigStore" /V GameDVR_FSEBehavior /T REG_DWORD /D 2 /F
REG Add "HKLM\System\GameConfigStore" /V GameDVR_Enabled /T REG_DWORD /D 0 /F
REG Add "HKLM\System\GameConfigStore" /V GameDVR_HonorUserFSEBehaviorMode /T REG_DWORD /D 1 /F
REG Add "HKLM\System\GameConfigStore" /V GameDVR_EFSEFeatureFlags /T REG_DWORD /D 0 /F
REG Add "HKLM\SOFTWARE\Policies\Microsoft\Windows\GameDVR" /V AllowGameDVR /T REG_DWORD /D 0 /F
REG Add "HKLM\Software\Microsoft\Windows\CurrentVersion\BackgroundAccessApplications" /V GlobalUserDisabled /T REG_DWORD /D 1 /F
REG Add "HKLM\Software\Microsoft\Windows\CurrentVersion\Search" /V BingSearchEnabled /T REG_DWORD /D 0 /F
REG Add "HKLM\SOFTWARE\Microsoft\PolicyManager\current\device\Education" /V IsEducationEnvironment /T REG_DWORD /D 0 /F
REG Add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /V SettingsPageVisibility /T REG_SZ /D hide:home /F

echo Done!


echo.
echo ::::::::::::::::::::::::::::
echo ::::: Setting Services :::::
echo ::::::::::::::::::::::::::::
echo.

sc stop "wsearch"
sc config "wsearch" start=disabled
sc stop "SysMain"
sc config "SysMain" start=disabled
sc stop "AJRouter"
sc config "AJRouter" start=disabled
sc stop "AppVClient"
sc config "AppVClient" start=disabled
sc stop "AssignedAccessManagerSvc"
sc config "AssignedAccessManagerSvc" start=disabled
sc stop "DiagTrack"
sc config "DiagTrack" start=disabled
sc stop "DialogBlockingService"
sc config "DialogBlockingService" start=disabled
sc stop "NetTcpPortSharing"
sc config "NetTcpPortSharing" start=disabled
sc stop "RemoteAccess"
sc config "RemoteAccess" start=disabled
sc stop "RemoteRegistry"
sc config "RemoteRegistry" start=disabled
sc stop "UevAgentService"
sc config "UevAgentService" start=disabled
sc stop "shpamsvc"
sc config "shpamsvc" start=disabled
sc stop "ssh-agent"
sc config "ssh-agent" start=disabled
sc stop "tzautoupdate"
sc config "tzautoupdate" start=disabled
sc stop "uhssvc"
sc config "uhssvc" start=disabled
sc config "ALG" start=Demand
sc config "AppIDSvc" start=Demand
sc config "AppMgmt" start=Demand
sc config "AppReadiness" start=Demand
sc config "AppXSvc" start=Demand
sc config "Appinfo" start=Demand
sc config "AxInstSV" start=Demand
sc config "BDESVC" start=Demand
sc config "BTAGService" start=Demand
sc config "BcastDVRUserService_*" start=Demand
sc config "BluetoothUserService_*" start=Demand
sc config "Browser" start=Demand
sc config "CDPSvc" start=Demand
sc config "COMSysApp" start=Demand
sc config "CaptureService_*" start=Demand
sc config "CertPropSvc" start=Demand
sc config "ClipSVC" start=Demand
sc config "ConsentUxUserSvc_*" start=Demand
sc config "CredentialEnrollmentManagerUserSvc_*" start=Demand
sc config "CscService" start=Demand
sc config "DcpSvc" start=Demand
sc config "DevQueryBroker" start=Demand
sc config "DeviceAssociationBrokerSvc_*" start=Demand
sc config "DeviceAssociationService" start=Demand
sc config "DeviceInstall" start=Demand
sc config "DevicePickerUserSvc_*" start=Demand
sc config "DevicesFlowUserSvc_*" start=Demand
sc config "DisplayEnhancementService" start=Demand
sc config "DmEnrollmentSvc" start=Demand
sc config "EFS" start=Demand
sc config "EapHost" start=Demand
sc config "EntAppSvc" start=Demand
sc config "FDResPub" start=Demand
sc config "Fax" start=Demand
sc config "FrameServer" start=Demand
sc config "FrameServerMonitor" start=Demand
sc config "GraphicsPerfSvc" start=Demand
sc config "HomeGroupListener" start=Demand
sc config "HomeGroupProvider" start=Demand
sc config "HvHost" start=Demand
sc config "IEEtwCollectorService" start=Demand
sc config "IKEEXT" start=Demand
sc config "InstallService" start=Demand
sc config "InventorySvc" start=Demand
sc config "IpxlatCfgSvc" start=Demand
sc config "KtmRm" start=Demand
sc config "LicenseManager" start=Demand
sc config "LxpSvc" start=Demand
sc config "MSDTC" start=Demand
sc config "MSiSCSI" start=Demand
sc config "McpManagementService" start=Demand
sc config "MessagingService_*" start=Demand
sc config "MicrosoftEdgeElevationService" start=Demand
sc config "MixedRealityOpenXRSvc" start=Demand
sc config "MsKeyboardFilter" start=Demand
sc config "NPSMSvc_*" start=Demand
sc config "NaturalAuthentication" start=Demand
sc config "NcaSvc" start=Demand
sc config "NcbService" start=Demand
sc config "NcdAutoSetup" start=Demand
sc config "NetSetupSvc" start=Demand
sc config "Netman" start=Demand
sc config "NgcCtnrSvc" start=Demand
sc config "NgcSvc" start=Demand
sc config "NlaSvc" start=Demand
sc config "P9RdrService_*" start=Demand
sc config "PNRPAutoReg" start=Demand
sc config "PNRPsvc" start=Demand
sc config "PcaSvc" start=Demand
sc config "PeerDistSvc" start=Demand
sc config "PenService_*" start=Demand
sc config "PerfHost" start=Demand
sc config "PhoneSvc" start=Demand
sc config "PimIndexMaintenanceSvc_*" start=Demand
sc config "PlugPlay" start=Demand
sc config "PolicyAgent" start=Demand
sc config "PrintNotify" start=Demand
sc config "PrintWorkflowUserSvc_*" start=Demand
sc config "PushToInstall" start=Demand
sc config "QWAVE" start=Demand
sc config "RasAuto" start=Demand
sc config "RasMan" start=Demand
sc config "RetailDemo" start=Demand
sc config "RmSvc" start=Demand
sc config "RpcLocator" start=Demand
sc config "SCPolicySvc" start=Demand
sc config "SCardSvr" start=Demand
sc config "SDRSVC" start=Demand
sc config "SEMgrSvc" start=Demand
sc config "SNMPTRAP" start=Demand
sc config "SNMPTrap" start=Demand
sc config "SSDPSRV" start=Demand
sc config "ScDeviceEnum" start=Demand
sc config "SecurityHealthService" start=Demand
sc config "Sense" start=Demand
sc config "SensorDataService" start=Demand
sc config "SensorService" start=Demand
sc config "SensrSvc" start=Demand
sc config "SessionEnv" start=Demand
sc config "SharedAccess" start=Demand
sc config "SharedRealitySvc" start=Demand
sc config "SmsRouter" start=Demand
sc config "SstpSvc" start=Demand
sc config "StiSvc" start=Demand
sc config "StorSvc" start=Demand
sc config "TabletInputService" start=Demand
sc config "TapiSrv" start=Demand
sc config "TieringEngineService" start=Demand
sc config "TimeBroker" start=Demand
sc config "TimeBrokerSvc" start=Demand
sc config "TokenBroker" start=Demand
sc config "TroubleshootingSvc" start=Demand
sc config "TrustedInstaller" start=Demand
sc config "UI0Detect" start=Demand
sc config "UdkUserSvc_*" start=Demand
sc config "UmRdpService" start=Demand
sc config "UnistoreSvc_*" start=Demand
sc config "UserDataSvc_*" start=Demand
sc config "UsoSvc" start=Demand
sc config "VSS" start=Demand
sc config "VacSvc" start=Demand
sc config "W32Time" start=Demand
sc config "WEPHOSTSVC" start=Demand
sc config "WFDSConMgrSvc" start=Demand
sc config "WMPNetworkSvc" start=Demand
sc config "WManSvc" start=Demand
sc config "WPDBusEnum" start=Demand
sc config "WSService" start=Demand
sc config "WaaSMedicSvc" start=Demand
sc config "WalletService" start=Demand
sc config "WarpJITSvc" start=Demand
sc config "WcsPlugInService" start=Demand
sc config "WdNisSvc" start=Demand
sc config "WdiServiceHost" start=Demand
sc config "WdiSystemHost" start=Demand
sc config "WebClient" start=Demand
sc config "Wecsvc" start=Demand
sc config "WerSvc" start=Demand
sc config "WiaRpc" start=Demand
sc config "WinHttpAutoProxySvc" start=Demand
sc config "WinRM" start=Demand
sc config "WpcMonSvc" start=Demand
sc config "WpnService" start=Demand
sc config "XblAuthManager" start=Demand
sc config "XblGameSave" start=Demand
sc config "XboxGipSvc" start=Demand
sc config "XboxNetApiSvc" start=Demand
sc config "autotimesvc" start=Demand
sc config "bthserv" start=Demand
sc config "camsvc" start=Demand
sc config "cbdhsvc_*" start=Demand
sc config "cloudidsvc" start=Demand
sc config "dcsvc" start=Demand
sc config "defragsvc" start=Demand
sc config "diagnosticshub.standardcollector.service" start=Demand
sc config "diagsvc" start=Demand
sc config "dmwappushservice" start=Demand
sc config "dot3svc" start=Demand
sc config "edgeupdate" start=Demand
sc config "edgeupdatem" start=Demand
sc config "embeddedmode" start=Demand
sc config "fdPHost" start=Demand
sc config "fhsvc" start=Demand
sc config "hidserv" start=Demand
sc config "icssvc" start=Demand
sc config "lfsvc" start=Demand
sc config "lltdsvc" start=Demand
sc config "lmhosts" start=Demand
sc config "msiserver" start=Demand
sc config "netprofm" start=Demand
sc config "p2pimsvc" start=Demand
sc config "p2psvc" start=Demand
sc config "perceptionsimulation" start=Demand
sc config "pla" start=Demand
sc config "seclogon" start=Demand
sc config "smphost" start=Demand
sc config "spectrum" start=Demand
sc config "svsvc" start=Demand
sc config "swprv" start=Demand
sc config "upnphost" start=Demand
sc config "vds" start=Demand
sc config "vm3dservice" start=Demand
sc config "vmicguestinterface" start=Demand
sc config "vmicheartbeat" start=Demand
sc config "vmickvpexchange" start=Demand
sc config "vmicrdv" start=Demand
sc config "vmicshutdown" start=Demand
sc config "vmictimesync" start=Demand
sc config "vmicvmsession" start=Demand
sc config "vmicvss" start=Demand
sc config "vmvss" start=Demand
sc config "wbengine" start=Demand
sc config "wcncsvc" start=Demand
sc config "webthreatdefsvc" start=Demand
sc config "wercplsupport" start=Demand
sc config "wisvc" start=Demand
sc config "wlidsvc" start=Demand
sc config "wlpasvc" start=Demand
sc config "wmiApSrv" start=Demand
sc config "workfolderssvc" start=Demand
sc config "wuauserv" start=Demand
sc config "wudfsvc" start=Demand
sc config "MapsBroker" start=Demand
sc config "GameInputSvc" start=Demand
sc config "TermService" start=Demand
sc config "HomeGroupListener" start=Demand
sc config "HomeGroupProvider" start=Demand

echo Done!


echo.
echo :::::::::::::::::::::::::::::::::::
echo ::::: Setting Scheduled Tasks :::::
echo :::::::::::::::::::::::::::::::::::
echo.

schtasks /Change /Disable /TN "Microsoft\Windows\Application Experience\Microsoft Compatibility Appraiser"
schtasks /Change /Disable /TN "Microsoft\Windows\Application Experience\ProgramDataUpdater"
schtasks /Change /Disable /TN "Microsoft\Windows\Autochk\Proxy"
schtasks /Change /Disable /TN "Microsoft\Windows\Customer Experience Improvement Program\Consolidator"
schtasks /Change /Disable /TN "Microsoft\Windows\Customer Experience Improvement Program\UsbCeip"
schtasks /Change /Disable /TN "Microsoft\Windows\DiskDiagnostic\Microsoft-Windows-DiskDiagnosticDataCollector"
schtasks /Change /Disable /TN "Microsoft\Windows\Feedback\Siuf\DmClient"
schtasks /Change /Disable /TN "Microsoft\Windows\Feedback\Siuf\DmClientOnScenarioDownload"
schtasks /Change /Disable /TN "Microsoft\Windows\Windows Error Reporting\QueueReporting"
schtasks /Change /Disable /TN "Microsoft\Windows\Application Experience\MareBackup"
schtasks /Change /Disable /TN "Microsoft\Windows\Application Experience\StartupAppTask"
schtasks /Change /Disable /TN "Microsoft\Windows\Application Experience\PcaPatchDbTask"
schtasks /Change /Disable /TN "Microsoft\Windows\Maps\MapsUpdateTask"
schtasks /Change /Disable /TN "\Microsoft\XblGameSave\XblGameSaveTask"
schtasks /Change /Disable /TN "\Microsoft\Windows\BitLocker\BitLocker Encrypt All Drives"
schtasks /Change /Disable /TN "\Microsoft\Windows\BitLocker\BitLocker MDM policy Refresh"
schtasks /Change /TN "Microsoft\Windows\.NET Framework\.NET Framework NGEN v4.0.30319" /Disable
schtasks /Change /TN "Microsoft\Windows\.NET Framework\.NET Framework NGEN v4.0.30319 64" /Disable
schtasks /Change /TN "Microsoft\Windows\.NET Framework\.NET Framework NGEN v4.0.30319 64 Critical" /Disable
schtasks /Change /TN "Microsoft\Windows\.NET Framework\.NET Framework NGEN v4.0.30319 Critical" /Disable
schtasks /Change /TN "Microsoft\Windows\Application Experience\Microsoft Compatibility Appraiser" /Disable
schtasks /Change /TN "Microsoft\Windows\Application Experience\PcaPatchDbTask" /Disable
schtasks /Change /TN "Microsoft\Windows\Application Experience\SdbinstMergeDbTask" /Disable
schtasks /Change /TN "Microsoft\Windows\Application Experience\StartupAppTask" /Disable
schtasks /Change /TN "Microsoft\Windows\Autochk\Proxy" /Disable
schtasks /Change /TN "Microsoft\Windows\Customer Experience Improvement Program\Consolidator" /Disable
schtasks /Change /TN "Microsoft\Windows\Customer Experience Improvement Program\UsbCeip" /Disable
schtasks /Change /TN "Microsoft\Windows\Defrag\ScheduledDefrag" /Disable
schtasks /Change /TN "Microsoft\Windows\Device Information\Device" /Disable
schtasks /Change /TN "Microsoft\Windows\Device Information\Device User" /Disable
schtasks /Change /TN "Microsoft\Windows\Diagnosis\RecommendedTroubleshootingScanner" /Disable
schtasks /Change /TN "Microsoft\Windows\Diagnosis\Scheduled" /Disable
schtasks /Change /TN "Microsoft\Windows\DiskCleanup\SilentCleanup" /Disable
schtasks /Change /TN "Microsoft\Windows\DiskDiagnostic\Microsoft-Windows-DiskDiagnosticDataCollector" /Disable
schtasks /Change /TN "Microsoft\Windows\DiskFootprint\Diagnostics" /Disable
schtasks /Change /TN "Microsoft\Windows\DiskFootprint\StorageSense" /Disable
schtasks /Change /TN "Microsoft\Windows\DUSM\dusmtask" /Disable
schtasks /Change /TN "Microsoft\Windows\EnterpriseMgmt\MDMMaintenenceTask" /Disable
schtasks /Change /TN "Microsoft\Windows\Feedback\Siuf\DmClient" /Disable
schtasks /Change /TN "Microsoft\Windows\Feedback\Siuf\DmClientOnScenarioDownload" /Disable
schtasks /Change /TN "Microsoft\Windows\FileHistory\File History (maintenance mode)" /Disable
schtasks /Change /TN "Microsoft\Windows\Flighting\FeatureConfig\ReconcileFeatures" /Disable
schtasks /Change /TN "Microsoft\Windows\Flighting\FeatureConfig\UsageDataFlushing" /Disable
schtasks /Change /TN "Microsoft\Windows\Flighting\FeatureConfig\UsageDataReporting" /Disable
schtasks /Change /TN "Microsoft\Windows\Flighting\OneSettings\RefreshCache" /Disable
schtasks /Change /TN "Microsoft\Windows\Input\LocalUserSyncDataAvailable" /Disable
schtasks /Change /TN "Microsoft\Windows\Input\MouseSyncDataAvailable" /Disable
schtasks /Change /TN "Microsoft\Windows\Input\PenSyncDataAvailable" /Disable
schtasks /Change /TN "Microsoft\Windows\Input\TouchpadSyncDataAvailable" /Disable
schtasks /Change /TN "Microsoft\Windows\International\Synchronize Language Settings" /Disable
schtasks /Change /TN "Microsoft\Windows\LanguageComponentsInstaller\Installation" /Disable
schtasks /Change /TN "Microsoft\Windows\LanguageComponentsInstaller\ReconcileLanguageResources" /Disable
schtasks /Change /TN "Microsoft\Windows\LanguageComponentsInstaller\Uninstallation" /Disable
schtasks /Change /TN "Microsoft\Windows\License Manager\TempSignedLicenseExchange" /Disable
schtasks /Change /TN "Microsoft\Windows\License Manager\TempSignedLicenseExchange" /Disable
schtasks /Change /TN "Microsoft\Windows\Management\Provisioning\Cellular" /Disable
schtasks /Change /TN "Microsoft\Windows\Management\Provisioning\Logon" /Disable
schtasks /Change /TN "Microsoft\Windows\Maintenance\WinSAT" /Disable
schtasks /Change /TN "Microsoft\Windows\Maps\MapsToastTask" /Disable
schtasks /Change /TN "Microsoft\Windows\Maps\MapsUpdateTask" /Disable
schtasks /Change /TN "Microsoft\Windows\MUI\LPRemove" /Disable
schtasks /Change /TN "Microsoft\Windows\Multimedia\SystemSoundsService" /Disable
schtasks /Change /TN "Microsoft\Windows\NlaSvc\WiFiTask" /Disable
schtasks /Change /TN "Microsoft\Windows\NetTrace\GatherNetworkInfo" /Disable
schtasks /Change /TN "Microsoft\Windows\PI\Sqm-Tasks" /Disable
schtasks /Change /TN "Microsoft\Windows\Power Efficiency Diagnostics\AnalyzeSystem" /Disable
schtasks /Change /TN "Microsoft\Windows\Printing\EduPrintProv" /Disable
schtasks /Change /TN "Microsoft\Windows\Printing\PrinterCleanupTask" /Disable
schtasks /Change /TN "Microsoft\Windows\Printing\PrintJobCleanupTask" /Disable
schtasks /Change /TN "Microsoft\Windows\PushToInstall\Registration" /Disable
schtasks /Change /TN "Microsoft\Windows\Ras\MobilityManager" /Disable
schtasks /Change /TN "Microsoft\Windows\RecoveryEnvironment\VerifyWinRE" /Disable
schtasks /Change /TN "Microsoft\Windows\RemoteAssistance\RemoteAssistanceTask" /Disable
schtasks /Change /TN "Microsoft\Windows\RetailDemo\CleanupOfflineContent" /Disable
schtasks /Change /TN "Microsoft\Windows\Servicing\StartComponentCleanup" /Disable
schtasks /Change /TN "Microsoft\Windows\SettingSync\NetworkStateChangeTask" /Disable
schtasks /Change /TN "Microsoft\Windows\Setup\SetupCleanupTask" /Disable
schtasks /Change /TN "Microsoft\Windows\Setup\SnapshotCleanupTask" /Disable
schtasks /Change /TN "Microsoft\Windows\Shell\FamilySafetyMonitor" /Disable
schtasks /Change /TN "Microsoft\Windows\Shell\FamilySafetyRefreshTask" /Disable
schtasks /Change /TN "Microsoft\Windows\Shell\ThemesSyncedImageDownload" /Disable
schtasks /Change /TN "Microsoft\Windows\Shell\UpdateUserPictureTask" /Disable
schtasks /Change /TN "Microsoft\Windows\SpacePort\SpaceAgentTask" /Disable
schtasks /Change /TN "Microsoft\Windows\SpacePort\SpaceManagerTask" /Disable
schtasks /Change /TN "Microsoft\Windows\Speech\SpeechModelDownloadTask" /Disable
schtasks /Change /TN "Microsoft\Windows\Storage Tiers Management\Storage Tiers Management Initialization" /Disable
schtasks /Change /TN "Microsoft\Windows\Sysmain\ResPriStaticDbSync" /Disable
schtasks /Change /TN "Microsoft\Windows\Sysmain\WsSwapAssessmentTask" /Disable
schtasks /Change /TN "Microsoft\Windows\Task Manager\Interactive" /Disable
schtasks /Change /TN "Microsoft\Windows\TextServicesFramework\MsCtfMonitor" /Disable
schtasks /Change /TN "Microsoft\Windows\Time Synchronization\ForceSynchronizeTime" /Disable
schtasks /Change /TN "Microsoft\Windows\Time Synchronization\SynchronizeTime" /Disable
schtasks /Change /TN "Microsoft\Windows\Time Zone\SynchronizeTimeZone" /Disable
schtasks /Change /TN "Microsoft\Windows\TPM\Tpm-HASCertRetr" /Disable
schtasks /Change /TN "Microsoft\Windows\TPM\Tpm-Maintenance" /Disable
schtasks /Change /TN "Microsoft\Windows\UPnP\UPnPHostConfig" /Disable
schtasks /Change /TN "Microsoft\Windows\UPnP\UPnPHostConfig" /Disable
schtasks /Change /TN "Microsoft\Windows\User Profile Service\HiveUploadTask" /Disable
schtasks /Change /TN "Microsoft\Windows\WCM\WiFiTask" /Disable
schtasks /Change /TN "Microsoft\Windows\WDI\ResolutionHost" /Disable
schtasks /Change /TN "Microsoft\Windows\Windows Filtering Platform\BfeOnServiceStartTypeChange" /Disable
schtasks /Change /TN "Microsoft\Windows\WindowsUpdate\Scheduled Start" /Disable
schtasks /Change /TN "Microsoft\Windows\WlanSvc\CDSSync" /Disable
schtasks /Change /TN "Microsoft\Windows\WOF\WIM-Hash-Management" /Disable
schtasks /Change /TN "Microsoft\Windows\WOF\WIM-Hash-Validation" /Disable
schtasks /Change /TN "Microsoft\Windows\Work Folders\Work Folders Logon Synchronization" /Disable
schtasks /Change /TN "Microsoft\Windows\Work Folders\Work Folders Maintenance Work" /Disable
schtasks /Change /TN "Microsoft\Windows\Workplace Join\Automatic-Device-Join" /Disable
schtasks /Change /TN "Microsoft\Windows\WwanSvc\NotificationTask" /Disable
schtasks /Change /TN "Microsoft\Windows\WwanSvc\OobeDiscovery" /Disable

echo Done!


echo.
echo :::::::::::::::::::::::::::
echo ::::: Finishing Setup :::::
echo :::::::::::::::::::::::::::
echo.

fsutil behavior set disablelastaccess 1
powercfg.exe /hibernate off
powercfg -h off
DISM /Online /Disable-Feature /FeatureName:Recall /Quiet /NoRestart
Winsat formal -restart
fsutil behavior set disabledeletenotify 0

echo Done!


echo.
echo ::::::::::::::::::::::::::::::
echo ::::: Cleaning DISM Temp :::::
echo ::::::::::::::::::::::::::::::
echo.

dism /online /remove-package /packagename:Package_for_RollupFix~31bf3856ad364e35~amd64~~26100.1742.1.10
dism /online /cleanup-image /analyzecomponentstore
dism /online /cleanup-image /startcomponentcleanup
dism /online /cleanup-image /startcomponentcleanup /resetbase
defrag /C /O

echo Done!

echo.
echo ::::::::::::::::::::::::::::::::
echo ::::: Starting Maintenance :::::
echo ::::::::::::::::::::::::::::::::
echo.

control wscui.cpl >nul 2>&1
MSchedExe.exe Start
echo Please wait until the end of maintenance,
echo Then return here and
pause
echo Running Idle Tasks, Please wait...
rundll32.exe advapi32.dll,ProcessIdleTasks

echo Done!

echo.
echo ::::::::::::::::::::::::
echo ::::: Closing apps :::::
echo ::::::::::::::::::::::::
echo.

taskkill /F /IM msedge.exe >nul 2>&1

echo Done!

echo.
echo :::::::::::::::::::::::::
echo ::::: Checking Disk :::::
echo :::::::::::::::::::::::::
echo.

chkdsk >nul 2>&1

echo Done!


echo.
echo :::::::::::::::::::::::::::::
echo ::::: Repairing Windows :::::
echo :::::::::::::::::::::::::::::
echo.

dism /online /cleanup-image /checkhealth >nul 2>&1
dism /online /cleanup-image /scanhealth
dism /online /cleanup-image /restorehealth
sfc /verifyonly
sfc /scannow
dism /online /cleanup-image /analyzecomponentstore
dism /online /cleanup-image /startcomponentcleanup
dism /online /cleanup-image /startcomponentcleanup /resetbase

echo Done!


echo.
echo ::::::::::::::::::::::::::::::
echo ::::: Cleaning Edge Temp :::::
echo ::::::::::::::::::::::::::::::
echo.

del /s /q "%LOCALAPPDATA%\Microsoft\Edge\User Data\Default\History*" >nul 2>&1
del /s /q "%LOCALAPPDATA%\Microsoft\Edge\User Data\Default\Media History*" >nul 2>&1
del /s /q "%LOCALAPPDATA%\Microsoft\Edge\User Data\Default\Visited Links*" >nul 2>&1
del /s /q "%LOCALAPPDATA%\Microsoft\Edge\User Data\Default\Top Sites*" >nul 2>&1
del /s /q "%LOCALAPPDATA%\Microsoft\Edge\User Data\Default\Network Action Predictor*" >nul 2>&1
del /s /q "%LOCALAPPDATA%\Microsoft\Edge\User Data\Default\Shortcuts*" >nul 2>&1
del /s /q "%LOCALAPPDATA%\Microsoft\Edge\User Data\Default\Network\Cookies*" >nul 2>&1
del /s /q "%LOCALAPPDATA%\Microsoft\Edge\User Data\Default\Web Data*" >nul 2>&1
pushd "%LocalAppData%\Microsoft\Edge\User Data\Default\Session Storage" && (rd /s /q "%LocalAppData%\Microsoft\Edge\User Data\Default\Session Storage" 2>nul & popd)
pushd "%LocalAppData%\Microsoft\Edge\User Data\Default\Sync Data" && (rd /s /q "%LocalAppData%\Microsoft\Edge\User Data\Default\Sync Data" 2>nul & popd)
pushd "%LocalAppData%\Microsoft\Edge\User Data\Default\Telemetry" && (rd /s /q "%LocalAppData%\Microsoft\Edge\User Data\Default\Telemetry" 2>nul & popd)
pushd "%LocalAppData%\Microsoft\Edge\User Data\CrashReports" && (rd /s /q "%LocalAppData%\Microsoft\Edge\User Data\CrashReports" 2>nul & popd)
pushd "%LocalAppData%\Microsoft\EdgeUpdate\Log" && (rd /s /q "%LocalAppData%\Microsoft\EdgeUpdate\Log" 2>nul & popd)
pushd "%LocalAppData%\Microsoft\EdgeUpdate\Download" && (rd /s /q "%LocalAppData%\Microsoft\EdgeUpdate\Download" 2>nul & popd)
pushd "%LocalAppData%\Microsoft\EdgeUpdate\Install" && (rd /s /q "%LocalAppData%\Microsoft\EdgeUpdate\Install" 2>nul & popd)
pushd "%LocalAppData%\Microsoft\EdgeUpdate\Offline" && (rd /s /q "%LocalAppData%\Microsoft\EdgeUpdate\Offline" 2>nul & popd)
pushd "%LocalAppData%\Microsoft\Edge\User Data\BrowserMetrics" && (rd /s /q "%LocalAppData%\Microsoft\Edge\User Data\BrowserMetrics" 2>nul & popd)
pushd "%LocalAppData%\Microsoft\Edge\User Data\Crashpad\reports" && (rd /s /q "%LocalAppData%\Microsoft\Edge\User Data\Crashpad\reports" 2>nul & popd)
pushd "%LocalAppData%\Microsoft\Edge\User Data\Stability" && (rd /s /q "%LocalAppData%\Microsoft\Edge\User Data\Stability" 2>nul & popd)
pushd "%LocalAppData%\Microsoft\Edge\User Data\Stability" && (rd /s /q "%LocalAppData%\Microsoft\Edge\User Data\Stability" 2>nul & popd)
pushd "%LocalAppData%\Microsoft\Edge\User Data\Feature Engagement Tracker" && (rd /s /q "%LocalAppData%\Microsoft\Edge\User Data\Feature Engagement Tracker" 2>nul & popd)

echo Done!

echo.
echo ::::::::::::::::::::::::::::::::
echo ::::: Cleaning Office Temp :::::
echo ::::::::::::::::::::::::::::::::
echo.

pushd "%LOCALAPPDATA%\Microsoft\Office\16.0\Wef\" && (rd /s /q "%LOCALAPPDATA%\Microsoft\Office\16.0\Wef\" 2>nul & popd)
pushd "%userprofile%\AppData\Local\Packages\Microsoft.Win32WebViewHost_cw5n1h2txyewy\AC\#!123\INetCache\" && (rd /s /q "%userprofile%\AppData\Local\Packages\Microsoft.Win32WebViewHost_cw5n1h2txyewy\AC\#!123\INetCache\" 2>nul & popd)
pushd "%userprofile%\AppData\Local\Microsoft\Outlook\HubAppFileCache" && (rd /s /q "%userprofile%\AppData\Local\Microsoft\Outlook\HubAppFileCache" 2>nul & popd)

echo Done!

echo.
echo :::::::::::::::::::::::::::::
echo ::::: Resetting Network :::::
echo :::::::::::::::::::::::::::::
echo.

netsh winhttp reset proxy >nul
ipconfig /release >nul
ipconfig /flushdns >nul
ipconfig /renew >nul
netsh int ip reset >nul
netsh winsock reset >nul

echo Done!

echo.
echo :::::::::::::::::::::::::::::::::
echo ::::: Cleaning Windows Temp :::::
echo :::::::::::::::::::::::::::::::::
echo.

rundll32.exe pnpclean.dll,RunDLL_PnpClean /drivers /maxclean
cleanmgr /sagerun 1
cleanmgr /verylowdisk
C:\Windows\System32\rundll32.exe InetCpl.cpl, ClearMyTracksByProcess 1
C:\Windows\System32\rundll32.exe InetCpl.cpl, ClearMyTracksByProcess 2
C:\Windows\System32\rundll32.exe InetCpl.cpl, ClearMyTracksByProcess 4
C:\Windows\System32\rundll32.exe InetCpl.cpl, ClearMyTracksByProcess 8
C:\Windows\System32\rundll32.exe InetCpl.cpl, ClearMyTracksByProcess 10
C:\Windows\System32\rundll32.exe InetCpl.cpl, ClearMyTracksByProcess 16
C:\Windows\System32\rundll32.exe InetCpl.cpl, ClearMyTracksByProcess 20
C:\Windows\System32\rundll32.exe InetCpl.cpl, ClearMyTracksByProcess 32
C:\Windows\System32\rundll32.exe InetCpl.cpl, ClearMyTracksByProcess 64
C:\Windows\System32\rundll32.exe InetCpl.cpl, ClearMyTracksByProcess 40
C:\Windows\System32\rundll32.exe InetCpl.cpl, ClearMyTracksByProcess 80
C:\Windows\System32\rundll32.exe InetCpl.cpl, ClearMyTracksByProcess 128
C:\Windows\System32\rundll32.exe InetCpl.cpl, ClearMyTracksByProcess 255
C:\Windows\System32\rundll32.exe InetCpl.cpl, ClearMyTracksByProcess 800
C:\Windows\System32\rundll32.exe InetCpl.cpl, ClearMyTracksByProcess 4351
pushd "C:\Windows\Temp" && (rd /s /q "C:\Windows\Temp" 2>nul & popd)
pushd "%LOCALAPPDATA%\Temp" && (rd /s /q "%LOCALAPPDATA%\Temp" 2>nul & popd)
pushd "C:\Windows\Prefetch" && (rd /s /q "C:\Windows\Prefetch" 2>nul & popd)
pushd "C:\$Recycle.Bin" && (rd /s /q "C:\$Recycle.Bin" 2>nul & popd)
pushd "%LocalAppData%\Microsoft\Windows\WER" && (rd /s /q "%LocalAppData%\Microsoft\Windows\WER" 2>nul & popd)
pushd "%LocalAppData%\Microsoft\Windows\INetCache" && (rd /s /q "%LocalAppData%\Microsoft\Windows\INetCache" 2>nul & popd)
pushd "%LocalAppData%\Microsoft\Windows\INetCookies" && (rd /s /q "%LocalAppData%\Microsoft\Windows\INetCookies" 2>nul & popd)
pushd "%LocalAppData%\Microsoft\Windows\IECompatCache" && (rd /s /q "%LocalAppData%\Microsoft\Windows\IECompatCache" 2>nul & popd)
pushd "%LocalAppData%\Microsoft\Windows\IECompatUaCache" && (rd /s /q "%LocalAppData%\Microsoft\Windows\IECompatUaCache" 2>nul & popd)
pushd "%LocalAppData%\Microsoft\Windows\IEDownloadHistory" && (rd /s /q "%LocalAppData%\Microsoft\Windows\IEDownloadHistory" 2>nul & popd)
pushd "%LocalAppData%\Microsoft\Windows\Temporary Internet Files" && (rd /s /q "%LocalAppData%\Microsoft\Windows\Temporary Internet Files" 2>nul & popd)

echo Done!

echo.
echo :::::::::::::::::::::::::::::
echo ::::: Disk Optimization :::::
echo :::::::::::::::::::::::::::::
echo.

defrag /C /O >nul

echo Done!
echo.
echo *** Attention ***
echo If you press any key your PC will shutdown. Close this file if you don't want to turn off you machine.
pause

echo.
echo ::::::::::::::::::::::::
echo ::::: Shutting Down ::::
echo ::::::::::::::::::::::::
echo.

pushd "C:\Windows\Temp" && (rd /s /q "C:\Windows\Temp" 2>nul & popd)
pushd "%LOCALAPPDATA%\Temp" && (rd /s /q "%LOCALAPPDATA%\Temp" 2>nul & popd)
pushd "C:\Windows\Prefetch" && (rd /s /q "C:\Windows\Prefetch" 2>nul & popd)
pushd "C:\$Recycle.Bin" && (rd /s /q "C:\$Recycle.Bin" 2>nul & popd)
pushd "%LocalAppData%\Microsoft\Windows\WER" && (rd /s /q "%LocalAppData%\Microsoft\Windows\WER" 2>nul & popd)
pushd "%LocalAppData%\Microsoft\Windows\INetCache" && (rd /s /q "%LocalAppData%\Microsoft\Windows\INetCache" 2>nul & popd)
pushd "%LocalAppData%\Microsoft\Windows\INetCookies" && (rd /s /q "%LocalAppData%\Microsoft\Windows\INetCookies" 2>nul & popd)
pushd "%LocalAppData%\Microsoft\Windows\IECompatCache" && (rd /s /q "%LocalAppData%\Microsoft\Windows\IECompatCache" 2>nul & popd)
pushd "%LocalAppData%\Microsoft\Windows\IECompatUaCache" && (rd /s /q "%LocalAppData%\Microsoft\Windows\IECompatUaCache" 2>nul & popd)
pushd "%LocalAppData%\Microsoft\Windows\IEDownloadHistory" && (rd /s /q "%LocalAppData%\Microsoft\Windows\IEDownloadHistory" 2>nul & popd)
pushd "%LocalAppData%\Microsoft\Windows\Temporary Internet Files" && (rd /s /q "%LocalAppData%\Microsoft\Windows\Temporary Internet Files" 2>nul & popd)

shutdown.exe /s /t 0
 
Last edited:

My Computers

System One System Two

  • OS
    Windows 11 Pro 24H2
    Computer type
    Laptop
    Manufacturer/Model
    Huawei MateBook D15
    CPU
    Ryzen 5 3500U
    Memory
    8GB
    Graphics Card(s)
    Vega 8
    Screen Resolution
    FHD
    Hard Drives
    256GB Samsung SSD + 1TB HDD
    Browser
    Microsoft Edge
    Antivirus
    ESET Smart Security Premium
  • Operating System
    Windows 10 Enterprise LTSC 21H2
    Computer type
    Laptop
    Manufacturer/Model
    MSI GS73 6RF Stealth Pro
    CPU
    intel core i7 6700HQ
    Memory
    16GB
    Graphics card(s)
    Nvidia Geforce GTX1060 (6GB)
    Screen Resolution
    FHD
    Hard Drives
    128GB SSD + 1TB HDD
    Browser
    Microsoft Edge
    Antivirus
    Windows Defender
I'm going to pass on this one. I've learned the hard way SFC and DISM doesn't always catch errors.

A list of my commonly used commands:
Batch:
@echo off
cd /d %~dp0
cls

echo :::::::::::::::::::::::::::::::::::::::
echo ::  Install Optimizer Script         ::
echo ::                                   ::
echo ::  Version 1.1.0                    ::
echo ::                                   ::
echo ::  Jun 01, 2025 by  S.H.E.I.K.H     ::
echo :::::::::::::::::::::::::::::::::::::::
echo.
echo. For post-install use only
pause

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: This Script will repair Windows with SFC and DISM commands and then runs a deep clean command to       ::
:: delete temporary files.                                                                                ::
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::


::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Check to see if this batch file is being run as Administrator. If it is not, then rerun the batch file ::
:: automatically as admin and terminate the initial instance of the batch file.                           ::
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

(Fsutil Dirty Query %SystemDrive%>Nul)||(PowerShell start """%~f0""" -verb RunAs & Exit /B) > NUL 2>&1

::::::::::::::::::::::::::::::::::::::::::::::::
:: End Routine to check if being run as Admin ::
::::::::::::::::::::::::::::::::::::::::::::::::

echo.
echo ::::::::::::::::::::::::::::::
echo ::::: Setting Registries :::::
echo ::::::::::::::::::::::::::::::
echo.

REG Add "HKLM\SYSTEM\CurrentControlSet\Control\CrashControl" /V CrashDumpEnabled /T REG_DWORD /D 0 /F
REG Add "HKLM\SYSTEM\CurrentControlSet\Control\FileSystem" /V NtfsDisableLastAccessUpdate /T REG_DWORD /D 80000001 /F
REG Add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Search" /V DisableRemovableDriveIndexing /T REG_DWORD /D 1 /F
REG Add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Search" /V PreventUsingAdvancedIndexingOptions /T REG_DWORD /D 1 /F
REG Add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SystemRestore" /V RPSessionInterval /T REG_DWORD /D 0 /F
REG Add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Error Reporting" /V Disabled /T REG_DWORD /D 1 /F
REG Add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Error Reporting" /V Disabled /T REG_DWORD /D 1 /F
REG Add "HKLM\SOFTWARE\Policies\Microsoft\Windows\System" /V EnableActivityFeed /T REG_DWORD /D 0 /F
REG Add "HKLM\SOFTWARE\Policies\Microsoft\Windows\System" /V PublishUserActivities /T REG_DWORD /D 0 /F
REG Add "HKLM\SOFTWARE\Policies\Microsoft\Windows\System" /V UploadUserActivities /T REG_DWORD /D 0 /F
REG Add "HKLM\System\CurrentControlSet\Control\Session Manager\Power" /V HibernateEnabled /T REG_DWORD /D 0 /F
REG Add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FlyoutMenuSettings" /V ShowHibernateOption /T REG_DWORD /D 0 /F
REG Add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore\location" /V Value /T REG_SZ /D Deny /F
REG Add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Sensor\Overrides\{BFA794E4-F964-4FDB-90F6-51056BFE4B44}" /V SensorPermissionState /T REG_DWORD /D 0 /F
REG Add "HKLM\SYSTEM\CurrentControlSet\Services\lfsvc\Service\Configuration" /V Status /T REG_DWORD /D 0 /F
REG Add "HKLM\SYSTEM\Maps" /V AutoUpdateEnabled /T REG_DWORD /D 0 /F
REG Add "HKLM\SOFTWARE\Policies\Microsoft\EdgeUpdate" /V CreateDesktopShortcutDefault /T REG_DWORD /D 0 /F
REG Add "HKLM\SOFTWARE\Policies\Microsoft\Edge" /V PersonalizationReportingEnabled /T REG_DWORD /D 0 /F
REG Add "HKLM\SOFTWARE\Policies\Microsoft\Edge" /V ShowRecommendationsEnabled /T REG_DWORD /D 0 /F
REG Add "HKLM\SOFTWARE\Policies\Microsoft\Edge" /V HideFirstRunExperience /T REG_DWORD /D 1 /F
REG Add "HKLM\SOFTWARE\Policies\Microsoft\Edge" /V UserFeedbackAllowed /T REG_DWORD /D 0 /F
REG Add "HKLM\SOFTWARE\Policies\Microsoft\Edge" /V ConfigureDoNotTrack /T REG_DWORD /D 1 /F
REG Add "HKLM\SOFTWARE\Policies\Microsoft\Edge" /V AlternateErrorPagesEnabled /T REG_DWORD /D 0 /F
REG Add "HKLM\SOFTWARE\Policies\Microsoft\Edge" /V EdgeCollectionsEnabled /T REG_DWORD /D 0 /F
REG Add "HKLM\SOFTWARE\Policies\Microsoft\Edge" /V EdgeShoppingAssistantEnabled /T REG_DWORD /D 0 /F
REG Add "HKLM\SOFTWARE\Policies\Microsoft\Edge" /V MicrosoftEdgeInsiderPromotionEnabled /T REG_DWORD /D 0 /F
REG Add "HKLM\SOFTWARE\Policies\Microsoft\Edge" /V PersonalizationReportingEnabled /T REG_DWORD /D 0 /F
REG Add "HKLM\SOFTWARE\Policies\Microsoft\Edge" /V ShowMicrosoftRewards /T REG_DWORD /D 0 /F
REG Add "HKLM\SOFTWARE\Policies\Microsoft\Edge" /V WebWidgetAllowed /T REG_DWORD /D 0 /F
REG Add "HKLM\SOFTWARE\Policies\Microsoft\Edge" /V DiagnosticData /T REG_DWORD /D 0 /F
REG Add "HKLM\SOFTWARE\Policies\Microsoft\Edge" /V EdgeAssetDeliveryServiceEnabled /T REG_DWORD /D 0 /F
REG Add "HKLM\SOFTWARE\Policies\Microsoft\Edge" /V EdgeCollectionsEnabled /T REG_DWORD /D 0 /F
REG Add "HKLM\SOFTWARE\Policies\Microsoft\Edge" /V CryptoWalletEnabled /T REG_DWORD /D 0 /F
REG Add "HKLM\SOFTWARE\Policies\Microsoft\Edge" /V WalletDonationEnabled /T REG_DWORD /D 0 /F
REG Add "HKLM\SOFTWARE\Policies\Microsoft\Windows\CloudContent" /V DisableWindowsConsumerFeatures /T REG_DWORD /D 1 /F
REG Add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\DataCollection" /V AllowTelemetry /T REG_DWORD /D 0 /F
REG Add "HKLM\SOFTWARE\Policies\Microsoft\Windows\DataCollection" /V AllowTelemetry /T REG_DWORD /D 0 /F
REG Add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /V ContentDeliveryAllowed /T REG_DWORD /D 0 /F
REG Add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /V OemPreInstalledAppsEnabled /T REG_DWORD /D 0 /F
REG Add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /V PreInstalledAppsEnabled /T REG_DWORD /D 0 /F
REG Add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /V PreInstalledAppsEverEnabled /T REG_DWORD /D 0 /F
REG Add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /V SilentInstalledAppsEnabled /T REG_DWORD /D 0 /F
REG Add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /V SubscribedContent-338387Enabled /T REG_DWORD /D 0 /F
REG Add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /V SubscribedContent-338388Enabled /T REG_DWORD /D 0 /F
REG Add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /V SubscribedContent-338389Enabled /T REG_DWORD /D 0 /F
REG Add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /V SubscribedContent-353698Enabled /T REG_DWORD /D 0 /F
REG Add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /V SystemPaneSuggestionsEnabled /T REG_DWORD /D 0 /F
REG Add "HKLM\SOFTWARE\Microsoft\Siuf\Rules" /V NumberOfSIUFInPeriod /T REG_DWORD /D 0 /F
REG Add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /V NumberOfSIUFInPeriod /T REG_DWORD /D 0 /F
REG Add "HKLM\SOFTWARE\Policies\Microsoft\Windows\DataCollection" /V DoNotShowFeedbackNotifications /T REG_DWORD /D 1 /F
REG Add "HKLM\SOFTWARE\Policies\Microsoft\Windows\CloudContent" /V DisableTailoredExperiencesWithDiagnosticData /T REG_DWORD /D 1 /F
REG Add "HKLM\SOFTWARE\Policies\Microsoft\Windows\AdvertisingInfo" /V DisabledByGroupPolicy /T REG_DWORD /D 1 /F
REG Add "HKLM\SOFTWARE\Microsoft\Windows\Windows Error Reporting" /V Disabled /T REG_DWORD /D 1 /F
REG Add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\DeliveryOptimization\Config" /V DODownloadMode /T REG_DWORD /D 1 /F
REG Add "HKLM\SYSTEM\CurrentControlSet\Control\Remote Assistance" /V fAllowToGetHelp /T REG_DWORD /D 0 /F
REG Add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\OperationStatusManager" /V EnthusiastMode /T REG_DWORD /D 1 /F
REG Add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\People" /V PeopleBand /T REG_DWORD /D 0 /F
REG Add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /V LaunchTo /T REG_DWORD /D 1 /F
REG Add "HKLM\SYSTEM\CurrentControlSet\Control\FileSystem" /V LongPathsEnabled /T REG_DWORD /D 1 /F
REG Add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\DriverSearching" /V SearchOrderConfig /T REG_DWORD /D 1 /F
REG Add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\SystemProfile" /V SystemResponsiveness /T REG_DWORD /D 0 /F
REG Add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\SystemProfile" /V NetworkThrottlingIndex /T REG_DWORD /D 4294967295 /F
REG Add "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management" /V ClearPageFileAtShutdown /T REG_DWORD /D 0 /F
REG Add "HKLM\SYSTEM\ControlSet001\Services\Ndu" /V Start /T REG_DWORD /D 2 /F
REG Add "HKLM\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters" /V IRPStackSize /T REG_DWORD /D 30 /F
REG Add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /V HideSCAMeetNow /T REG_DWORD /D 1 /F
REG Add "HKLM\Software\Microsoft\Windows\CurrentVersion\UserProfileEngagement" /V ScoobeSystemSettingEnabled /T REG_DWORD /D 0 /F
REG Add "HKLM\Software\Microsoft\PolicyManager\default\WiFi\AllowWiFiHotSpotReporting" /V Value /T REG_DWORD /D 0 /F
REG Add "HKLM\Software\Microsoft\PolicyManager\default\WiFi\AllowAutoConnectToWiFiSenseHotspots" /V Value /T REG_DWORD /D 0 /F
REG Add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsCopilot" /V TurnOffWindowsCopilot /T REG_DWORD /D 1 /F
REG Add "HKLM\Software\Policies\Microsoft\Windows\WindowsCopilot" /V TurnOffWindowsCopilot /T REG_DWORD /D 1 /F
REG Add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsAI" /V DisableAIDataAnalysis /T REG_DWORD /D 1 /F
REG Add "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager" /V DisableWpbtExecution /T REG_DWORD /D 1 /F
REG Add "HKLM\System\GameConfigStore" /V GameDVR_FSEBehavior /T REG_DWORD /D 2 /F
REG Add "HKLM\System\GameConfigStore" /V GameDVR_Enabled /T REG_DWORD /D 0 /F
REG Add "HKLM\System\GameConfigStore" /V GameDVR_HonorUserFSEBehaviorMode /T REG_DWORD /D 1 /F
REG Add "HKLM\System\GameConfigStore" /V GameDVR_EFSEFeatureFlags /T REG_DWORD /D 0 /F
REG Add "HKLM\SOFTWARE\Policies\Microsoft\Windows\GameDVR" /V AllowGameDVR /T REG_DWORD /D 0 /F
REG Add "HKLM\Software\Microsoft\Windows\CurrentVersion\BackgroundAccessApplications" /V GlobalUserDisabled /T REG_DWORD /D 1 /F
REG Add "HKLM\Software\Microsoft\Windows\CurrentVersion\Search" /V BingSearchEnabled /T REG_DWORD /D 0 /F
REG Add "HKLM\SOFTWARE\Microsoft\PolicyManager\current\device\Education" /V IsEducationEnvironment /T REG_DWORD /D 0 /F
REG Add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /V SettingsPageVisibility /T REG_SZ /D hide:home /F

echo Done!


echo.
echo ::::::::::::::::::::::::::::
echo ::::: Setting Services :::::
echo ::::::::::::::::::::::::::::
echo.

sc stop "wsearch"
sc config "wsearch" start=disabled
sc stop "SysMain"
sc config "SysMain" start=disabled
sc stop "AJRouter"
sc config "AJRouter" start=disabled
sc stop "AppVClient"
sc config "AppVClient" start=disabled
sc stop "AssignedAccessManagerSvc"
sc config "AssignedAccessManagerSvc" start=disabled
sc stop "DiagTrack"
sc config "DiagTrack" start=disabled
sc stop "DialogBlockingService"
sc config "DialogBlockingService" start=disabled
sc stop "NetTcpPortSharing"
sc config "NetTcpPortSharing" start=disabled
sc stop "RemoteAccess"
sc config "RemoteAccess" start=disabled
sc stop "RemoteRegistry"
sc config "RemoteRegistry" start=disabled
sc stop "UevAgentService"
sc config "UevAgentService" start=disabled
sc stop "shpamsvc"
sc config "shpamsvc" start=disabled
sc stop "ssh-agent"
sc config "ssh-agent" start=disabled
sc stop "tzautoupdate"
sc config "tzautoupdate" start=disabled
sc stop "uhssvc"
sc config "uhssvc" start=disabled
sc config "ALG" start=Demand
sc config "AppIDSvc" start=Demand
sc config "AppMgmt" start=Demand
sc config "AppReadiness" start=Demand
sc config "AppXSvc" start=Demand
sc config "Appinfo" start=Demand
sc config "AxInstSV" start=Demand
sc config "BDESVC" start=Demand
sc config "BTAGService" start=Demand
sc config "BcastDVRUserService_*" start=Demand
sc config "BluetoothUserService_*" start=Demand
sc config "Browser" start=Demand
sc config "CDPSvc" start=Demand
sc config "COMSysApp" start=Demand
sc config "CaptureService_*" start=Demand
sc config "CertPropSvc" start=Demand
sc config "ClipSVC" start=Demand
sc config "ConsentUxUserSvc_*" start=Demand
sc config "CredentialEnrollmentManagerUserSvc_*" start=Demand
sc config "CscService" start=Demand
sc config "DcpSvc" start=Demand
sc config "DevQueryBroker" start=Demand
sc config "DeviceAssociationBrokerSvc_*" start=Demand
sc config "DeviceAssociationService" start=Demand
sc config "DeviceInstall" start=Demand
sc config "DevicePickerUserSvc_*" start=Demand
sc config "DevicesFlowUserSvc_*" start=Demand
sc config "DisplayEnhancementService" start=Demand
sc config "DmEnrollmentSvc" start=Demand
sc config "EFS" start=Demand
sc config "EapHost" start=Demand
sc config "EntAppSvc" start=Demand
sc config "FDResPub" start=Demand
sc config "Fax" start=Demand
sc config "FrameServer" start=Demand
sc config "FrameServerMonitor" start=Demand
sc config "GraphicsPerfSvc" start=Demand
sc config "HomeGroupListener" start=Demand
sc config "HomeGroupProvider" start=Demand
sc config "HvHost" start=Demand
sc config "IEEtwCollectorService" start=Demand
sc config "IKEEXT" start=Demand
sc config "InstallService" start=Demand
sc config "InventorySvc" start=Demand
sc config "IpxlatCfgSvc" start=Demand
sc config "KtmRm" start=Demand
sc config "LicenseManager" start=Demand
sc config "LxpSvc" start=Demand
sc config "MSDTC" start=Demand
sc config "MSiSCSI" start=Demand
sc config "McpManagementService" start=Demand
sc config "MessagingService_*" start=Demand
sc config "MicrosoftEdgeElevationService" start=Demand
sc config "MixedRealityOpenXRSvc" start=Demand
sc config "MsKeyboardFilter" start=Demand
sc config "NPSMSvc_*" start=Demand
sc config "NaturalAuthentication" start=Demand
sc config "NcaSvc" start=Demand
sc config "NcbService" start=Demand
sc config "NcdAutoSetup" start=Demand
sc config "NetSetupSvc" start=Demand
sc config "Netman" start=Demand
sc config "NgcCtnrSvc" start=Demand
sc config "NgcSvc" start=Demand
sc config "NlaSvc" start=Demand
sc config "P9RdrService_*" start=Demand
sc config "PNRPAutoReg" start=Demand
sc config "PNRPsvc" start=Demand
sc config "PcaSvc" start=Demand
sc config "PeerDistSvc" start=Demand
sc config "PenService_*" start=Demand
sc config "PerfHost" start=Demand
sc config "PhoneSvc" start=Demand
sc config "PimIndexMaintenanceSvc_*" start=Demand
sc config "PlugPlay" start=Demand
sc config "PolicyAgent" start=Demand
sc config "PrintNotify" start=Demand
sc config "PrintWorkflowUserSvc_*" start=Demand
sc config "PushToInstall" start=Demand
sc config "QWAVE" start=Demand
sc config "RasAuto" start=Demand
sc config "RasMan" start=Demand
sc config "RetailDemo" start=Demand
sc config "RmSvc" start=Demand
sc config "RpcLocator" start=Demand
sc config "SCPolicySvc" start=Demand
sc config "SCardSvr" start=Demand
sc config "SDRSVC" start=Demand
sc config "SEMgrSvc" start=Demand
sc config "SNMPTRAP" start=Demand
sc config "SNMPTrap" start=Demand
sc config "SSDPSRV" start=Demand
sc config "ScDeviceEnum" start=Demand
sc config "SecurityHealthService" start=Demand
sc config "Sense" start=Demand
sc config "SensorDataService" start=Demand
sc config "SensorService" start=Demand
sc config "SensrSvc" start=Demand
sc config "SessionEnv" start=Demand
sc config "SharedAccess" start=Demand
sc config "SharedRealitySvc" start=Demand
sc config "SmsRouter" start=Demand
sc config "SstpSvc" start=Demand
sc config "StiSvc" start=Demand
sc config "StorSvc" start=Demand
sc config "TabletInputService" start=Demand
sc config "TapiSrv" start=Demand
sc config "TieringEngineService" start=Demand
sc config "TimeBroker" start=Demand
sc config "TimeBrokerSvc" start=Demand
sc config "TokenBroker" start=Demand
sc config "TroubleshootingSvc" start=Demand
sc config "TrustedInstaller" start=Demand
sc config "UI0Detect" start=Demand
sc config "UdkUserSvc_*" start=Demand
sc config "UmRdpService" start=Demand
sc config "UnistoreSvc_*" start=Demand
sc config "UserDataSvc_*" start=Demand
sc config "UsoSvc" start=Demand
sc config "VSS" start=Demand
sc config "VacSvc" start=Demand
sc config "W32Time" start=Demand
sc config "WEPHOSTSVC" start=Demand
sc config "WFDSConMgrSvc" start=Demand
sc config "WMPNetworkSvc" start=Demand
sc config "WManSvc" start=Demand
sc config "WPDBusEnum" start=Demand
sc config "WSService" start=Demand
sc config "WaaSMedicSvc" start=Demand
sc config "WalletService" start=Demand
sc config "WarpJITSvc" start=Demand
sc config "WcsPlugInService" start=Demand
sc config "WdNisSvc" start=Demand
sc config "WdiServiceHost" start=Demand
sc config "WdiSystemHost" start=Demand
sc config "WebClient" start=Demand
sc config "Wecsvc" start=Demand
sc config "WerSvc" start=Demand
sc config "WiaRpc" start=Demand
sc config "WinHttpAutoProxySvc" start=Demand
sc config "WinRM" start=Demand
sc config "WpcMonSvc" start=Demand
sc config "WpnService" start=Demand
sc config "XblAuthManager" start=Demand
sc config "XblGameSave" start=Demand
sc config "XboxGipSvc" start=Demand
sc config "XboxNetApiSvc" start=Demand
sc config "autotimesvc" start=Demand
sc config "bthserv" start=Demand
sc config "camsvc" start=Demand
sc config "cbdhsvc_*" start=Demand
sc config "cloudidsvc" start=Demand
sc config "dcsvc" start=Demand
sc config "defragsvc" start=Demand
sc config "diagnosticshub.standardcollector.service" start=Demand
sc config "diagsvc" start=Demand
sc config "dmwappushservice" start=Demand
sc config "dot3svc" start=Demand
sc config "edgeupdate" start=Demand
sc config "edgeupdatem" start=Demand
sc config "embeddedmode" start=Demand
sc config "fdPHost" start=Demand
sc config "fhsvc" start=Demand
sc config "hidserv" start=Demand
sc config "icssvc" start=Demand
sc config "lfsvc" start=Demand
sc config "lltdsvc" start=Demand
sc config "lmhosts" start=Demand
sc config "msiserver" start=Demand
sc config "netprofm" start=Demand
sc config "p2pimsvc" start=Demand
sc config "p2psvc" start=Demand
sc config "perceptionsimulation" start=Demand
sc config "pla" start=Demand
sc config "seclogon" start=Demand
sc config "smphost" start=Demand
sc config "spectrum" start=Demand
sc config "svsvc" start=Demand
sc config "swprv" start=Demand
sc config "upnphost" start=Demand
sc config "vds" start=Demand
sc config "vm3dservice" start=Demand
sc config "vmicguestinterface" start=Demand
sc config "vmicheartbeat" start=Demand
sc config "vmickvpexchange" start=Demand
sc config "vmicrdv" start=Demand
sc config "vmicshutdown" start=Demand
sc config "vmictimesync" start=Demand
sc config "vmicvmsession" start=Demand
sc config "vmicvss" start=Demand
sc config "vmvss" start=Demand
sc config "wbengine" start=Demand
sc config "wcncsvc" start=Demand
sc config "webthreatdefsvc" start=Demand
sc config "wercplsupport" start=Demand
sc config "wisvc" start=Demand
sc config "wlidsvc" start=Demand
sc config "wlpasvc" start=Demand
sc config "wmiApSrv" start=Demand
sc config "workfolderssvc" start=Demand
sc config "wuauserv" start=Demand
sc config "wudfsvc" start=Demand
sc config "MapsBroker" start=Demand
sc config "GameInputSvc" start=Demand
sc config "TermService" start=Demand
sc config "HomeGroupListener" start=Demand
sc config "HomeGroupProvider" start=Demand

echo Done!


echo.
echo :::::::::::::::::::::::::::::::::::
echo ::::: Setting Scheduled Tasks :::::
echo :::::::::::::::::::::::::::::::::::
echo.

schtasks /Change /Disable /TN "Microsoft\Windows\Application Experience\Microsoft Compatibility Appraiser"
schtasks /Change /Disable /TN "Microsoft\Windows\Application Experience\ProgramDataUpdater"
schtasks /Change /Disable /TN "Microsoft\Windows\Autochk\Proxy"
schtasks /Change /Disable /TN "Microsoft\Windows\Customer Experience Improvement Program\Consolidator"
schtasks /Change /Disable /TN "Microsoft\Windows\Customer Experience Improvement Program\UsbCeip"
schtasks /Change /Disable /TN "Microsoft\Windows\DiskDiagnostic\Microsoft-Windows-DiskDiagnosticDataCollector"
schtasks /Change /Disable /TN "Microsoft\Windows\Feedback\Siuf\DmClient"
schtasks /Change /Disable /TN "Microsoft\Windows\Feedback\Siuf\DmClientOnScenarioDownload"
schtasks /Change /Disable /TN "Microsoft\Windows\Windows Error Reporting\QueueReporting"
schtasks /Change /Disable /TN "Microsoft\Windows\Application Experience\MareBackup"
schtasks /Change /Disable /TN "Microsoft\Windows\Application Experience\StartupAppTask"
schtasks /Change /Disable /TN "Microsoft\Windows\Application Experience\PcaPatchDbTask"
schtasks /Change /Disable /TN "Microsoft\Windows\Maps\MapsUpdateTask"
schtasks /Change /Disable /TN "\Microsoft\XblGameSave\XblGameSaveTask"
schtasks /Change /Disable /TN "\Microsoft\Windows\BitLocker\BitLocker Encrypt All Drives"
schtasks /Change /Disable /TN "\Microsoft\Windows\BitLocker\BitLocker MDM policy Refresh"
schtasks /Change /TN "Microsoft\Windows\.NET Framework\.NET Framework NGEN v4.0.30319" /Disable
schtasks /Change /TN "Microsoft\Windows\.NET Framework\.NET Framework NGEN v4.0.30319 64" /Disable
schtasks /Change /TN "Microsoft\Windows\.NET Framework\.NET Framework NGEN v4.0.30319 64 Critical" /Disable
schtasks /Change /TN "Microsoft\Windows\.NET Framework\.NET Framework NGEN v4.0.30319 Critical" /Disable
schtasks /Change /TN "Microsoft\Windows\Application Experience\Microsoft Compatibility Appraiser" /Disable
schtasks /Change /TN "Microsoft\Windows\Application Experience\PcaPatchDbTask" /Disable
schtasks /Change /TN "Microsoft\Windows\Application Experience\SdbinstMergeDbTask" /Disable
schtasks /Change /TN "Microsoft\Windows\Application Experience\StartupAppTask" /Disable
schtasks /Change /TN "Microsoft\Windows\Autochk\Proxy" /Disable
schtasks /Change /TN "Microsoft\Windows\Customer Experience Improvement Program\Consolidator" /Disable
schtasks /Change /TN "Microsoft\Windows\Customer Experience Improvement Program\UsbCeip" /Disable
schtasks /Change /TN "Microsoft\Windows\Defrag\ScheduledDefrag" /Disable
schtasks /Change /TN "Microsoft\Windows\Device Information\Device" /Disable
schtasks /Change /TN "Microsoft\Windows\Device Information\Device User" /Disable
schtasks /Change /TN "Microsoft\Windows\Diagnosis\RecommendedTroubleshootingScanner" /Disable
schtasks /Change /TN "Microsoft\Windows\Diagnosis\Scheduled" /Disable
schtasks /Change /TN "Microsoft\Windows\DiskCleanup\SilentCleanup" /Disable
schtasks /Change /TN "Microsoft\Windows\DiskDiagnostic\Microsoft-Windows-DiskDiagnosticDataCollector" /Disable
schtasks /Change /TN "Microsoft\Windows\DiskFootprint\Diagnostics" /Disable
schtasks /Change /TN "Microsoft\Windows\DiskFootprint\StorageSense" /Disable
schtasks /Change /TN "Microsoft\Windows\DUSM\dusmtask" /Disable
schtasks /Change /TN "Microsoft\Windows\EnterpriseMgmt\MDMMaintenenceTask" /Disable
schtasks /Change /TN "Microsoft\Windows\Feedback\Siuf\DmClient" /Disable
schtasks /Change /TN "Microsoft\Windows\Feedback\Siuf\DmClientOnScenarioDownload" /Disable
schtasks /Change /TN "Microsoft\Windows\FileHistory\File History (maintenance mode)" /Disable
schtasks /Change /TN "Microsoft\Windows\Flighting\FeatureConfig\ReconcileFeatures" /Disable
schtasks /Change /TN "Microsoft\Windows\Flighting\FeatureConfig\UsageDataFlushing" /Disable
schtasks /Change /TN "Microsoft\Windows\Flighting\FeatureConfig\UsageDataReporting" /Disable
schtasks /Change /TN "Microsoft\Windows\Flighting\OneSettings\RefreshCache" /Disable
schtasks /Change /TN "Microsoft\Windows\Input\LocalUserSyncDataAvailable" /Disable
schtasks /Change /TN "Microsoft\Windows\Input\MouseSyncDataAvailable" /Disable
schtasks /Change /TN "Microsoft\Windows\Input\PenSyncDataAvailable" /Disable
schtasks /Change /TN "Microsoft\Windows\Input\TouchpadSyncDataAvailable" /Disable
schtasks /Change /TN "Microsoft\Windows\International\Synchronize Language Settings" /Disable
schtasks /Change /TN "Microsoft\Windows\LanguageComponentsInstaller\Installation" /Disable
schtasks /Change /TN "Microsoft\Windows\LanguageComponentsInstaller\ReconcileLanguageResources" /Disable
schtasks /Change /TN "Microsoft\Windows\LanguageComponentsInstaller\Uninstallation" /Disable
schtasks /Change /TN "Microsoft\Windows\License Manager\TempSignedLicenseExchange" /Disable
schtasks /Change /TN "Microsoft\Windows\License Manager\TempSignedLicenseExchange" /Disable
schtasks /Change /TN "Microsoft\Windows\Management\Provisioning\Cellular" /Disable
schtasks /Change /TN "Microsoft\Windows\Management\Provisioning\Logon" /Disable
schtasks /Change /TN "Microsoft\Windows\Maintenance\WinSAT" /Disable
schtasks /Change /TN "Microsoft\Windows\Maps\MapsToastTask" /Disable
schtasks /Change /TN "Microsoft\Windows\Maps\MapsUpdateTask" /Disable
schtasks /Change /TN "Microsoft\Windows\MUI\LPRemove" /Disable
schtasks /Change /TN "Microsoft\Windows\Multimedia\SystemSoundsService" /Disable
schtasks /Change /TN "Microsoft\Windows\NlaSvc\WiFiTask" /Disable
schtasks /Change /TN "Microsoft\Windows\NetTrace\GatherNetworkInfo" /Disable
schtasks /Change /TN "Microsoft\Windows\PI\Sqm-Tasks" /Disable
schtasks /Change /TN "Microsoft\Windows\Power Efficiency Diagnostics\AnalyzeSystem" /Disable
schtasks /Change /TN "Microsoft\Windows\Printing\EduPrintProv" /Disable
schtasks /Change /TN "Microsoft\Windows\Printing\PrinterCleanupTask" /Disable
schtasks /Change /TN "Microsoft\Windows\Printing\PrintJobCleanupTask" /Disable
schtasks /Change /TN "Microsoft\Windows\PushToInstall\Registration" /Disable
schtasks /Change /TN "Microsoft\Windows\Ras\MobilityManager" /Disable
schtasks /Change /TN "Microsoft\Windows\RecoveryEnvironment\VerifyWinRE" /Disable
schtasks /Change /TN "Microsoft\Windows\RemoteAssistance\RemoteAssistanceTask" /Disable
schtasks /Change /TN "Microsoft\Windows\RetailDemo\CleanupOfflineContent" /Disable
schtasks /Change /TN "Microsoft\Windows\Servicing\StartComponentCleanup" /Disable
schtasks /Change /TN "Microsoft\Windows\SettingSync\NetworkStateChangeTask" /Disable
schtasks /Change /TN "Microsoft\Windows\Setup\SetupCleanupTask" /Disable
schtasks /Change /TN "Microsoft\Windows\Setup\SnapshotCleanupTask" /Disable
schtasks /Change /TN "Microsoft\Windows\Shell\FamilySafetyMonitor" /Disable
schtasks /Change /TN "Microsoft\Windows\Shell\FamilySafetyRefreshTask" /Disable
schtasks /Change /TN "Microsoft\Windows\Shell\ThemesSyncedImageDownload" /Disable
schtasks /Change /TN "Microsoft\Windows\Shell\UpdateUserPictureTask" /Disable
schtasks /Change /TN "Microsoft\Windows\SpacePort\SpaceAgentTask" /Disable
schtasks /Change /TN "Microsoft\Windows\SpacePort\SpaceManagerTask" /Disable
schtasks /Change /TN "Microsoft\Windows\Speech\SpeechModelDownloadTask" /Disable
schtasks /Change /TN "Microsoft\Windows\Storage Tiers Management\Storage Tiers Management Initialization" /Disable
schtasks /Change /TN "Microsoft\Windows\Sysmain\ResPriStaticDbSync" /Disable
schtasks /Change /TN "Microsoft\Windows\Sysmain\WsSwapAssessmentTask" /Disable
schtasks /Change /TN "Microsoft\Windows\Task Manager\Interactive" /Disable
schtasks /Change /TN "Microsoft\Windows\TextServicesFramework\MsCtfMonitor" /Disable
schtasks /Change /TN "Microsoft\Windows\Time Synchronization\ForceSynchronizeTime" /Disable
schtasks /Change /TN "Microsoft\Windows\Time Synchronization\SynchronizeTime" /Disable
schtasks /Change /TN "Microsoft\Windows\Time Zone\SynchronizeTimeZone" /Disable
schtasks /Change /TN "Microsoft\Windows\TPM\Tpm-HASCertRetr" /Disable
schtasks /Change /TN "Microsoft\Windows\TPM\Tpm-Maintenance" /Disable
schtasks /Change /TN "Microsoft\Windows\UPnP\UPnPHostConfig" /Disable
schtasks /Change /TN "Microsoft\Windows\UPnP\UPnPHostConfig" /Disable
schtasks /Change /TN "Microsoft\Windows\User Profile Service\HiveUploadTask" /Disable
schtasks /Change /TN "Microsoft\Windows\WCM\WiFiTask" /Disable
schtasks /Change /TN "Microsoft\Windows\WDI\ResolutionHost" /Disable
schtasks /Change /TN "Microsoft\Windows\Windows Filtering Platform\BfeOnServiceStartTypeChange" /Disable
schtasks /Change /TN "Microsoft\Windows\WindowsUpdate\Scheduled Start" /Disable
schtasks /Change /TN "Microsoft\Windows\WlanSvc\CDSSync" /Disable
schtasks /Change /TN "Microsoft\Windows\WOF\WIM-Hash-Management" /Disable
schtasks /Change /TN "Microsoft\Windows\WOF\WIM-Hash-Validation" /Disable
schtasks /Change /TN "Microsoft\Windows\Work Folders\Work Folders Logon Synchronization" /Disable
schtasks /Change /TN "Microsoft\Windows\Work Folders\Work Folders Maintenance Work" /Disable
schtasks /Change /TN "Microsoft\Windows\Workplace Join\Automatic-Device-Join" /Disable
schtasks /Change /TN "Microsoft\Windows\WwanSvc\NotificationTask" /Disable
schtasks /Change /TN "Microsoft\Windows\WwanSvc\OobeDiscovery" /Disable

echo Done!


echo.
echo :::::::::::::::::::::::::::
echo ::::: Finishing Setup :::::
echo :::::::::::::::::::::::::::
echo.

fsutil behavior set disablelastaccess 1
powercfg.exe /hibernate off
powercfg -h off
DISM /Online /Disable-Feature /FeatureName:Recall /Quiet /NoRestart
Winsat formal -restart
fsutil behavior set disabledeletenotify 0

echo Done!


echo.
echo ::::::::::::::::::::::::::::::
echo ::::: Cleaning DISM Temp :::::
echo ::::::::::::::::::::::::::::::
echo.

dism /online /remove-package /packagename:Package_for_RollupFix~31bf3856ad364e35~amd64~~26100.1742.1.10
dism /online /cleanup-image /analyzecomponentstore
dism /online /cleanup-image /startcomponentcleanup
dism /online /cleanup-image /startcomponentcleanup /resetbase
defrag /C /O

echo Done!

echo.
echo ::::::::::::::::::::::::::::::::
echo ::::: Starting Maintenance :::::
echo ::::::::::::::::::::::::::::::::
echo.

control wscui.cpl >nul 2>&1
MSchedExe.exe Start
echo Please wait until the end of maintenance,
echo Then return here and
pause
echo Running Idle Tasks, Please wait...
rundll32.exe advapi32.dll,ProcessIdleTasks

echo Done!

echo.
echo ::::::::::::::::::::::::
echo ::::: Closing apps :::::
echo ::::::::::::::::::::::::
echo.

taskkill /F /IM msedge.exe >nul 2>&1

echo Done!

echo.
echo :::::::::::::::::::::::::
echo ::::: Checking Disk :::::
echo :::::::::::::::::::::::::
echo.

chkdsk >nul 2>&1

echo Done!


echo.
echo :::::::::::::::::::::::::::::
echo ::::: Repairing Windows :::::
echo :::::::::::::::::::::::::::::
echo.

dism /online /cleanup-image /checkhealth >nul 2>&1
dism /online /cleanup-image /scanhealth
dism /online /cleanup-image /restorehealth
sfc /verifyonly
sfc /scannow
dism /online /cleanup-image /analyzecomponentstore
dism /online /cleanup-image /startcomponentcleanup
dism /online /cleanup-image /startcomponentcleanup /resetbase

echo Done!


echo.
echo ::::::::::::::::::::::::::::::
echo ::::: Cleaning Edge Temp :::::
echo ::::::::::::::::::::::::::::::
echo.

del /s /q "%LOCALAPPDATA%\Microsoft\Edge\User Data\Default\History*" >nul 2>&1
del /s /q "%LOCALAPPDATA%\Microsoft\Edge\User Data\Default\Media History*" >nul 2>&1
del /s /q "%LOCALAPPDATA%\Microsoft\Edge\User Data\Default\Visited Links*" >nul 2>&1
del /s /q "%LOCALAPPDATA%\Microsoft\Edge\User Data\Default\Top Sites*" >nul 2>&1
del /s /q "%LOCALAPPDATA%\Microsoft\Edge\User Data\Default\Network Action Predictor*" >nul 2>&1
del /s /q "%LOCALAPPDATA%\Microsoft\Edge\User Data\Default\Shortcuts*" >nul 2>&1
del /s /q "%LOCALAPPDATA%\Microsoft\Edge\User Data\Default\Network\Cookies*" >nul 2>&1
del /s /q "%LOCALAPPDATA%\Microsoft\Edge\User Data\Default\Web Data*" >nul 2>&1
pushd "%LocalAppData%\Microsoft\Edge\User Data\Default\Session Storage" && (rd /s /q "%LocalAppData%\Microsoft\Edge\User Data\Default\Session Storage" 2>nul & popd)
pushd "%LocalAppData%\Microsoft\Edge\User Data\Default\Sync Data" && (rd /s /q "%LocalAppData%\Microsoft\Edge\User Data\Default\Sync Data" 2>nul & popd)
pushd "%LocalAppData%\Microsoft\Edge\User Data\Default\Telemetry" && (rd /s /q "%LocalAppData%\Microsoft\Edge\User Data\Default\Telemetry" 2>nul & popd)
pushd "%LocalAppData%\Microsoft\Edge\User Data\CrashReports" && (rd /s /q "%LocalAppData%\Microsoft\Edge\User Data\CrashReports" 2>nul & popd)
pushd "%LocalAppData%\Microsoft\EdgeUpdate\Log" && (rd /s /q "%LocalAppData%\Microsoft\EdgeUpdate\Log" 2>nul & popd)
pushd "%LocalAppData%\Microsoft\EdgeUpdate\Download" && (rd /s /q "%LocalAppData%\Microsoft\EdgeUpdate\Download" 2>nul & popd)
pushd "%LocalAppData%\Microsoft\EdgeUpdate\Install" && (rd /s /q "%LocalAppData%\Microsoft\EdgeUpdate\Install" 2>nul & popd)
pushd "%LocalAppData%\Microsoft\EdgeUpdate\Offline" && (rd /s /q "%LocalAppData%\Microsoft\EdgeUpdate\Offline" 2>nul & popd)
pushd "%LocalAppData%\Microsoft\Edge\User Data\BrowserMetrics" && (rd /s /q "%LocalAppData%\Microsoft\Edge\User Data\BrowserMetrics" 2>nul & popd)
pushd "%LocalAppData%\Microsoft\Edge\User Data\Crashpad\reports" && (rd /s /q "%LocalAppData%\Microsoft\Edge\User Data\Crashpad\reports" 2>nul & popd)
pushd "%LocalAppData%\Microsoft\Edge\User Data\Stability" && (rd /s /q "%LocalAppData%\Microsoft\Edge\User Data\Stability" 2>nul & popd)
pushd "%LocalAppData%\Microsoft\Edge\User Data\Stability" && (rd /s /q "%LocalAppData%\Microsoft\Edge\User Data\Stability" 2>nul & popd)
pushd "%LocalAppData%\Microsoft\Edge\User Data\Feature Engagement Tracker" && (rd /s /q "%LocalAppData%\Microsoft\Edge\User Data\Feature Engagement Tracker" 2>nul & popd)

echo Done!

echo.
echo ::::::::::::::::::::::::::::::::
echo ::::: Cleaning Office Temp :::::
echo ::::::::::::::::::::::::::::::::
echo.

pushd "%LOCALAPPDATA%\Microsoft\Office\16.0\Wef\" && (rd /s /q "%LOCALAPPDATA%\Microsoft\Office\16.0\Wef\" 2>nul & popd)
pushd "%userprofile%\AppData\Local\Packages\Microsoft.Win32WebViewHost_cw5n1h2txyewy\AC\#!123\INetCache\" && (rd /s /q "%userprofile%\AppData\Local\Packages\Microsoft.Win32WebViewHost_cw5n1h2txyewy\AC\#!123\INetCache\" 2>nul & popd)
pushd "%userprofile%\AppData\Local\Microsoft\Outlook\HubAppFileCache" && (rd /s /q "%userprofile%\AppData\Local\Microsoft\Outlook\HubAppFileCache" 2>nul & popd)

echo Done!

echo.
echo :::::::::::::::::::::::::::::
echo ::::: Resetting Network :::::
echo :::::::::::::::::::::::::::::
echo.

netsh winhttp reset proxy >nul
ipconfig /release >nul
ipconfig /flushdns >nul
ipconfig /renew >nul
netsh int ip reset >nul
netsh winsock reset >nul

echo Done!

echo.
echo :::::::::::::::::::::::::::::::::
echo ::::: Cleaning Windows Temp :::::
echo :::::::::::::::::::::::::::::::::
echo.

rundll32.exe pnpclean.dll,RunDLL_PnpClean /drivers /maxclean
cleanmgr /sagerun 1
cleanmgr /verylowdisk
C:\Windows\System32\rundll32.exe InetCpl.cpl, ClearMyTracksByProcess 1
C:\Windows\System32\rundll32.exe InetCpl.cpl, ClearMyTracksByProcess 2
C:\Windows\System32\rundll32.exe InetCpl.cpl, ClearMyTracksByProcess 4
C:\Windows\System32\rundll32.exe InetCpl.cpl, ClearMyTracksByProcess 8
C:\Windows\System32\rundll32.exe InetCpl.cpl, ClearMyTracksByProcess 10
C:\Windows\System32\rundll32.exe InetCpl.cpl, ClearMyTracksByProcess 16
C:\Windows\System32\rundll32.exe InetCpl.cpl, ClearMyTracksByProcess 20
C:\Windows\System32\rundll32.exe InetCpl.cpl, ClearMyTracksByProcess 32
C:\Windows\System32\rundll32.exe InetCpl.cpl, ClearMyTracksByProcess 64
C:\Windows\System32\rundll32.exe InetCpl.cpl, ClearMyTracksByProcess 40
C:\Windows\System32\rundll32.exe InetCpl.cpl, ClearMyTracksByProcess 80
C:\Windows\System32\rundll32.exe InetCpl.cpl, ClearMyTracksByProcess 128
C:\Windows\System32\rundll32.exe InetCpl.cpl, ClearMyTracksByProcess 255
C:\Windows\System32\rundll32.exe InetCpl.cpl, ClearMyTracksByProcess 800
C:\Windows\System32\rundll32.exe InetCpl.cpl, ClearMyTracksByProcess 4351
pushd "C:\Windows\Temp" && (rd /s /q "C:\Windows\Temp" 2>nul & popd)
pushd "%LOCALAPPDATA%\Temp" && (rd /s /q "%LOCALAPPDATA%\Temp" 2>nul & popd)
pushd "C:\Windows\Prefetch" && (rd /s /q "C:\Windows\Prefetch" 2>nul & popd)
pushd "C:\$Recycle.Bin" && (rd /s /q "C:\$Recycle.Bin" 2>nul & popd)
pushd "%LocalAppData%\Microsoft\Windows\WER" && (rd /s /q "%LocalAppData%\Microsoft\Windows\WER" 2>nul & popd)
pushd "%LocalAppData%\Microsoft\Windows\INetCache" && (rd /s /q "%LocalAppData%\Microsoft\Windows\INetCache" 2>nul & popd)
pushd "%LocalAppData%\Microsoft\Windows\INetCookies" && (rd /s /q "%LocalAppData%\Microsoft\Windows\INetCookies" 2>nul & popd)
pushd "%LocalAppData%\Microsoft\Windows\IECompatCache" && (rd /s /q "%LocalAppData%\Microsoft\Windows\IECompatCache" 2>nul & popd)
pushd "%LocalAppData%\Microsoft\Windows\IECompatUaCache" && (rd /s /q "%LocalAppData%\Microsoft\Windows\IECompatUaCache" 2>nul & popd)
pushd "%LocalAppData%\Microsoft\Windows\IEDownloadHistory" && (rd /s /q "%LocalAppData%\Microsoft\Windows\IEDownloadHistory" 2>nul & popd)
pushd "%LocalAppData%\Microsoft\Windows\Temporary Internet Files" && (rd /s /q "%LocalAppData%\Microsoft\Windows\Temporary Internet Files" 2>nul & popd)

echo Done!

echo.
echo :::::::::::::::::::::::::::::
echo ::::: Disk Optimization :::::
echo :::::::::::::::::::::::::::::
echo.

defrag /C /O >nul

echo Done!
echo.
echo *** Attention ***
echo If you press any key your PC will shutdown. Close this file if you don't want to turn off you machine.
pause

echo.
echo ::::::::::::::::::::::::
echo ::::: Shutting Down ::::
echo ::::::::::::::::::::::::
echo.

pushd "C:\Windows\Temp" && (rd /s /q "C:\Windows\Temp" 2>nul & popd)
pushd "%LOCALAPPDATA%\Temp" && (rd /s /q "%LOCALAPPDATA%\Temp" 2>nul & popd)
pushd "C:\Windows\Prefetch" && (rd /s /q "C:\Windows\Prefetch" 2>nul & popd)
pushd "C:\$Recycle.Bin" && (rd /s /q "C:\$Recycle.Bin" 2>nul & popd)
pushd "%LocalAppData%\Microsoft\Windows\WER" && (rd /s /q "%LocalAppData%\Microsoft\Windows\WER" 2>nul & popd)
pushd "%LocalAppData%\Microsoft\Windows\INetCache" && (rd /s /q "%LocalAppData%\Microsoft\Windows\INetCache" 2>nul & popd)
pushd "%LocalAppData%\Microsoft\Windows\INetCookies" && (rd /s /q "%LocalAppData%\Microsoft\Windows\INetCookies" 2>nul & popd)
pushd "%LocalAppData%\Microsoft\Windows\IECompatCache" && (rd /s /q "%LocalAppData%\Microsoft\Windows\IECompatCache" 2>nul & popd)
pushd "%LocalAppData%\Microsoft\Windows\IECompatUaCache" && (rd /s /q "%LocalAppData%\Microsoft\Windows\IECompatUaCache" 2>nul & popd)
pushd "%LocalAppData%\Microsoft\Windows\IEDownloadHistory" && (rd /s /q "%LocalAppData%\Microsoft\Windows\IEDownloadHistory" 2>nul & popd)
pushd "%LocalAppData%\Microsoft\Windows\Temporary Internet Files" && (rd /s /q "%LocalAppData%\Microsoft\Windows\Temporary Internet Files" 2>nul & popd)

shutdown.exe /s /t 0
Gee. What can I do with al this?
 

My Computer

System One

  • OS
    Win10/11 Triple Boot Insider Release Preview and DEV channels
    Computer type
    Laptop
    Manufacturer/Model
    HP ENVY
    CPU
    i5 Core 7200U@2.50GHz (Unsupported for Win 11)
    Motherboard
    HP 81AD (U3E1)
    Memory
    12GB
    Graphics Card(s)
    Generic PnP Monitor (1920x1080@60Hz) Intel HD Graphics 620 (HP)
    Sound Card
    Conexant ISST audio
    Monitor(s) Displays
    Generic PnP Monitor
    Screen Resolution
    1536x864 pixels
    Hard Drives
    HGST HTS721010A9E630
    PSU
    Well...PSU you!! What's this mean?
    Case
    HP ENVY SILVER
    Cooling
    A fan.
    Keyboard
    USA
    Mouse
    Logitec Anywhere 2
    Internet Speed
    Good enough for me! Fast!
    Browser
    Edge/Waterfox
    Antivirus
    Windows Defender
    Other Info
    No 'mo.
Gee. What can I do with al this?
D D D DON'T TRY IT B B B BRO
it's just for examination.
I share these commands to see what other members recommend

these commands will change registry, services and scheduled tasks "for my own usage only" but you can edit it based on your own usage!
after changing everything it runs deep scan and cleanup commands
 

My Computers

System One System Two

  • OS
    Windows 11 Pro 24H2
    Computer type
    Laptop
    Manufacturer/Model
    Huawei MateBook D15
    CPU
    Ryzen 5 3500U
    Memory
    8GB
    Graphics Card(s)
    Vega 8
    Screen Resolution
    FHD
    Hard Drives
    256GB Samsung SSD + 1TB HDD
    Browser
    Microsoft Edge
    Antivirus
    ESET Smart Security Premium
  • Operating System
    Windows 10 Enterprise LTSC 21H2
    Computer type
    Laptop
    Manufacturer/Model
    MSI GS73 6RF Stealth Pro
    CPU
    intel core i7 6700HQ
    Memory
    16GB
    Graphics card(s)
    Nvidia Geforce GTX1060 (6GB)
    Screen Resolution
    FHD
    Hard Drives
    128GB SSD + 1TB HDD
    Browser
    Microsoft Edge
    Antivirus
    Windows Defender
Anyone else notice hdr video streaming not staying enabled unless hdr is enabled? Reverts back to disabled the second i leave the hdr settings page. Maybe i am thinking this all wrong?

Edit- Paying closer attention it looks like that option is completely missing for me
 

Attachments

  • Screenshot 2025-05-31 151346.webp
    Screenshot 2025-05-31 151346.webp
    25.1 KB · Views: 1

My Computer

System One

  • OS
    11 pro
    CPU
    intel 14900ks
    Motherboard
    z790 apex encore
    Memory
    gskill 48gb@8400
    Graphics Card(s)
    palit 4090
    Sound Card
    creative ae-7
    Monitor(s) Displays
    dell aw3225qf
    Hard Drives
    (3) 980pro 2tb
    (1) 990pro 4tb
    PSU
    phanteks 1600w
    Case
    nzxt h7 flow
    Cooling
    ekwb cr360 dd

My Computer

System One

  • OS
    WINDOWS 11 WINDOWS 10
    Computer type
    PC/Desktop
    Manufacturer/Model
    HP ELITEDESK800 G1 SFF
    CPU
    Intel(R) Core(TM) i5-4570 CPU @ 3.20GHz 3.20 GHz
    Motherboard
    HP L01 v02.71 5/9/2017
    Memory
    32.0 GB (31.9 GB usable)
    Graphics Card(s)
    AMD RADEON TM R5240 INTELL HD GRAPHICS 4600
    Sound Card
    AMD HD . REALTEK HD
    Monitor(s) Displays
    AOC WAL MART SPECIAL . HP COMPAQ LE 2002 DELL 1708 FP
    Screen Resolution
    1920 X 1080 1600X900 1280X940
    Hard Drives
    2 FAXING S 100 512GB
    PSU
    300 WATT HP
    Case
    SMALL FORM FACTOR
    Cooling
    ON BOARD FAN
    Keyboard
    NPET
    Mouse
    NO NAME WIRELESS
    Internet Speed
    55 UP 11.2 DOWN
    Browser
    CHROME EDGE
    Antivirus
    WINDOWS SECUIRTY
    Other Info
    NON SUPPORTED HARDWARE FOR WINDOWS 11
Anyone else notice hdr video streaming not staying enabled unless hdr is enabled? Reverts back to disabled the second i leave the hdr settings page. Maybe i am thinking this all wrong?

Edit- Paying closer attention it looks like that option is completely missing for me

What I noticed on my system is that on my LG C4 if I have Use Dolby Vision Mode enabled in the Windows Display settings app it forces Dolby Vision on in Windows desktop on the C4 even if I do not have PC Dolby Vision enabled on the C4 in its menu. In other words it disabled standard HDR10 and forces Dolby Vision for everything including the desktop. Very weird behavior.
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    EVGA home brew
    CPU
    Broadwell-e 6850K 4.5ghz @1.36v
    Motherboard
    EVGA X99 FTW K
    Memory
    32GB Corsair LPM 3600 C16
    Graphics Card(s)
    EVGA RTX 3080Ti FTW
    Sound Card
    Soundblaster X4
    Monitor(s) Displays
    LG C4 55"
    Screen Resolution
    4K 144hz
    Hard Drives
    Various models of SSDs ~10TB No HDDs installed.
    PSU
    be quiet! BN516 Straight Power 12-1000w 80 Plus Platinum
    Case
    Corsair 780T modified to dual 200mm intake fans
    Cooling
    Corsiar H110i
    Keyboard
    Corsair K95 Platinum
    Mouse
    Corsair M65 RGB Elite
What I noticed on my system is that on my LG C4 if I have Use Dolby Vision Mode enabled in the Windows Display settings app it forces Dolby Vision on in Windows desktop on the C4 even if I do not have PC Dolby Vision enabled on the C4 in its menu. In other words it disabled standard HDR10 and forces Dolby Vision for everything including the desktop. Very weird behavior.
Thanks that probably has something to do with it. I don't see any dolby vision options to disable in windows (or the dolby app) but i killed it on the monitor with no luck. Will keep going manual as usual and hope it gets better. thanks much
 

My Computer

System One

  • OS
    11 pro
    CPU
    intel 14900ks
    Motherboard
    z790 apex encore
    Memory
    gskill 48gb@8400
    Graphics Card(s)
    palit 4090
    Sound Card
    creative ae-7
    Monitor(s) Displays
    dell aw3225qf
    Hard Drives
    (3) 980pro 2tb
    (1) 990pro 4tb
    PSU
    phanteks 1600w
    Case
    nzxt h7 flow
    Cooling
    ekwb cr360 dd
Anyone else notice hdr video streaming not staying enabled unless hdr is enabled? Reverts back to disabled the second i leave the hdr settings page. Maybe i am thinking this all wrong?

Edit- Paying closer attention it looks like that option is completely missing for me

My HDR Streaming stays on. But my system shows "Use HDR" is "Not supported". The Streaming setting stays on between boots.
 

My Computer

System One

  • OS
    Windows 11 Pro 24H2
    Computer type
    Laptop
    Manufacturer/Model
    HP
    CPU
    Intel Ultra 7 155H
    Memory
    16gb
    Graphics Card(s)
    Intel Arc integrated
    Hard Drives
    SSD
The Text Formatting in Notepad app in Windows 11 features is already exists in 26100.4202.

You can follow [Enable or Disable Text Formatting in Notepad app in Windows 11] guide to toggle on the feature using Vivetool. or directly import the registry keys to toggle on.

* Required Notepad version 11.2504.50.0 and higher.

Code:
Windows Registry Editor Version 5.00

# Text Formatting in Notepad begin rolling out to Windows Insiders on Windows 11
# Vivetool ID:41073112 ; CFR Registry Key:2971409037
[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\FeatureManagement\Overrides\14]

[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\FeatureManagement\Overrides\14\2971409037]
"EnabledState"=dword:00000002
"EnabledStateOptions"=dword:00000000

2025-06-02-180717.png
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
The Text Formatting in Notepad app in Windows 11 features is already exists in 26100.4202.

You can follow [Enable or Disable Text Formatting in Notepad app in Windows 11] guide to toggle on the feature using Vivetool. or directly import the registry keys to toggle on.

* Required Notepad version 11.2504.50.0 and higher.

Code:
Windows Registry Editor Version 5.00

# Text Formatting in Notepad begin rolling out to Windows Insiders on Windows 11
# Vivetool ID:41073112 ; CFR Registry Key:2971409037
[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\FeatureManagement\Overrides\14]

[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\FeatureManagement\Overrides\14\2971409037]
"EnabledState"=dword:00000002
"EnabledStateOptions"=dword:00000000

2025-06-02-180717.png
I don't see the new toolbar. I tried just CFR and not Vivetool. Is it necessary ?
 

My Computer

System One

  • OS
    26100.2314
    Computer type
    PC/Desktop
    CPU
    i5-11400F
    Motherboard
    Gigabyte
    Memory
    32GB
    Graphics Card(s)
    Geforce GT-1030
    Keyboard
    Logitech K400
    Mouse
    Logitech M720
    Internet Speed
    600 Mb
    Browser
    Edge

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop

My Computer

System One

  • OS
    26100.2314
    Computer type
    PC/Desktop
    CPU
    i5-11400F
    Motherboard
    Gigabyte
    Memory
    32GB
    Graphics Card(s)
    Geforce GT-1030
    Keyboard
    Logitech K400
    Mouse
    Logitech M720
    Internet Speed
    600 Mb
    Browser
    Edge
The Quick Machine Recovery features is already exists in Windows 11 24H2 Build 26100.4202 (KB5058499).

You can directly import the registry keys to toggle on.



2025-06-04-064803.png


To simulate the quick machine recovery experience, use the following commands from an elevated command prompt:

  • Enable test mode:
Code:
reagentc.exe /SetRecoveryTestmode
  • Configure Windows to boot to Windows Recovery Environment on the next boot:
Code:
reagentc.exe /BootToRe

Reboot your device. The system goes through autoremediation of a simulated crash and reboots back to Windows.
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
The Quick Machine Recovery features is already exists in Windows 11 24H2 Build 26100.4202 (KB5058499).

You can directly import the registry keys to toggle on.



2025-06-04-064803.png


To simulate the quick machine recovery experience, use the following commands from an elevated command prompt:

  • Enable test mode:
Code:
reagentc.exe /SetRecoveryTestmode
  • Configure Windows to boot to Windows Recovery Environment on the next boot:
Code:
reagentc.exe /BootToRe

Reboot your device. The system goes through autoremediation of a simulated crash and reboots back to Windows.
Which key activates this if you don't want all the other hidden features enabled?
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom Built
    CPU
    Intel i9 14900KF
    Motherboard
    Asus z790 ProArt Creator WiFi
    Memory
    64GB Corsair Vengeance RGB
    Graphics Card(s)
    MSI 4090 Suprim X
    Sound Card
    Onboard
    Monitor(s) Displays
    1 x Asus 24". 1 x Asus 32"
    Screen Resolution
    1920x1080 & 2560 x 1440
    Hard Drives
    Multiple
    PSU
    Corsair 1200HX
    Case
    Corsair 7000D RGB
    Cooling
    Corsair H150I Capellix XT
    Keyboard
    Corsair K70 RGB MK.2
    Mouse
    Corsair M55 RGB Pro
    Internet Speed
    1000Mb/s
    Browser
    Edge
    Antivirus
    Windows Default

Latest Support Threads

Back
Top Bottom