Slackbot
03/09/2023, 10:26 AMRob Zylowski
03/09/2023, 11:11 AMNick Panaccio
03/09/2023, 11:19 AM$var_Install_Exec = "msiexec.exe"
$var_Install_Arg = "/i MicrosoftEdgeEnterpriseX64.msi DONOTCREATEDESKTOPSHORTCUT=TRUE DONOTCREATETASKBARSHORTCUT=TRUE /qn"
$proc = Start-Process -FilePath $var_Install_Exec -ArgumentList $var_Install_Arg -WorkingDirectory $PSScriptRoot -Wait -PassThru
Remove-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Active Setup\Installed Components\{9459C573-B17A-45AE-9F64-1857B5D58CEE}" -Name "StubPath" -Force
#Fixing the Microsoft Edge tile background color so that it matches the other Windows 10 tiles
Remove-Item "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.VisualElementsManifest.xml" -Force
$Shell = New-Object -ComObject ("WScript.Shell")
$Shortcut = $Shell.CreateShortcut("C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Microsoft Edge.lnk")
$Shortcut.IconLocation = "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe";
$Shortcut.Save()
Get-ScheduledTask -TaskName MicrosoftEdgeUpdate* | Disable-ScheduledTask | Out-Null
$Services = "edgeupdate","edgeupdatem","MicrosoftEdgeElevationService"
ForEach ($Service in $Services){
Set-Service -Name $Service -StartupType Disabled
Stop-Service -Name $Service -Force
}
This prevented me from having to worry about Edge updating in another layer.Janus Hallenborg Stampe
03/13/2023, 1:56 PMRob Zylowski
03/13/2023, 1:58 PMYan Cormier Desjardins
05/15/2023, 6:59 PMNick Panaccio
05/15/2023, 7:00 PMYan Cormier Desjardins
05/15/2023, 7:07 PM