mirror of
https://github.com/ChrisTitusTech/winutil
synced 2026-02-04 06:50:09 +00:00
Add-WPFTweaksMakeEdgeUninstallable (#3792)
* Add WPFTweaksMakeEdgeUninstallable * Update tweaks.json * Update tweaks.json * Update tweaks.json * Update tweaks.json * Update tweaks.json * formating fix
This commit is contained in:
@@ -2112,6 +2112,47 @@
|
|||||||
],
|
],
|
||||||
"link": ""
|
"link": ""
|
||||||
},
|
},
|
||||||
|
"WPFTweaksMakeEdgeUninstallable": {
|
||||||
|
"Content": "Make Edge Uninstallable via settings",
|
||||||
|
"Description": "Makes it so you can uninstall edge via settings > installed apps",
|
||||||
|
"category": "z__Advanced Tweaks - CAUTION",
|
||||||
|
"panel": "1",
|
||||||
|
"Order": "a023_",
|
||||||
|
"registry": [
|
||||||
|
{
|
||||||
|
"Path": "HKLM:\\SOFTWARE\\WOW6432Node\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\Microsoft Edge",
|
||||||
|
"Name": "NoRemove",
|
||||||
|
"Type": "Dword",
|
||||||
|
"Value": "0",
|
||||||
|
"OriginalValue": "1"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"InvokeScript": [
|
||||||
|
"
|
||||||
|
$File = \"C:\\Windows\\System32\\IntegratedServicesRegionPolicySet.json\"
|
||||||
|
|
||||||
|
takeown /f $File
|
||||||
|
icacls $File /grant \"Administrators:(F)\"
|
||||||
|
|
||||||
|
$FileContent = Get-Content $File
|
||||||
|
$FileContent[7] = $FileContent[7] -replace \"disabled\", \"enabled\"
|
||||||
|
Set-Content $File $FileContent
|
||||||
|
"
|
||||||
|
],
|
||||||
|
"UndoScript": [
|
||||||
|
"
|
||||||
|
$File = \"C:\\Windows\\System32\\IntegratedServicesRegionPolicySet.json\"
|
||||||
|
|
||||||
|
takeown /f $File
|
||||||
|
icacls $File /grant \"Administrators:(F)\"
|
||||||
|
|
||||||
|
$FileContent = Get-Content $File
|
||||||
|
$FileContent[7] = $FileContent[7] -replace \"enabled\", \"disabled\"
|
||||||
|
Set-Content $File $FileContent
|
||||||
|
"
|
||||||
|
],
|
||||||
|
"link": ""
|
||||||
|
},
|
||||||
"WPFTweaksUTC": {
|
"WPFTweaksUTC": {
|
||||||
"Content": "Set Time to UTC (Dual Boot)",
|
"Content": "Set Time to UTC (Dual Boot)",
|
||||||
"Description": "Essential for computers that are dual booting. Fixes the time sync with Linux Systems.",
|
"Description": "Essential for computers that are dual booting. Fixes the time sync with Linux Systems.",
|
||||||
|
|||||||
Reference in New Issue
Block a user