Windows 10 Lite for Rpi3 and Lumia 950XL (WIP!)

If you don't know how it's done: Here it says!
Mrfloaty
Posts: 11
Joined: Wed Apr 08, 2020 5:38 pm
Location: England
x 11
x 5
Contact:

Re: Windows 10 Lite for Rpi3 and Lumia 950XL (WIP!)

Post by Mrfloaty » Fri Apr 24, 2020 9:30 pm

That would be handy if you did, could it be a matter of using dism on the mounted install.wim to install the NetFX package from local source, idk if that would still work despite it being removed from the Windows Features window.

To make documentation that thorough I'd be surprised if it took less that a year 😅 I'm not as polished as you when it comes to knowledge but even I am learning just using the dism++ tool I found that so many services rely on others in various ways, also been using sysinternal to examine the processes running on my lumia.. baby steps eh? But I can't wait to see your finished product!
1 x

gilius
Posts: 90
Joined: Sat Sep 28, 2019 7:12 pm
x 13
x 58

Re: Windows 10 Lite for Rpi3 and Lumia 950XL (WIP!)

Post by gilius » Sat Sep 19, 2020 8:47 am

.NET Framework 3.5 issue is now fixed. Have removed some other components. If you get a messed up system tray just restart Explorer.

There's only a handful of components left to document in terms of protection for XXX feature. After that I am going to try to get Windows 10 running at the bare minimum level just for testing the core drivers (since I plan on removing those next):
Ntlite / Integrating Drivers (DISM)
Out-of-box Experience (OOBE)
On-Screen Keyboard / Keyboard Languages
File Explorer
Start Menu
Windows Settings / File Browsing pop-up from apps
Notepad; copying and pasting text
System Clock


Screen Rotation
NTFS Permissions
Diskpart
MMC Snap-ins
Multiple User Accounts
Paint
32-bit App icons
Office 365
Bluetooth
Cellular / Mobile Wi-Fi
Edge
Chredge
RDP
Easy SMB File Sharing
OneDrive / “View Online” context menu
Windows Activation / Automatic Licensing
.NET Framework 2.0, 3.0 and 3.5
Windows Updates / Optional Features
Bitlocker
Location


Image
Should be a lot less than the above (my host) though!

It will need to be cross-referenced with NTLite and Device Manager to attempt to get a successful Windows 10 boot with the bare minimum drivers and components.
Image

I don't think anyone has ever achieved stripping down Windows 10 back to a super Windows PE - let alone in the ARM world - but it's now starting to look more attractive and viable - particularly for the Raspberry Pi 3 B+. I would then be able to publish full documentation on how to create your own Windows 10 from scratch - something the developers of NTLite have never done with their own powerful tool; they only considered working in reverse - but never taking that reverse-engineering to it's limits to get at the basic elements.
1 x

Mrfloaty
Posts: 11
Joined: Wed Apr 08, 2020 5:38 pm
Location: England
x 11
x 5
Contact:

Re: Windows 10 Lite for Rpi3 and Lumia 950XL (WIP!)

Post by Mrfloaty » Sat Sep 19, 2020 9:11 pm

Glad to hear you fixed NetFX issue gillius!! Looking forward to your guide

I imagine quite a few Built in drivers are source ports to ARM by Microsoft, but definitely interesting in terms of truly slimming down Windows, there are quite a few PE based environments labelled as "Lite" versions, but this would truly be as you said Windows 10 Stripped backed to PE liteness.. really well done with your efforts!

If you need any help with testing the bare minimum drivers needed to load the OS then let me know, my 950XL is lonely since Linux development for it is slow 😅
1 x

gilius
Posts: 90
Joined: Sat Sep 28, 2019 7:12 pm
x 13
x 58

Re: Windows 10 Lite for Rpi3 and Lumia 950XL (WIP!)

Post by gilius » Sun Sep 27, 2020 1:02 pm

I've decided to end this project now due to time constraints and other commitments, but you guys are welcome to continue hacking Windows 10 based around my ARM experiment that used the commercial version of NTLite. Below are the bare minimum components (besides localisation; undocumented) needed for a functional Windows 10 depending on what basic features you require:

