Speeding up first user logon and debloating


DLevineCSC

New member
Local time
1:23 AM
Posts
3
OS
Windows 11
I build desktops for a college with an AD domain.

I'm gearing up to create Windows 11 Enterprise desktops to clone. I'm looking for ways to streamline the OS, so that when a user logs on to lab or library computer for the first time, it doesn't take forever in the "Preparing Windows" creation of local user profile. I define forever as over 60 seconds.

I found a debloater on the github that runs in PowerShell. That helped.

Any further suggestions?

TIA,
David
 
Windows Build/Version
Windows 11 Enterprise

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    Lenovo
    CPU
    various
    Motherboard
    many
Hi, @DLevineCSC, and welcome to the Windows Eleven Forum (aka 11F).

I did some looking around, and figure that you've probably already checked these out as well, but here are a couple I think have merit in case you haven't explored them:


Simple ideas here that should (probably) already be incorporated into your AD setup, but just in case.


The second point in this one is how we used to do it that the college IT dept that I worked at when in school there. We had numerous computer labs that students would log into, and first time log in usually sat right at about 30 - 45 seconds for those machines, and this was back in 2008 - 2011.

Interestingly, I also ran across this:


If that forced 1 minute delay in the NetLogon service is still present, it might be well worth exploring if there is a way to script this manually so that the delay is not longer applied. However, being as old as it is, I don't even know if it applies today with modern Windows servers and clients, nor if it can be bypassed / altered.
 

My Computers

System One System Two

  • OS
    Windows 11 23H2 Current build
    Computer type
    PC/Desktop
    Manufacturer/Model
    HomeBrew
    CPU
    AMD Ryzen 9 3950X
    Motherboard
    MSI MEG X570 GODLIKE
    Memory
    4 * 32 GB - Corsair Vengeance 3600 MHz
    Graphics Card(s)
    EVGA GeForce RTX 3080 Ti XC3 ULTRA GAMING (12G-P5-3955-KR)
    Sound Card
    Realtek® ALC1220 Codec
    Monitor(s) Displays
    2x Eve Spectrum ES07D03 4K Gaming Monitor (Matte) | Eve Spectrum ES07DC9 4K Gaming Monitor (Glossy)
    Screen Resolution
    3x 3840 x 2160
    Hard Drives
    3x Samsung 980 Pro NVMe PCIe 4 M.2 2 TB SSD (MZ-V8P2T0B/AM) } 3x Sabrent Rocket NVMe 4.0 1 TB SSD (USB)
    PSU
    PC Power & Cooling’s Silencer Series 1050 Watt, 80 Plus Platinum
    Case
    Fractal Design Define 7 XL Dark ATX Full Tower Case
    Cooling
    NZXT KRAKEN Z73 73.11 CFM Liquid CPU Cooler (3x 120 mm push top) + Air 3x 140mm case fans (pull front) + 1x 120 mm (push back) and 1 x 120 mm (pull bottom)
    Keyboard
    SteelSeries Apex Pro Wired Gaming Keyboard
    Mouse
    Logitech MX Master 3S | MX Master 3 for Business
    Internet Speed
    AT&T LightSpeed Gigabit Duplex Ftth
    Browser
    Nightly (default) + Firefox (stable), Chrome, Edge
    Antivirus
    Defender + MB 5 Beta
  • Operating System
    ChromeOS Flex Dev Channel (current)
    Computer type
    Laptop
    Manufacturer/Model
    Dell Latitude E5470
    CPU
    Intel(R) Core(TM) i5-6300U CPU @ 2.40GHz, 2501 Mhz, 2 Core(s), 4 Logical Processor(s)
    Motherboard
    Dell
    Memory
    16 GB
    Graphics card(s)
    Intel(R) HD Graphics 520
    Sound Card
    Intel(R) HD Graphics 520 + RealTek Audio
    Monitor(s) Displays
    Dell laptop display 15"
    Screen Resolution
    1920 * 1080
    Hard Drives
    Toshiba 128GB M.2 22300 drive
    INTEL Cherryville 520 Series SSDSC2CW180A 180 GB SATA III SSD
    PSU
    Dell
    Case
    Dell
    Cooling
    Dell
    Mouse
    Logitech MX Master 3S (shared w. Sys 1) | Dell TouchPad
    Keyboard
    Dell
    Internet Speed
    AT&T LightSpeed Gigabit Duplex Ftth
Hi John,

Thank you for your welcome message and response.

Having been at this gig for 25 years I've tried various network-based user profile solutions, mandatory, roaming, Citrix, VDI etc. Over the years we migrated to the cloud from our LAN servers and I've returned to more primitive but reliable local desktop methods. I want my lab computer users to only need a LAN server for authentication, then the cloud for their documents.

With my Windows 10 LTSC images in various lab settings, the logon time for a new user was consistently under 60 seconds. I credit the cleanliness of the LTSC version for most of this. I use about a dozen local policy settings, and for labs with printers rely on network GPOs to connect them.

