Error Block 1
# Power & Battery (Control Panel)
# ========================================
# Windows Settings App - System
# ========================================
# Power (& battery)
Set-PowerSetting: %userprofile%\Downloads\WindowsMize-main\scripts\system_&_tweaks\power_&_battery.ps1:82
Line |
82 | Set-PowerSetting -PowerMode 'Balanced'
| ~~~~~~~~~~~~~~~~
| The term 'Set-PowerSetting' 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.
Set-PowerSetting: %userprofile%\Downloads\WindowsMize-main\scripts\system_&_tweaks\power_&_battery.ps1:85
Line |
85 | Set-PowerSetting -BatteryPercentage 'Enabled'
| ~~~~~~~~~~~~~~~~
| The term 'Set-PowerSetting' 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.
Set-PowerSetting: %userprofile%\Downloads\WindowsMize-main\scripts\system_&_tweaks\power_&_battery.ps1:97
Line |
97 | Set-PowerSetting -PowerSource 'PluggedIn' -PowerState 'Screen' -Ti …
| ~~~~~~~~~~~~~~~~
| The term 'Set-PowerSetting' 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.
Set-PowerSetting: %userprofile%\Downloads\WindowsMize-main\scripts\system_&_tweaks\power_&_battery.ps1:98
Line |
98 | Set-PowerSetting -PowerSource 'PluggedIn' -PowerState 'Sleep' -Ti …
| ~~~~~~~~~~~~~~~~
| The term 'Set-PowerSetting' 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.
Set-PowerSetting: %userprofile%\Downloads\WindowsMize-main\scripts\system_&_tweaks\power_&_battery.ps1:99
Line |
99 | Set-PowerSetting -PowerSource 'PluggedIn' -PowerState 'Hibernate' -Ti …
| ~~~~~~~~~~~~~~~~
| The term 'Set-PowerSetting' 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.
Set-PowerSetting: %userprofile%\Downloads\WindowsMize-main\scripts\system_&_tweaks\power_&_battery.ps1:101
Line |
101 | Set-PowerSetting -PowerSource 'OnBattery' -PowerState 'Screen' -Ti …
| ~~~~~~~~~~~~~~~~
| The term 'Set-PowerSetting' 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.
Set-PowerSetting: %userprofile%\Downloads\WindowsMize-main\scripts\system_&_tweaks\power_&_battery.ps1:102
Line |
102 | Set-PowerSetting -PowerSource 'OnBattery' -PowerState 'Sleep' -Ti …
| ~~~~~~~~~~~~~~~~
| The term 'Set-PowerSetting' 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.
Set-PowerSetting: %userprofile%\Downloads\WindowsMize-main\scripts\system_&_tweaks\power_&_battery.ps1:103
Line |
103 | Set-PowerSetting -PowerSource 'OnBattery' -PowerState 'Hibernate' -Ti …
| ~~~~~~~~~~~~~~~~
| The term 'Set-PowerSetting' 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.
Set-EnergySaverSetting: %userprofile%\Downloads\WindowsMize-main\scripts\system_&_tweaks\power_&_battery.ps1:109
Line |
109 | Set-EnergySaverSetting -AlwaysOn 'Disabled'
| ~~~~~~~~~~~~~~~~~~~~~~
| The term 'Set-EnergySaverSetting' 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.
Set-EnergySaverSetting: %userprofile%\Downloads\WindowsMize-main\scripts\system_&_tweaks\power_&_battery.ps1:113
Line |
113 | Set-EnergySaverSetting -TurnOnAtBatteryLevel 30
| ~~~~~~~~~~~~~~~~~~~~~~
| The term 'Set-EnergySaverSetting' 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.
Set-EnergySaverSetting: %userprofile%\Downloads\WindowsMize-main\scripts\system_&_tweaks\power_&_battery.ps1:119
Line |
119 | Set-EnergySaverSetting -LowerBrightness 50
| ~~~~~~~~~~~~~~~~~~~~~~
| The term 'Set-EnergySaverSetting' 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.
Set-PowerSetting: %userprofile%\Downloads\WindowsMize-main\scripts\system_&_tweaks\power_&_battery.ps1:131
Line |
131 | Set-PowerSetting -PowerSource 'PluggedIn' -ButtonControls 'PowerButto …
| ~~~~~~~~~~~~~~~~
| The term 'Set-PowerSetting' 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.
Set-PowerSetting: %userprofile%\Downloads\WindowsMize-main\scripts\system_&_tweaks\power_&_battery.ps1:132
Line |
132 | Set-PowerSetting -PowerSource 'PluggedIn' -ButtonControls 'SleepButto …
| ~~~~~~~~~~~~~~~~
| The term 'Set-PowerSetting' 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.
Set-PowerSetting: %userprofile%\Downloads\WindowsMize-main\scripts\system_&_tweaks\power_&_battery.ps1:133
Line |
133 | Set-PowerSetting -PowerSource 'PluggedIn' -ButtonControls 'LidClose' …
| ~~~~~~~~~~~~~~~~
| The term 'Set-PowerSetting' 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.
Set-PowerSetting: %userprofile%\Downloads\WindowsMize-main\scripts\system_&_tweaks\power_&_battery.ps1:135
Line |
135 | Set-PowerSetting -PowerSource 'OnBattery' -ButtonControls 'PowerButto …
| ~~~~~~~~~~~~~~~~
| The term 'Set-PowerSetting' 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.
Set-PowerSetting: %userprofile%\Downloads\WindowsMize-main\scripts\system_&_tweaks\power_&_battery.ps1:136
Line |
136 | Set-PowerSetting -PowerSource 'OnBattery' -ButtonControls 'SleepButto …
| ~~~~~~~~~~~~~~~~
| The term 'Set-PowerSetting' 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.
Set-PowerSetting: %userprofile%\Downloads\WindowsMize-main\scripts\system_&_tweaks\power_&_battery.ps1:137
Line |
137 | Set-PowerSetting -PowerSource 'OnBattery' -ButtonControls 'LidClose' …
| ~~~~~~~~~~~~~~~~
| The term 'Set-PowerSetting' 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.
Error: 2
# System and performance
Set-LongPaths: %userprofile%\Downloads\WindowsMize-main\scripts\system_&_tweaks\tweaks.ps1:91
Line |
91 | Set-LongPaths -State 'Enabled'
| ~~~~~~~~~~~~~
| The term 'Set-LongPaths' 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.
InvalidOperation: %userprofile%\Downloads\WindowsMize-main\src\modules\tweaks\public\system_and_performance\Set-StartupAppsDelay.ps1:27
Line |
27 | [ValidateRange(0-45)]
| ~~~~~~~~~~~~~~~~~~~~~
| The following exception occurred while constructing the attribute "ValidateRange": "Cannot convert value
| "-45" to type "System.Management.Automation.ValidateRangeKind" due to enumeration values that are not
| valid. Specify one of the following enumeration values and try again. The possible enumeration values
| are "Positive;NonNegative;Negative;NonPositive"."
Error: 3
# For developers
Set-SystemAdvancedSetting: %userprofile%\Downloads\WindowsMize-main\scripts\win_settings_app\system.ps1:211
Line |
211 | Set-SystemAdvancedSetting -Sudo 'Enabled'
| ~~~~~~~~~
| Cannot process argument transformation on parameter 'Sudo'. Cannot convert value "Enabled" to type
| "SudoMode". Error: "Unable to match the identifier name Enabled to a valid enumerator name. Specify one
| of the following enumerator names and try again: Disabled, NewWindow, InputDisabled, Inline"
Error: 4
# Device usage
VERBOSE: Setting 'Device Usage Consent' to 'NotAccepted' ...
VERBOSE: key: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\CloudExperienceHost\Intent\OffDeviceConsent
VERBOSE: set: 'accepted' to '0' (DWord)
ParserError: %userprofile%\Downloads\WindowsMize-main\src\modules\settings_app\apps\public\Set-AppActions.ps1:35
Line |
35 | [CmdletBinding()]
| ~~~~~~~~~~~~~~~~~
| Unexpected attribute 'CmdletBinding'.
Error: 5
Loading 'Applications\Management' & 'settings_app\optional_features' Modules ...
Loading 'Applications\Settings' Module ...
Transcript stopped, output file is %userprofile%\Downloads\WindowsMize-main\log\User\WindowsMize-2026-01-02T01-33-57.log
Loading 'Applications\Settings' Module ...
Loading 'Applications\Settings' Module ...
...
Loading 'Win_settings_app\Accessibility' Module ...
Loading 'Win_settings_app\Windows_update' Module ...
Stop-Transcript: %userprofile%\Downloads\WindowsMize-main\WindowsMize.ps1:85
Line |
85 | Stop-Transcript
| ~~~~~~~~~~~~~~~
| An error occurred stopping transcription: The host is not currently transcribing.