Compare commits

..
2 Commits
Author SHA1 Message Date
dyoder 9f9ab1984f added script 2022-03-31 16:26:38 -04:00
dyoder 917cfe6627 added script 2022-03-31 16:26:28 -04:00
2 changed files with 8 additions and 0 deletions
+3
View File
@@ -0,0 +1,3 @@
@echo off
REG ADD HKLM\SOFTWARE\Policies\Microsoft\Edge /ve
REG ADD HKLM\SOFTWARE\Policies\Microsoft\Edge /v "ClickOnceEnabled" /t REG_DWORD /d 1 /f
+5
View File
@@ -0,0 +1,5 @@
# Note: Run this script as SYSTEM and make sure the affected user is LOGGED OFF!
$User = '[{UserDirectoryName]}'
Get-ChildItem -Path "${Env:SystemDrive}\Users\${User}\AppData\Local\Packages" -Directory -Filter "Microsoft.AAD.BrokerPlugin_*" | ForEach-Object { Rename-Item $_.FullName $($_.FullName + ".old") }