Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

install-windows-the-arch-linux-way/ #157

Open
utterances-bot opened this issue Sep 1, 2023 · 23 comments
Open

install-windows-the-arch-linux-way/ #157

utterances-bot opened this issue Sep 1, 2023 · 23 comments

Comments

@utterances-bot
Copy link

Install Windows the Arch Linux Way

Having Fun with Technology

https://christitus.com/install-windows-the-arch-linux-way/

Copy link

MNS1968 commented Sep 1, 2023

Brilliant Chris.

I'm no longer a Windows user but with your video, I'm going install it this way for the hell of it!

Copy link

AmjadKh commented Sep 1, 2023

How to choose English (World) as language (or locale) when using this method?
BTW, I'm a technical person and I use this method with a specific script on many PCs. This reduces the effort of walking through the wizard each time. So, not only to bypass rules.

Copy link

hl2guide commented Sep 3, 2023

The text guide is missing running diskpart before:
List Disks with list disk

Copy link

hl2guide commented Sep 3, 2023

also exiting diskpart using exit is missing too.

Copy link

Leowhyx commented Sep 7, 2023

Great guide

Copy link

Chris, thank you for the Windows Toolbox. It makes the OS salvageable. I hope you develop this tool forever.

Copy link

not original idea

Copy link

From my testing, in order to use the English (World) locale debloat trick you can run the command: dism /Image:c: /Set-UserLocale:en-001 after applying the image. That should set the default user locale to English (World)

Copy link

This IS the only proper way to install Windows. You really do not want to tolerate Microsoft's tyrannical installer not even allowing you to use a local user account. I can not imagine why they thought that was even remotely okay to do. It shows why GNU/Linux (or OSS in general) is always to be preferred to proprietary software.

Copy link

nyreed commented Sep 21, 2023

Brilliantly succinct guide. Excellent for reference! Thanks!

Copy link

ipconfig /release

Copy link

MrRar commented Sep 21, 2023

This IS the only proper way to install Windows. You really do not want to tolerate Microsoft's tyrannical installer not even allowing you to use a local user account. I can not imagine why they thought that was even remotely okay to do. It shows why GNU/Linux (or OSS in general) is always to be preferred to proprietary software.

Actually you can still setup a local Windows account using the OOBE in all cases even Windows 11 Home. Just type in no@thankyou.com for the email and a random password. The installer will then go to a local account creation screen. This works because the Microsoft account no@thankyou.com is banned or something so Microsoft doesn't want it to be used for Windows accounts.

@jacobseated
Copy link

jacobseated commented Sep 21, 2023 via email

Copy link

AldoMX commented Sep 21, 2023

You can use clean in diskpart to erase all partitions.

Copy link

papalii commented Sep 26, 2023

Hi all, sorry but I'm not entirely clear on the advantages of this Windows installation method, is it just to avoid having to create a Microsoft account or are there other advantages?
Thanks in advance.

@AmjadKh
Copy link

AmjadKh commented Sep 26, 2023

@papalii
I'm a technical person and I use this method with a specific script on many PCs. This reduces the effort of walking through the wizard each time. So, not only to bypass rules.

@chrisjlocke
Copy link

You can use clean in diskpart to erase all partitions.

Just beware that there is no confirmation on this, so make sure (several times!) you've selected the right partition before issuing the command.

@chrisjlocke
Copy link

Hi all, sorry but I'm not entirely clear on the advantages of this Windows installation method, is it just to avoid having to create a Microsoft account or are there other advantages? Thanks in advance.

If you install Windows regularly (especially on virtual machines) its quicker than going through the GUI, and this can be scripted, so you can run it and walk away, rather than clicking 'next', 'next', 'next', etc.

@jacobseated
Copy link

jacobseated commented Nov 1, 2023 via email

Copy link

For those needing to use a FAT32 formatted USB drive, you can get an ISO for your specific edition via UUPDump.net. The ISO from Microsoft contains multiple editions, so the install.wim file is too large for a FAT32 filesystem. Removing the unnecessary editions should get you below 4GB.

Copy link

Great work as always Chris, I have been implementing custom Windows 10 install.wim with embedded programs already installed and most settings to speed up deployment times. This post offers a further insight but I have a question.. How do I set the recovery partition in order to ensure that automatic repairs works correctly. Forgive my ignorance here, but I was looking at (help create part primary) which details roughly.. create partition primary [size=20000] [ID= | ]
The help command above lists the GUID for recovery partition, is this all that is needed? Or do I need to place a copy of the windows install files and modified install.wim in that location.

From my research a recovery partition can be created (they dont mention the GUID route above), rather a partition with the windows install files and modified install.wim file in the \sources
directory. The problem is this seems to create a second operating system option in the recovery area, and requires the user to choose which operating system they want to boot into.

I want to have access to the reset your pc option - which the above Arch Linux way seems to remove - I assume it is because I also need to add a proper recovery partition.
I also want to have the ability to repair this pc, as usual from the recovery environment.

@AmjadKh
Copy link

AmjadKh commented Apr 12, 2024

@Malcolm-SA You can create recovery partition and use it as in the traditional method.
There is some articles in Microsoft website that explain this.

Capture and apply a Windows image using a single .WIM file

UEFI/GPT-based hard drive partitions

Sample scripts

@Malcolm-SA
Copy link

Thank you, very informative links @AmjadKh

I also found this very clean and informative article https://superuser.com/questions/1667319/how-to-restore-the-recovery-partition-in-windows-10

That helps me to understand the recovery and WinRe environments a lot better.
I have created the recovery partition and marked it with the recovery GUID as mentioned in the original post and after researching your links :-)

Before restarting to allow the Windows installation build (Thats the point where we can use the very helpful English World tip from Chris ) I tried the suggestion from @JustaMushroom Dism /Image:c: /Set-UserLocale:en-001 but received an invalid locale which I suspect may just be because I am using a custom install.wim file with embedded apps and have already set the locale and language packs during my initial install creation. As Chris mentions, Shift F10 after the reboot and we can use the oobe \BypassNRO option.

Interestingly I am hoping to see a response improvement (Ultimately this is all about saving time on installs) using the optimise-image switch .. below is a direct copy and paste from MS.

This command should be the last command run against an image before the image is applied to a device, and can reduce time on the factory floor when building devices for build-to-stock scenarios.

DISM.exe /Image:C:\test\offline /Optimize-Image {/Boot | /WimBoot}

/Boot tries to reduce the online configuration time that the OS spends during boot. This optimization may be rendered invalid if any servicing operations are performed on the image after optimizing it.

Once again Chris ! You rock - I look forward to learning more and diving deeper - nice forum too.. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests