[Bug Report] - Errors when running tweaks on stable 26.09.29: PowerShell 7 failures and "already removed" error noise
Maintainers usually reply within 3 days
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- powershell
- Domain
- tooling
Research direction
Start by locating WPFTweaksDeleteTempFiles and the handlers for Widget, Windows AI, Disable BitLocker, Telemetry, Remove OneDrive, and Remove Edge; compare the PowerShell 7 and 5.1 behavior using the reported environment and tweak list. The report also describes an explorer restart failure and startup UI errors, so first separate reproducible failures from harmless already-absent-item errors; done means the confirmed failures are resolved and expected absent-item cases no longer produce misleading errors.
Written by the indexing model from the issue text.
Description
I have read the known issues
- Yes, I did
Version of WinUtil
26.09.29
What part of WinUtil are you having issues with?
Tweaks Tab
Description of the issue
Environment:
- WinUtil: stable 26.09.29 (same on dev)
- Windows 11 Home Single Language, 26H2, build 26300.9550
- PowerShell 7.6.6 and Windows PowerShell 5.1 (both tested)
- Launched with: irm https://christitus.com/win | iex in an admin terminal
- Microsoft Store is installed. Edge and OneDrive were already removed.
Tweaks ticked (22, DNS set to Google):
Restore Point, Activity History, Consumer Features, WPBT, Location,
Telemetry, Delivery Optimization, Delete Temp Files, End Task on Taskbar,
Revert Start Menu, Widget, Remove OneDrive, Windows AI, Right Click Menu,
Disable BitLocker, Disk Cleanup, Prevent Device Metadata From Network,
Hibernation, Disable Background Apps, UTC Time, Remove Edge, Teredo.
"Services - Set to Manual" was left unticked (see #5139).
A. Fails in PowerShell 7 only (works in 5.1)
-
Widget, Windows AI and Disable BitLocker fail:
"The 'Get-AppxPackage' command was found in the module 'Appx', but the
module could not be loaded... Could not find a part of the path
'C:\Users...\AppData\Local\Temp\remoteIpMoProxy_...format.ps1xml'"
(same message for 'Disable-BitLocker' in the 'BitLocker' module).
In 5.1 the same tweaks report "Removed widgets" and "Windows AI Disabled".
Guess, not confirmed: in PS7 these modules load through the Windows
PowerShell compatibility layer, and WPFTweaksDeleteTempFiles runs before
them and may delete the proxy files. -
explorer.exe stops and does not restart after running tweaks. I have to
start it from Task Manager (File > Run new task). In 5.1 it restarts by
itself (twice during the run). Cause unknown. Running only
"Remove OneDrive" in PS7 did not reproduce it.
B. Harmless errors when the target is already gone (both PS 7 and 5.1)
These don't break anything, but they show red in the log. Checking
whether the item exists first would make logs cleaner.
- Telemetry: Service 'wermgr' was not found
- Telemetry: Property PeriodInNanoSeconds does not exist at
HKCU:\Software\Microsoft\Siuf\Rules - Remove OneDrive: icacls "First parameter must be a file name pattern"
($Env:OneDrive is empty), and "Cannot find a process with the name
FileCoAuth" - Remove Edge: Cannot find path 'C:\Program Files (x86)\Microsoft\Edge\Application'
- Disable BitLocker: "BitLocker Drive Encryption is not enabled on this
drive" (0x80310008)
C. Startup UI errors (low priority)
On launch my log shows many "Background queue 'InstallAppRender':
Exception setting "Source"... COM object that has been separated from
its underlying RCW cannot be used" for app favicons.
List of Applied Tweaks
Paste the full error output (if available) or Screenshot or Video.
- Dominant language
- PowerShell
- Stars
- 64k
- Forks
- 3.7k
- Avg merge
- 5d 13h
- Merged PRs (30d)
- 21
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from ChrisTitusTech/winutil
-
[Bug Report] - Telemetry tweak failsPossibly taken @danilablagorodniy37 claimed this 7 days ago. Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
ChrisTitusTech/winutil#5145 · 3 reactions ·
Maintainers usually reply within 3 days
-
Notepad++ is incorrectly categorized under MultimediaPossibly taken @seanh1995 claimed this 12 days ago. Open
Difficulty 1/5 Under an hour Newbie friendliness 72/100
ChrisTitusTech/winutil#5138 ·
Maintainers usually reply within 3 days
-
Difficulty 4/5 3-5 days Newbie friendliness 10/100
ChrisTitusTech/winutil#5166 · 2 comments ·
Maintainers usually reply within 3 days
-
Detect WinGet-fallback apps in Get Installed when Chocolatey mode is selectedPossibly taken @PanagiotisKaraliolios claimed this 8 days ago. Open
Difficulty 3/5 1-2 days Newbie friendliness 62/100
ChrisTitusTech/winutil#5155 ·
Maintainers usually reply within 3 days
-
bug
Difficulty 3/5 1-2 days Newbie friendliness 52/100
ChrisTitusTech/winutil#5141 ·
Maintainers usually reply within 3 days
All issues in ChrisTitusTech/winutil
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Graphify-Labs/graphify#4524 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
ScoopInstaller/Extras#19070 ·
Maintainers usually reply within 1 day
-
bug:new
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
callstackincubator/simlock#673 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 1/5 Under an hour Newbie friendliness 88/100
PhasetransCrystal/FPSMatch#47 ·
Maintainers usually reply within 1 day
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
sleeyax/promptfiles#20 ·