Win11 unattend.xml
-
I am currently trying to setup unattend.xml for my win11 installation (using Fog)
I tried using my old win10 unattend xml and worked but wanted to make a new answer file with more settings to avoid manual work.
I used the below website and it is working however I cannot get ( https://schneegans.de/windows/unattend-generator/ ) the start menu and taskbar icons to work. (I also used the copy profile to copy the desktop shortcuts)
I added the below in the answer file<?xml version="1.0" encoding="utf-8"?> <LayoutModificationTemplate xmlns="http://schemas.microsoft.com/Start/2014/LayoutModification" xmlns:defaultlayout="http://schemas.microsoft.com/Start/2014/FullDefaultLayout" xmlns:start="http://schemas.microsoft.com/Start/2014/StartLayout" xmlns:taskbar="http://schemas.microsoft.com/Start/2014/TaskbarLayout" Version="1"> <CustomTaskbarLayoutCollection> <defaultlayout:TaskbarLayout> <taskbar:TaskbarPinList> <!-- Pin This PC --> <taskbar:DesktopApp DesktopApplicationID="Microsoft.Windows.Explorer" /> <!-- Pin Snipping Tool --> <taskbar:DesktopApp DesktopApplicationLinkPath="%windir%\system32\SnippingTool.exe" /> <!-- Pin Microsoft Outlook --> <taskbar:DesktopApp DesktopApplicationLinkPath="%ProgramFiles%\Microsoft Office\root\Office16\OUTLOOK.EXE" /> </taskbar:TaskbarPinList> </defaultlayout:TaskbarLayout> </CustomTaskbarLayoutCollection> </LayoutModificationTemplate>
Also the below is the start menu pinned icons
{ "pinnedList": [ { "desktopAppLink": "%APPDATA%\\Microsoft\\Windows\\Start Menu\\Programs\\This PC.lnk" }, { "desktopAppLink": "%APPDATA%\\Microsoft\\Windows\\Start Menu\\Programs\\System Tools\\Control Panel.lnk" }, { "packagedAppId": "windows.immersivecontrolpanel_cw5n1h2txyewy!microsoft.windows.immersivecontrolpanel" }, { "desktopAppLink": "%ALLUSERSPROFILE%\\Microsoft\\Windows\\Start Menu\\Programs\\Outlook (classic).lnk" }, { "desktopAppLink": "%ALLUSERSPROFILE%\\Microsoft\\Windows\\Start Menu\\Programs\\Excel.lnk" }, { "desktopAppLink": "%ALLUSERSPROFILE%\\Microsoft\\Windows\\Start Menu\\Programs\\Microsoft Edge.lnk" }, { "desktopAppLink": "%ALLUSERSPROFILE%\\Microsoft\\Windows\\Start Menu\\Programs\\Google Chrome.lnk" }, { "desktopAppLink": "%APPDATA%\\Microsoft\\Windows\\Start Menu\\Programs\\Devices and Printers - Shortcut.lnk" }, { "packagedAppId": "Microsoft.WindowsCalculator_8wekyb3d8bbwe!App" }, { "packagedAppId": "Microsoft.ScreenSketch_8wekyb3d8bbwe!App" }, { "packagedAppId": "DellInc.DellCommandUpdate_htrsf667h5kn2!xC127EC8377A94AB49B6B084C44082B2Fx" }, { "desktopAppLink": "%ALLUSERSPROFILE%\\Microsoft\\Windows\\Start Menu\\Programs\\Sophos\\Sophos Connect.lnk" }, { "desktopAppLink": "%ALLUSERSPROFILE%\\Microsoft\\Windows\\Start Menu\\Programs\\3CX Phone\\3CX Phone.lnk" }, ] }