mirror of
https://github.com/ChrisTitusTech/winutil.git
synced 2025-12-18 02:05:25 +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:
parent
015f1b0709
commit
7765c1032b
@ -2112,6 +2112,47 @@
|
||||
],
|
||||
"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": {
|
||||
"Content": "Set Time to UTC (Dual Boot)",
|
||||
"Description": "Essential for computers that are dual booting. Fixes the time sync with Linux Systems.",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user