Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Credits to Chris Titus for installing Windows the 'Arch Linux' way.
- https://www.youtube.com/watch?v=vtxedkuUCas
- ### PREINSTALL ###
- /* Press Shift F10 to run Command Prompt. */
- diskpart
- # BOOT DIRECTORY #
- select disk 0
- /* When there is already a partition on the disk type: clean */
- convert gpt
- create partition efi size=100
- format fs=fat32 quick
- assign letter=B
- # WINDOWS DIRECTORY #
- create partition primary
- format fs=ntfs quick
- assign letter=C
- exit
- ### INSTALLATION PHASE ###
- /* Select installation media */
- D:
- cd sources
- /* Check which version you want to install with: dism /Get-ImageInfo /ImageFile:install.wim */
- dism /Apply-Image /ImageFile:install.wim /Index:5 /ApplyDir:C:
- bcdboot C:\Windows /s B: /f all
- ### SKIP ONLINE ACCOUNT ###
- /* Press Shift F10 to run Command Prompt. */
- start ms-cxh:localonly
- /* For when in the future Microsoft decides to patch out stuff. */
- reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\OOBE" /v HideOnlineAccountScreens /t REG_DWORD /d 1 /f
- ### POST INSTALLATION ###
- /* Run PowerShell as Administrator. */
- # PRODUCT ACTIVATION #
- irm "https://get.activated.win" | iex
- # WINDOWS DEBLOAT #
- irm "https://christitus.com/win" | iex
- # MISC #
- reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\OOBE" /v HideOnlineAccountScreens /f
- Remove-Item (Get-PSReadLineOption).HistorySavePath
Advertisement
Add Comment
Please, Sign In to add comment