Headless install

frewys

Member
Messages
53
Reaction score
9
Hi.

Trying to see if there is anyway to make a headless install of windows. Maybe a guide for NTLite?
I just moved and don't have or want a monitor if possible so looking for a way to setup remote access pre config with zero OOBE access need or anything like that. Just a preconfigured remote access without seeing the screen at all.

Is that possible with NTLite?

Thank you :)
 
A headless install is possible if your current BIOS boot order allows for an USB or network boot, before the disk controller.

Using a fully unattended setup, you can have a hands free install. This requires you to provide:
- WinPE's locale and language​
- disk layout​
- Windows locale and language​
- Windows time zone​
- skipping OOBE (except for the last two options: SkipMachineOOBE, SkipUserOOBE)​
- creating a Local Account as primary user​
- skipping auto activation​
- creating a Computer Name​

1. From the Unattended screen, Enable Unattended mode in the Toolbar.

2. Auto-fill / All

3. Scroll down to Out-of-box experience, and change Skip 'Get going fast' page (Privacy options) to true.

1768320971239.png

4. Configure disk / Disk template (if you have a licensed NTLite edition). Otherwise, you need to create the disk layout by hand, one partition at a time. W11 24H2+ will require a Recovery partition, as it's not optional.

5. From the Settings screen, change System / Remote Desktop -> Default

6. From the Post-Setup screen, add a (Before Logon) task to enable the Windows Firewall rule to allow Remote Desktop access.
Code:
netsh advfirewall firewall set rule group="remote desktop" new enable=Yes

7. Apply changes. Create a bootable USB from the ISO.

8. Because this setup is headless, you will have a problem with DHCP if you don't know which address was assigned to the PC (unless you have reserved addresses). It may be simpler to temporarily switch to a static IP.

Write a short batch file to set your network config:
Code:
netsh interface ipv4 set address name="Ethernet" static <Your_IP_Address> <Subnet_Mask> <Default_Gateway>
netsh interface ipv4 set dns name="Ethernet" static <Primary_DNS_IP> index=1
netsh interface ipv4 add dns name="Ethernet" <Secondary_DNS_IP> index=2

Run this script from Post-Setup (Before logon).
 
A headless install is possible if your current BIOS boot order allows for an USB or network boot, before the disk controller.

Using a fully unattended setup, you can have a hands free install. This requires you to provide:
- WinPE's locale and language​
- disk layout​
- Windows locale and language​
- Windows time zone​
- skipping OOBE (except for the last two options: SkipMachineOOBE, SkipUserOOBE)​
- creating a Local Account as primary user​
- skipping auto activation​
- creating a Computer Name​

1. From the Unattended screen, Enable Unattended mode in the Toolbar.

2. Auto-fill / All

3. Scroll down to Out-of-box experience, and change Skip 'Get going fast' page (Privacy options) to true.

View attachment 15517

4. Configure disk / Disk template (if you have a licensed NTLite edition). Otherwise, you need to create the disk layout by hand, one partition at a time. W11 24H2+ will require a Recovery partition, as it's not optional.

5. From the Settings screen, change System / Remote Desktop -> Default

6. From the Post-Setup screen, add a (Before Logon) task to enable the Windows Firewall rule to allow Remote Desktop access.
Code:
netsh advfirewall firewall set rule group="remote desktop" new enable=Yes

7. Apply changes. Create a bootable USB from the ISO.

8. Because this setup is headless, you will have a problem with DHCP if you don't know which address was assigned to the PC (unless you have reserved addresses). It may be simpler to temporarily switch to a static IP.

Write a short batch file to set your network config:
Code:
netsh interface ipv4 set address name="Ethernet" static <Your_IP_Address> <Subnet_Mask> <Default_Gateway>
netsh interface ipv4 set dns name="Ethernet" static <Primary_DNS_IP> index=1
netsh interface ipv4 add dns name="Ethernet" <Secondary_DNS_IP> index=2

Run this script from Post-Setup (Before logon).
Thank you Soooo much for this detailed instruction Garlin. Really appreciate it.
I will look into it when I am in front of the computer just happy it works. Thanks again
 
Back
Top