Skip to content

Command Excuting error? (Windows 10) #675

Description

@Kate-alt-69

Checklist

  • I have searched for existing issues/discussions and didn't find any similar ones.
  • I haven't used any other scripts, tools or programs that might have caused this issue.

Windows version

Windows 10 HSL 22H2 Installed on 26-‎09-‎2025 OS Build 19045.7417

Script mode/options

custom mode

Describe the issue

                         ^
                        / \
                       /   \
                      /     \
                     / ===== \
                     |  ---  |
                     | ( O ) |
                     |  ---  |
                     |       |
                    /|       |\
                   / |       | \
                     |  '''  |    *
                       (''')    *  *
                       ( ' )   *

             Win11Debloat is launching...
                Keep this window open


Retrieving installed apps via winget...
<ERROR#2>
<ERROR#2>
Selected user mode: current user (Merge)
> Creating registry backup...
Backup successfully created: C:\Users\Merge\Downloads\Win11Debloat-master\Backups\Win11Debloat-RegistryBackup-20260625_223942.json

> Creating a system restore point...
Error: Unable to retrieve existing restore points: The term 'Get-ComputerRestorePoint' is not recognized as a name of a cmdlet, function, script file, or executable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
Warning: Continuing without restore point

> Removing selected apps for all users...
9 apps selected for removal
Removing Microsoft.OutlookForWindows
<ERROR#1>
Removing Microsoft.MSPaint
<ERROR#1>
Removing Microsoft.YourPhone
<ERROR#1>
Removing Microsoft.Windows.Photos
<ERROR#1>
Removing Microsoft.SkypeApp
<ERROR#1>
Removing Microsoft.WindowsSoundRecorder
<ERROR#1>
Removing Microsoft.WindowsMaps
<ERROR#1>
Removing Microsoft.XboxApp
<ERROR#1>
Removing Microsoft.XboxSpeechToTextOverlay
<ERROR#1>
> Disabling telemetry and diagnostic data collection...
The operation completed successfully.

> Disabling telemetry scheduled tasks...

> Disabling tips & tricks on the lock screen...
The operation completed successfully.

> Preventing automatic restarts after updates while signed in...
The operation completed successfully.

> Hiding the chat icon from the taskbar...
The operation completed successfully.

> Enabling file extensions for known file types...
The operation completed successfully.

> Disabling the 'Windows Spotlight' desktop background option...
The operation completed successfully.

> Hiding the '3D objects' folder from the File Explorer navigation pane...
The operation completed successfully.

> Disabling Find My Device location tracking...
The operation completed successfully.

> Hiding 'Share' in the context menu...
The operation completed successfully.

> Disabling Windows location services and app location access...
The operation completed successfully.

> Hiding 'Include in library' in the context menu...
The operation completed successfully.

> Enabling dark mode for system and apps...
The operation completed successfully.

> Disabling transparency effects...
The operation completed successfully.

> Unhiding hidden files, folders and drives...
The operation completed successfully.

> Turning off Enhanced Pointer Precision...
The operation completed successfully.

> Disabling Bing web search & Copilot integration in Windows search...
The operation completed successfully.

Removing Microsoft.BingSearch
Write-Error: C:\Users\Merge\Downloads\Win11Debloat-master\Scripts\AppRemoval\RemoveApps.ps1:198

> Hiding the 'OneDrive' section from the File Explorer navigation pane...
The operation completed successfully.

> Disabling widgets on the taskbar & lock screen...
Removing Microsoft.StartExperiencesApp
Write-Error: C:\Users\Merge\Downloads\Win11Debloat-master\Scripts\AppRemoval\RemoveApps.ps1:198

Write-Error: C:\Users\Merge\Downloads\Win11Debloat-master\Scripts\AppRemoval\RemoveApps.ps1:198

Write-Error: C:\Users\Merge\Downloads\Win11Debloat-master\Scripts\AppRemoval\RemoveApps.ps1:198

All changes have been applied successfully!
Transcript stopped, output file is C:\Users\Merge\Downloads\Win11Debloat-master\Logs\Win11Debloat.log
PS C:\Users\Merge\Downloads\Win11Debloat-master>

Steps to reproduce

  1. open script (i used PWS7 Admin)
  2. custom mode (i used CM and continued )
  3. errors in terminal

Error output

Command errors while doing tasks in the background PWS7 while retreving data and also while uninstalling stuff with the same error

Additional context

ERROR#2

Write-Error: C:\Users\Merge\Downloads\Win11Debloat-master\Scripts\GUI\MainWindow-AppSelection.ps1:333
Line |
 333 |          $rawAppData = Invoke-NonBlocking -ScriptBlock {
     |                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | The 'Get-AppxPackage' command was found in the module 'Appx', but the module could not be loaded due to the
     | following error: [Operation is not supported on this platform. (0x80131539)] For more information, run
     | 'Import-Module Appx'.

ERROR#1

Write-Error: C:\Users\Merge\Downloads\Win11Debloat-master\Scripts\AppRemoval\RemoveApps.ps1:198
Line |
 198 |                  Invoke-NonBlocking -ScriptBlock {
     |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | The 'Get-AppxPackage' command was found in the module 'Appx', but the module could not be loaded due to the
     | following error: [Operation is not supported on this platform. (0x80131539)] For more information, run
     | 'Import-Module Appx'.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions