Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pull Request #2526

Merged
merged 3 commits into from
Aug 6, 2024
Merged

Pull Request #2526

merged 3 commits into from
Aug 6, 2024

Conversation

SleepTheGod
Copy link
Contributor

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.

Copy link
Owner

@ChrisTitusTech ChrisTitusTech left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this update, I'll need to expand it for reinstall as well and probably have some type of redirect for edge calls from the start menu. Probably do an install of MSEdgeRedirect or reference the project.

@ChrisTitusTech ChrisTitusTech merged commit de8a79d into ChrisTitusTech:main Aug 6, 2024
1 check passed
@ChrisTitusTech ChrisTitusTech added the skip-changelog Skip Change Logs label Sep 10, 2024
@SleepTheGod
Copy link
Contributor Author

Thanks for this update, I'll need to expand it for reinstall as well and probably have some type of redirect for edge calls from the start menu. Probably do an install of MSEdgeRedirect or reference the project.

Sounds great man just seeing this and thank you for helping people :)

@SleepTheGod
Copy link
Contributor Author

Thanks for this update, I'll need to expand it for reinstall as well and probably have some type of redirect for edge calls from the start menu. Probably do an install of MSEdgeRedirect or reference the project.

Also made you this

 ██████╗██╗  ██╗██████╗ ██╗███████╗    ████████╗██╗████████╗██╗   ██╗███████╗   
██╔════╝██║  ██║██╔══██╗██║██╔════╝    ╚══██╔══╝██║╚══██╔══╝██║   ██║██╔════╝   
██║     ███████║██████╔╝██║███████╗       ██║   ██║   ██║   ██║   ██║███████╗   
██║     ██╔══██║██╔══██╗██║╚════██║       ██║   ██║   ██║   ██║   ██║╚════██║   
╚██████╗██║  ██║██║  ██║██║███████║       ██║   ██║   ██║   ╚██████╔╝███████║   
 ╚═════╝╚═╝  ╚═╝╚═╝  ╚═╝╚═╝╚══════╝       ╚═╝   ╚═╝   ╚═╝    ╚═════╝ ╚══════╝   
                                                                                
████████╗███████╗ ██████╗██╗  ██╗    ████████╗ ██████╗  ██████╗ ██╗     ███████╗
╚══██╔══╝██╔════╝██╔════╝██║  ██║    ╚══██╔══╝██╔═══██╗██╔═══██╗██║     ██╔════╝
   ██║   █████╗  ██║     ███████║       ██║   ██║   ██║██║   ██║██║     ███████╗
   ██║   ██╔══╝  ██║     ██╔══██║       ██║   ██║   ██║██║   ██║██║     ╚════██║
   ██║   ███████╗╚██████╗██║  ██║       ██║   ╚██████╔╝╚██████╔╝███████╗███████║
   ╚═╝   ╚══════╝ ╚═════╝╚═╝  ╚═╝       ╚═╝    ╚═════╝  ╚═════╝ ╚══════╝╚══════╝
██╗    ██╗██╗███╗   ██╗██╗   ██╗████████╗██╗██╗     
██║    ██║██║████╗  ██║██║   ██║╚══██╔══╝██║██║     
██║ █╗ ██║██║██╔██╗ ██║██║   ██║   ██║   ██║██║     
██║███╗██║██║██║╚██╗██║██║   ██║   ██║   ██║██║     
╚███╔███╔╝██║██║ ╚████║╚██████╔╝   ██║   ██║███████╗
 ╚══╝╚══╝ ╚═╝╚═╝  ╚═══╝ ╚═════╝    ╚═╝   ╚═╝╚══════╝

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skip-changelog Skip Change Logs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants