Skip to content

Commit

Permalink
fix managed by organization in edge
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisTitusTech committed Dec 5, 2023
1 parent df24cd5 commit 1da72a2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions config/tweaks.json
Original file line number Diff line number Diff line change
Expand Up @@ -1876,6 +1876,12 @@
}
Remove-Item -Path \"HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\MyComputer\\NameSpace\\{0DB7E03F-FC29-4DC6-9020-FF41B59E513A}\" -Recurse -ErrorAction SilentlyContinue

# Fix Managed by your organization in Edge if regustry path exists then remove it

If (Test-Path \"HKLM:\\SOFTWARE\\Policies\\Microsoft\\Edge\") {
Remove-Item -Path \"HKLM:\\SOFTWARE\\Policies\\Microsoft\\Edge\" -Recurse -ErrorAction SilentlyContinue
}

# Group svchost.exe processes
$ram = (Get-CimInstance -ClassName Win32_PhysicalMemory | Measure-Object -Property Capacity -Sum).Sum / 1kb
Set-ItemProperty -Path \"HKLM:\\SYSTEM\\CurrentControlSet\\Control\" -Name \"SvcHostSplitThresholdInKB\" -Type DWord -Value $ram -Force
Expand Down

0 comments on commit 1da72a2

Please sign in to comment.