Working with Windows 11 Enterprise (the LTSC release is a year away apparently), the OS is generously supplied with apps I don't want users to see, let alone try to use, e.g. Microsoft Store, Xbox, etc.

Thankfully, 11 has the same core as 10, so I can use the very same autounattend.xml answer file I've been using for the past 5 years. Maybe the "copy profile" feature will work this time. :rolleyes:

Sorry for the rambling. I guess I'm looking more to declutter the local OS as much as possible. There are a bunch of de-bloaters on github, and I wonder if anyone reading this can recommend one.

Thanks,
David Levine
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    Lenovo
    CPU
    various
    Motherboard
    many
Ahh, gotcha.

I figured you would have probably already encountered these things, and given 25 years at it, I'm not surprised.

I haven't used any of the debloat scripts from GItHub, though I was tempted to use on, Sofia I think it was called, and there are quite a few PS scripts out there (even in the PS Gallery online) that can be used to debloat Windows.

The usual caveats apply, removing something may break something else, because Microsoft lol, but in the end, I think your autounattend script should be the best way to get most of that done.

And especially considering this is not consumer-grade Windows 11, but the Enterprise licensed installs, I'd suspect that building an .ISO with the ADK and PE addon and incorporating your current autounattend and perhaps tweaking it to make a new one built specifically for 11 Enterprise might be the best (overall) method, if more time consuming. My thoughts behind this are quite simple, actually - because most scripts out there are targeting consumers with consumer-grade licenses versus an Enterprise license, which, from my understanding, should give you a whole new level of configurability.

I could be wrong about this, and that 11 Enterprise is no different from consumer-grade licenses, but I'd think that an Enterprise license, geared toward enterprise use, would not be as restricted in terms of configurability.

Hopefully others here who have used some of the specific scripts you're look into will chime in.
 

My Computers

System One System Two

  • OS
    Windows 11 23H2 Current build
    Computer type
    PC/Desktop
    Manufacturer/Model
    HomeBrew
    CPU
    AMD Ryzen 9 3950X
    Motherboard
    MSI MEG X570 GODLIKE
    Memory
    4 * 32 GB - Corsair Vengeance 3600 MHz
    Graphics Card(s)
    EVGA GeForce RTX 3080 Ti XC3 ULTRA GAMING (12G-P5-3955-KR)
    Sound Card
    Realtek® ALC1220 Codec
    Monitor(s) Displays
    2x Eve Spectrum ES07D03 4K Gaming Monitor (Matte) | Eve Spectrum ES07DC9 4K Gaming Monitor (Glossy)
    Screen Resolution
    3x 3840 x 2160
    Hard Drives
    3x Samsung 980 Pro NVMe PCIe 4 M.2 2 TB SSD (MZ-V8P2T0B/AM) } 3x Sabrent Rocket NVMe 4.0 1 TB SSD (USB)
    PSU
    PC Power & Cooling’s Silencer Series 1050 Watt, 80 Plus Platinum
    Case
    Fractal Design Define 7 XL Dark ATX Full Tower Case
    Cooling
    NZXT KRAKEN Z73 73.11 CFM Liquid CPU Cooler (3x 120 mm push top) + Air 3x 140mm case fans (pull front) + 1x 120 mm (push back) and 1 x 120 mm (pull bottom)
    Keyboard
    SteelSeries Apex Pro Wired Gaming Keyboard
    Mouse
    Logitech MX Master 3S | MX Master 3 for Business
    Internet Speed
    AT&T LightSpeed Gigabit Duplex Ftth
    Browser
    Nightly (default) + Firefox (stable), Chrome, Edge
    Antivirus
    Defender + MB 5 Beta
  • Operating System
    ChromeOS Flex Dev Channel (current)
    Computer type
    Laptop
    Manufacturer/Model
    Dell Latitude E5470
    CPU
    Intel(R) Core(TM) i5-6300U CPU @ 2.40GHz, 2501 Mhz, 2 Core(s), 4 Logical Processor(s)
    Motherboard
    Dell
    Memory
    16 GB
    Graphics card(s)
    Intel(R) HD Graphics 520
    Sound Card
    Intel(R) HD Graphics 520 + RealTek Audio
    Monitor(s) Displays
    Dell laptop display 15"
    Screen Resolution
    1920 * 1080
    Hard Drives
    Toshiba 128GB M.2 22300 drive
    INTEL Cherryville 520 Series SSDSC2CW180A 180 GB SATA III SSD
    PSU
    Dell
    Case
    Dell
    Cooling
    Dell
    Mouse
    Logitech MX Master 3S (shared w. Sys 1) | Dell TouchPad
    Keyboard
    Dell
    Internet Speed
    AT&T LightSpeed Gigabit Duplex Ftth
long logon is bloat in task scheduler or startup programs.. for other installed trash or services to debloat use chris titus powershell script... just warning for edge uninstall in script you cant get it back after uninstall
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    -
    CPU
    4770k
    Motherboard
    Asus Maximus Formula VI
    Memory
    16 gb Kingston
    Graphics Card(s)
    2070 super

Latest Support Threads

Back
Top Bottom