WINDOWS 10 LITE (BASED ON 1909 ARM64) - COMPONENT PROTECTION

Minimal Drivers
Audio inputs and outputs
Batteries
Bluetooth
Computer
Disk Drives
Display Adapters
Human Interface Devices
Keyboards
Mice and other pointing devices
Mobile devices
Monitors
Network Adapters
Non-Plug and Play drivers
Portable Devices
Ports (COM & LPT)
Processors
Proximity Devices
SD Host Adapters
Sensors
Software Devices
Sound, Video and Game Controllers
Storage Class Memory Values
Universal Network Drivers
Universal Serial Bus controllers
Universal Serial Bus devices
Universal Serial Bus Function controllers
USB Connector Managers

Ntlite / Integrating Drivers (DISM)
System > Servicing Stack > Servicing Stack - 32 bit

Boot up
System > Boot Manager (EFI)
System > Device Experience
System > Windows Management Instrumentation (Service) > Windows Management Instrumentation (Core)

Out-of-box Experience (OOBE)
Windows Apps > Appx Deployment Service
Windows Apps > Appx Deployment Service > App Readiness
Windows Apps > Capability Access
Windows Apps > System Apps > Out-of-box Experience (OOBE)
Remoting and Privacy > Autopilot
System > Encryption File System (EFS) – Service
System > Windows Setup and Deployment
System > OLE for Process Control (OPC) library
System > Windows Update Service > Client License Service (ClipSVC)
Remoting and Privacy > KMS Connection Broker
Remoting and Privacy > Web Account Manager
Network > Windows Firewall Service

On-Screen Keyboard / Keyboard Languages
System > Text Services Framework > Input Service (CTFMON) > On-Screen Keyboard (Tablet PC)
System > Text Services Framework > Input Service (CTFMON) > Input Processors
Windows Apps > Apps > VCLibs 140.00
Windows Apps > System Apps > Input App
SensrSvc

File Explorer
Windows Apps > System Apps > FileExplorer
Windows Activation / Automatic Licensing
System > Certificate Tools

Start Menu
Windows Apps > System Apps > Search (retired in 1909?)
Windows Apps > System Apps > Start Menu Experience Host
Windows Settings / File Browsing pop-up from apps
System > File Picker UI Host

Notepad; copying and pasting text

System Clock

Network > Windows Time / Cellular Time

Screen Rotation
System > MobilePC > Sensors
System > Text Services Framework > Input Service (CTFMON) > On-Screen Keyboard (Tablet PC) > Tablet PC > Auto-Rotation Manager
SensrSvc + SensorService enabled

NTFS Permissions
System > Access Control List (ACL) UI – 32 bit

Diskpart
System > Virtual Disk Service > Diskpart

MMC Snap-ins
System > Microsoft Management Console (MMC) > Computer Management
System > Microsoft Management Console (MMC) > Device Manager
System > Microsoft Management Console (MMC) > Disk Management
System > Microsoft Management Console (MMC) > Local Users and Groups Manager
System > Microsoft Management Console (MMC) > Services
System > Microsoft Management Console (MMC) > Task Scheduler

Multiple User Accounts
Network > Netlogon > Active Directory

Paint + Snipping Tool
System > UI Ribbon > Paint
Multimedia > Snipping Tool

32-bit App icons
System > Windows Image Resource – 32-bit

Office 365
System > .NET Framework Core > Task Scheduler > Task Scheduler – 32-bit (Time Broker service)
System > Credential Manager
System > Edge HTML Viewer > Browser window frame (IEFrame) > Browser window frame (IEFrame – 32-bit)
reg add "HKLM\SYSTEM\CurrentControlSet\Services\BFE" /v Start /t REG_DWORD /d 2 /f
reg add "HKLM\SYSTEM\CurrentControlSet\Services\sppsvc" /v Start /t REG_DWORD /d 2 /f
Remoting and Privacy > Microsoft Account > Microsoft Passport
Network > Internet Explorer Jscript – 32-bit > Internet Explorer HTML Viewer – 32 bit

