Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Pull Request
Enhanced Script for Comprehensive Removal of Microsoft Edge and Related Components
Type of Change
New feature
Bug fix
Documentation update
Refactoring
Hotfix
Security patch
UI/UX improvement
Description
This update provides an advanced, production-ready PowerShell script designed for a thorough removal of Microsoft Edge and its associated components. Key enhancements include:
Administrative Privilege Check: Ensures the script is executed with administrative rights.
Process Termination: Stops all Edge-related processes before removal.
Registry Cleanup: Removes specific registry entries related to Microsoft Edge.
AppX Package Removal: Uninstalls both provisioned and installed Edge AppX packages.
Shortcut Cleanup: Deletes shortcuts related to Edge from common locations.
Policy Configuration: Sets registry policies to prevent Edge reinstallation.
These improvements are aimed at providing a comprehensive solution for removing Microsoft Edge while handling various edge cases and ensuring a smooth operation.
Testing
The script was tested in a controlled environment to ensure:
Successful termination of Edge-related processes.
Effective removal of registry entries and AppX packages.
Accurate cleanup of Edge-related shortcuts.
Proper configuration of Edge policy settings.
No errors were encountered during testing, and all functionalities worked as intended.
Impact
Performance: The script provides a robust solution for removing Edge without impacting system performance adversely.
Dependencies: No new dependencies were introduced.
Behavior: The script modifies system settings and registry entries to prevent Edge from being reinstalled, which could affect user experience.
Issue related to PR
Resolves # (If applicable, link related issue or discussion)
Additional Information
Ensure users understand the necessity of administrative rights and backing up their system before executing the script.
Thorough testing in different environments is recommended before public deployment.
Checklist
My code adheres to the coding and style guidelines of the project.
I have performed a self-review of my own code.
I have commented my code, particularly in hard-to-understand areas.
I have made corresponding changes to the documentation.
My changes generate no errors/warnings/merge conflicts.