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
 
I only activated the Pro key online, without linking it to an email.

When I format, the installation is done with the generic key, and when I go online it automatically activates the real key.

Which item activates the Windows key online? Microsoft Account, Windows Update Services, or ClipSVC?
 
Which item activates the Windows key online? Microsoft Account, Windows Update Services, or ClipSVC?
Service ClipSVC and Microsoft Account
It's best to keep "KMS Connection Broker" as well, this prevents the sppsvc service from remaining constantly running.

By checking the Activation box in the Compatibility (Components) menu of NTLite, the associated components should be protected.
 
Service ClipSVC and Microsoft Account
It's best to keep "KMS Connection Broker" as well, this prevents the sppsvc service from remaining constantly running.

By checking the Activation box in the Compatibility (Components) menu of NTLite, the associated components should be protected.
ClipSVC wasn't necessary in my case; my preset has fclip removal enabled, I believe it's the same thing. I wanted to get rid of Windows Update, but it wasn't possible.
It was necessary to keep the Windows Update Service and Microsoft Account.
 
ClipSVC wasn't necessary in my case; my preset has fclip removal enabled, I believe it's the same thing. I wanted to get rid of Windows Update, but it wasn't possible.
It was necessary to keep the Windows Update Service and Microsoft Account.
fclip and clipsvc are 2 different components
Yes Windows Update can be removed in the image, but Windows Update service can only be removed in Live
 
Back
Top