Office 365 - Outlook
Windows Apps > Modern App support > OneCore UAP Common Proxy Stub – 32-bit > Modern App support – 32-bit

Bluetooth
Drivers > Bluetooth
Windows Apps > Network Connection Broker
reg add "HKLM\SYSTEM\CurrentControlSet\Services\NcbService" /v Start /t REG_DWORD /d 2 /f
System > Windows Push Notification Service (WINS)
Hardware support > Devices Row > Device Association Service > Bluetooth

Cellular / Mobile Wi-Fi
Remoting and Privacy > Device Management Enrolment Service > Device Management > WAP Push Message Routing Service
Remoting and Privacy > Device Management Enrolment Service > Device Management > Windows Provisioning
Remoting and Privacy > IKE and AuthIP IPsec Keying Modules
Network > NDIS User Mode I/O driver > SMS Router Service > WWAN AutoConfig
Network > Windows Connection Manager
Network > WLAN
Network > DHCP Client

Edge
Windows Apps > System Apps > Edge
Windows Apps > System Apps > EdgeDevToolsClient (not needed on Lumia)
Network > DNS Client (LAN only; WiFi doesn’t need)
Network > Internet Protocol Helper (IP Helper) (LAN only; WiFi doesn’t need)
Default Fonts
Multimedia > Enhanced Video Renderer (EVR) > Media Foundation
Windows Apps > Modern App Support > Browser Brokers
System > Edge HTML Viewer > Browser window frame (IEFrame)
Remoting and Privacy > Clipboard User Service

Chredge
Windows Apps > System Apps > AAD.BrokerPlugin
Windows Apps > System Apps > AccountsControl
Remoting and Privacy > Microsoft Account
reg add "HKLM\SYSTEM\CurrentControlSet\Services\TokenBroker" /v Start /t REG_DWORD /d 2 /f
reg add "HKLM\SYSTEM\CurrentControlSet\Services\NgcCtnrSvc" /v Start /t REG_DWORD /d 2 /f
System > Credential Manager
Network > Netlogon > Active Directory > Azure Active Directory

RDP
Remoting and Privacy > Remote Desktop Server
reg add "HKLM\SYSTEM\CurrentControlSet\Services\KeyIso" /v Start /t REG_DWORD /d 2 /f
Multimedia > Image Color Management (ICM) > Display Policy Service

Easy SMB File Sharing
Network > File Sharing Support > SMB Server Common > SMB v2 Server
Network > Windows Firewall Service > Windows Firewall = off
PowerShell / Scripts / Office 365 installation prompt
System > .NET Framework Core > .NET Framework 4.7 > PowerShell > PowerShell 2.0

OneDrive / “View Online” context menu
Remote and Privacy > OneDrive
Windows Apps > Setting Sync
System > Windows User Interface (TWINUI) – 32-bit
onedrivesetup.exe /allusers

.NET Framework 2.0, 3.0 and 3.5
System > .NET Framework Core > .NET Framework 2.0, 3.0 and 3.5

Windows Updates / Optional Features
System > Windows Component Database > Windows Update > Optional Features
System > Windows Component Database > Windows Component Store (WinSxS)
System > Windows Update Service
Network Location Awareness > Network List Service > Background Intelligent Transfer Service (BITS)

Bitlocker
System > Recovery Agent > Bitlocker Drive Encryption
System > Shell Hardware Detection

Location
System > MobilePC > Sensors > Location notifications?
Remoting and Privacy > Location Service

Not Removeable
Windows Apps > Modern App Support
Windows Apps > System Apps > immersivecontrolpanel
Windows Apps > System Apps > ShellExperienceHost
System > Desktop Window Manager (DWM)
Multimedia > Video For Windows (VFW)
Network Location Awareness > Network List Service

Also take a look at this topic and the attached scripts re: post-installation: https://discourse.pi64.win/t/optimizing ... rmance/178
Attachments
Lumia 4.5 drivers 4.zip
(8.98 KiB) Downloaded 3 times
Unattend.zip
(1.45 KiB) Downloaded 5 times
scripts.zip
(16.6 KiB) Downloaded 3 times
1 x

Post Reply