Looking for command line upgrade from Windows 10 to 11 for multiple systems


KeithK

New member
Local time
10:09 AM
Posts
6
OS
Windows 10
I'm looking for a command line update for Windows 10 to 11 that can be pushed to a number of systems. The users are not local admins on their systems. I was able to create a command line using the Windows 11 update assistant that works, but when run from a 3rd party app push or as a scheduled task, does not give the user a chance to defer the reboot which causes a forced update without warning. The command line I found is c:\windows\temp\Windows11Update.exe /quietinstall /skipeula /auto upgrade /CopyLogs c:\build\win11upgradelog\Win11_FeatureUpdate.log. If the user is a local admin and they manually run the command, they get the option from the Windows update assistant with a 30 min countdown to defer the reboot. If they are not a local admin and the command is pushed and run as the system account (either direct or in a batch file done with scheduled task) all the user gets is the notification that the system is rebooting now. All the systems are Windows 11 ready so I know if will work. Seems like Microsoft has made the bulk push of this very difficult.
 
Windows Build/Version
Windows 10 23H2

My Computer

System One

  • OS
    Windows 10
    Computer type
    Laptop
Since the Admin user's experience is what you want, why not set up the task to be run from Task scheduler using an Admin account's authority yet bypassing an Admin prompt?
Whilst I know nothing about the particular command you are running, I do have some Admin tasks set up in TS that allow a standard user to run them without any Admin prompt.
The standard user just runs a SchTasks command that points to the task in question and that task has had the Admin username-password & Run with highest privileges saved in its definition.
Elevated Shortcut without UAC - TenForumsTutorials

I don't know why you brought the System user into this situation.


Denis
 

My Computer

System One

  • OS
    Windows 11 Home x64 Version 23H2 Build 22631.3447
Unfortunately, we are seeing the same thing when run from the task scheduler. It runs (and upgrades to Windows 11), but the user never sees the pop up from the application that gives them the option to defer the reboot. All they get is that the system is rebooting now with no other warning. If we can get that screen to appear so they can defer the reboot until they can save files, then we are set.
 

My Computer

System One

  • OS
    Windows 10
    Computer type
    Laptop
I suspect that since the end users are not admin, running that command as an admin locks them out from any interactivity.

A workaround might be to run 2 tasks, one to notify the user about the pending update, allowing them to defer (say from a batch file), which after the task is allowed, calls the second admin-only silent task that actually performs the update?

But a better option, IMO, would be to simply schedule the tasks for when the user is not working, so in the middle of the night, since it is both automated and unattended anyway.
 

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
I know nothing about the file Windows11Update.exe
Perhaps it has other switches that might help.

Just out of interest, where did you find documentation for this command? You didn't just dream up the switches you mentioned - /quietinstall /skipeula /auto upgrade /CopyLogs c:\build\win11upgradelog\Win11_FeatureUpdate.log


Denis
 

My Computer

System One

  • OS
    Windows 11 Home x64 Version 23H2 Build 22631.3447
 

My Computers

System One System Two

  • OS
    Win7
    Computer type
    PC/Desktop
    CPU
    i5-8400
    Motherboard
    gigabyte b365m ds3h
    Memory
    2x8gb 3200mhz
    Monitor(s) Displays
    benq gw2480
    PSU
    bequiet pure power 11 400CM
    Cooling
    cryorig m9i
  • Operating System
    win7
    Computer type
    PC/Desktop
    CPU
    pentium g5400
    Motherboard
    gigabyte b365m ds3h
    Memory
    1x8gb 2400
    PSU
    xfx pro 450
Unfortunately, Microsoft has not published any of the switches for the Update Assistant. I found a number of other sites that have the information. They reverse engineered the application to find the switches. The links below are some of the sites. There was one that not only had the switches, but identified what each one does which I can't find the URL for. Good thought on removing the /quietinstall. I'm testing that now and will let you know.

 

My Computer

System One

  • OS
    Windows 10
    Computer type
    Laptop
Quick update without the /quietinstall, I can see it running in the task Manager, but not doing anything. I think it is waiting for EULA approval which does not show.
 

My Computer

System One

  • OS
    Windows 10
    Computer type
    Laptop
I did try /noRestartUI and discovered that is the reverse of what I need. When I manually ran the command line using an account with local Admin rights on a test system, that option completely suppressed the restart box below. The system just rebooted, no warning. That's the box I need to appear to the users.
win11 restart.jpg
 

My Computer

System One

  • OS
    Windows 10
    Computer type
    Laptop
I see.
So that switch is no 'restartui' rather than 'no restart' ui.


Denis
 

My Computer

System One

  • OS
    Windows 11 Home x64 Version 23H2 Build 22631.3447
It appears that is correct. It suppresses that box completely.
 

My Computer

System One

  • OS
    Windows 10
    Computer type
    Laptop
Back
Top Bottom