Windows 11 Unattended Installation


ludovik

New member
Local time
1:47 PM
Posts
2
OS
Windows 8.1
Hello everyone,

I would like to install Windows 11 in Unattend mode. I would like the PC to have the File and Printer sharing and Remote Desktop firewall rules enabled by default for the Private profile when the installation is complete. How should I structure the autounattend.xml file?

Thanks in advance

Ludovico
 

My Computer

System One

  • OS
    Windows 8.1

My Computers

System One System Two

  • OS
    Windows Pro 23H2 Build 22631.4249
    Computer type
    PC/Desktop
    Manufacturer/Model
    Sin-built
    CPU
    Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz (4th Gen?)
    Motherboard
    ASUS ROG Maximus VI Formula
    Memory
    32.0 GB of I forget and the box is in storage.
    Graphics Card(s)
    Gigabyte nVidia GeForce GTX 1660 Super OC 6GB
    Sound Card
    Onboard
    Monitor(s) Displays
    4 x LG 23MP75 - 2 x 24MK430H-B - 1 x Wacom Pro 22" Tablet
    Screen Resolution
    All over the place
    Hard Drives
    Too many to list.
    OS on Samsung 1TB 870 QVO SATA
    PSU
    Silverstone 1500
    Case
    NZXT Phantom 820 Full-Tower Case
    Cooling
    Noctua NH-D15 Elite Class Dual Tower CPU Cooler / 6 x EziDIY 120mm / 2 x Corsair 140mm somethings / 1 x 140mm Thermaltake something / 2 x 200mm Corsair.
    Keyboard
    Corsair K95 / Logitech diNovo Edge Wireless
    Mouse
    Logitech G402 / G502 / Mx Masters / MX Air Cordless
    Internet Speed
    100/40Mbps
    Browser
    All sorts
    Antivirus
    Kaspersky Premium
    Other Info
    I’m on a horse.
  • Operating System
    Windows 11 Pro 23H2 Build: 22631.4249
    Computer type
    Laptop
    Manufacturer/Model
    LENOVO Yoga 7i EVO OLED 14" Touchscreen i5 12 Core 16GB/512GB
    CPU
    Intel Core 12th Gen i5-1240P Processor (1.7 - 4.4GHz)
    Memory
    16GB LPDDR5 RAM
    Graphics card(s)
    Intel Iris Xe Graphics Processor
    Sound Card
    Optimized with Dolby Atmos®
    Screen Resolution
    QHD 2880 x 1800 OLED
    Hard Drives
    M.2 512GB
    Other Info
    …still on a horse.
For this to work, you will need to be a member of either Administrators or Remote Desktop groups.

By specifying the firewall rule by group number (instead of by group name), it works on all language editions.

Code:
<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
        <settings pass="specialize">
                <component name="Microsoft-Windows-TerminalServices-LocalSessionManager" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                        <fDenyTSConnections>false</fDenyTSConnections>
                </component>
                <component name="Microsoft-Windows-TerminalServices-RDP-WinStationExtensions" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
                        <UserAuthentication>0</UserAuthentication>
                </component>
                <component name="Networking-MPSSVC-Svc" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                        <FirewallGroups>
                                <FirewallGroup wcm:action="add" wcm:keyValue="NetworkDiscovery">
                                        <Active>true</Active>
                                        <Group>@FirewallAPI.dll,-32752</Group>
                                        <Profile>private</Profile>
                                </FirewallGroup>
                                <FirewallGroup wcm:action="add" wcm:keyValue="RemoteDesktop">
                                        <Active>true</Active>
                                        <Group>@FirewallAPI.dll,-28752</Group>
                                        <Profile>private</Profile>
                                </FirewallGroup>
                        </FirewallGroups>
                </component>
        </settings>
</unattend>
 

My Computer

System One

  • OS
    Windows 7

Latest Support Threads

Back
Top Bottom