Skip to content

Commit e7902a0

Browse files
authored
Merge pull request #57 from mtniehaus/niehaus/removedesktopshortcut
Add Edge RemoveDesktopShortcutDefault
2 parents 657287b + 14e3b1e commit e7902a0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

AutopilotBranding/AutopilotBranding.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -289,6 +289,7 @@ Log "Turning off (old) Edge desktop shortcut"
289289
& reg.exe add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer" /v DisableEdgeDesktopShortcutCreation /t REG_DWORD /d 1 /f /reg:64 2>&1 | Out-Null
290290
Log "Turning off Edge desktop icon"
291291
& reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\EdgeUpdate" /v "CreateDesktopShortcutDefault" /t REG_DWORD /d 0 /f /reg:64 2>&1 | Out-Null
292+
& reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\EdgeUpdate" /v "RemoveDesktopShortcutDefault" /t REG_DWORD /d 1 /f /reg:64 2>&1 | Out-Null
292293

293294
# STEP 8A: Attempt to Donwload and install Latest Edge for Business MSI from Evergreen URL
294295
if ($config.Config.SkipEdgeUpdate -ine "true") {

0 commit comments

Comments
 (0)