Comments (7)
Just a heads-up, hope this will help: the deployment of Edge has been made more strict recently to the point where updates are being rolled back if the deployment fails.
There wasn't anything specific mentioned here that would be explicit enough to conclude the origin of the issue, so I assume the whole EndOfLife code was skipped (for all of the apps), however, focusing only on this app (Edge) with regards to disabling changes made by your app might be sufficient.
The deployment of Edge is handled individually (EdgeAI.dll from Servicing Stack Update) from what I can tell, so hopefully other parts of the code can be left enabled having this in mind.
from privacy.sexy.
Hi @zdat, here's the new logic added since that version (introduced by #260):
- Completely removal of appx-package
Remove-AppPackage
- Deprovisioning it using
reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Appx\AppxAllUserStore\Deprovisioned\{{ AppName}} " /f
- Set it as end-of-life
reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Appx\AppxAllUserStore\EndOfLife\$($sid)\$($packageFamilyName)" /f
(I highly suspect this one)
This must be a side-effect of one these.
Testing updates is so hard for me, so I rely on community support for this.
Two potential ways to debug this:
- Checking update logs to see if it states why it fails.
- Once experiencing this, instead of running the complete revert script, we can comment out/remove the lines that are fixing the keys (
EndOfLife
andDeprovisioned
) and try again (i.e. run. If updates fail then we know that this caused byRemove-AppPackage
, if they do not fail we verify that it's one of these keys, the next step would be the running key revert codes one by one to see which one is running this.
The line setting Deprovisioned
key:
The line setting EndOfLife
key:
from privacy.sexy.
Can confirm commenting out EndOfLife
fixes the issue.
from privacy.sexy.
Thank you for the information @hafeoz.
I will fix this in a few days and release a patch for it.
from privacy.sexy.
I see there is a commit that fixes this issue.
What exactly should I do with this commit script to restore update functionality? I'm not sure what a commit is to be honest so I don't know if the script fixes the issue or it's something to be added later to the privacy.sexy next release or something.
from privacy.sexy.
Hi, thank you for asking, I will released the fix version on Tuesday. However, it will not retroactively fix the issues but will not cause these issue in future.
I will update here once the release is there, then you can run remove system apps again, until then, do not run system app removal scripts. For those who's seeing this thread later, the issue will be fixed since v0.12.8 so you shouldn't worry about, but if you deleted apps using older versions (v0.12.7 or v0.12.6), keep reading.
Here's how you can fix the issue with updates (which seems to be caused by Microsoft refusing to do updates if it cannot install Edge):
-
Open Command Prompt (Start Menu ➜ type "cmd" ➜ select "Command Prompt")
-
Copy and paste the following command:
PowerShell -ExecutionPolicy Unrestricted -Command "Remove-Item -Path 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Appx\AppxAllUserStore\EndOfLife\*' -Force -Verbose"
-
Press Enter
from privacy.sexy.
The fix is released (the EndOfLife
key will no longer be left around by privacy.sexy) and instructions to fix your Windows (without reverting uninstallation of system apps) is documented in release notes, see 0.12.8 🚀
from privacy.sexy.
Related Issues (20)
- [BUG]: Snipping Tool still can be executable via its keyboard shortcut HOT 9
- [BUG]: Remove Windows Apps doesn't fully remove Xbox Apps HOT 2
- [Feature] The search string as query parameters in the URL HOT 8
- [BUG]: When trying to copy a screenshot by sketching a fragment of the screen (ctrl+shift+s), copying does not happen automatically, an error occurs when trying to copy manually. HOT 4
- Disable Copilot keyboard shortcut (Windows key + C) HOT 5
- Apple silicon processor support HOT 11
- [BUG]: After applying Standard selection Phone Link is broken HOT 9
- [BUG]: Error Running Script HOT 3
- [BUG]: Something in standard script selection breaks "Forgot my password" on the lock screen
- [Feature] Overall Preview Report Of Privacy HOT 10
- Cannot Login & Windows Event Log service HOT 2
- [BUG]: Cannot Login and Windows Event Log service HOT 5
- Reduce display/screen fingerprinting HOT 1
- [BUG]: Search is still broken even after restore HOT 4
- 0.13.3 DMG on Mac only contains the ARM64 version HOT 2
- Hyper-V VM connection issues after running "Standard" HOT 5
- [BUG]: FYI : Disable "Windows Defender Firewall" service also break Windows Sandbox. HOT 4
- [BUG]: WhatsApp (UWP) not starting HOT 1
- desired state / parsing of generated scripts or separate config HOT 1
- How to switch the program language? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from privacy.sexy.