Harry True Man:
MKN
А так не работает:
<Unattend>
<Settings pass="oobeSystem">
<FirstLogonCommands>
<!-- Отключение Microsoft Edge в реестре -->
<SynchronousCommand wcm:action="add">
<CommandLine>cmd.exe /c reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Run" /v "Edge" /f</CommandLine>
<Description>Disable Edge Auto Startup</Description>
<Order>1</Order>
</SynchronousCommand>
<!-- Удаление ярлыков Edge из автозагрузки -->
<SynchronousCommand wcm:action="add">
<CommandLine>cmd.exe /c del "%APPDATA%\Microsoft\Windows\Start Menu\Programs\Startup\Microsoft Edge.lnk" /f /q</CommandLine>
<Description>Remove Edge Shortcut from Startup</Description>
<Order>2</Order>
</SynchronousCommand>
</FirstLogonCommands>
</Settings>
</Unattend>
MKN
А так не работает:
<Unattend>
<Settings pass="oobeSystem">
<FirstLogonCommands>
<!-- Отключение Microsoft Edge в реестре -->
<SynchronousCommand wcm:action="add">
<CommandLine>cmd.exe /c reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Run" /v "Edge" /f</CommandLine>
<Description>Disable Edge Auto Startup</Description>
<Order>1</Order>
</SynchronousCommand>
<!-- Удаление ярлыков Edge из автозагрузки -->
<SynchronousCommand wcm:action="add">
<CommandLine>cmd.exe /c del "%APPDATA%\Microsoft\Windows\Start Menu\Programs\Startup\Microsoft Edge.lnk" /f /q</CommandLine>
<Description>Remove Edge Shortcut from Startup</Description>
<Order>2</Order>
</SynchronousCommand>
</FirstLogonCommands>
</Settings>
</Unattend>