NeoJolt

Windows Installation instructions.

Oct 4th, 2023 (edited)
221
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.36 KB | None | 0 0
  1. Credits to Chris Titus for installing Windows the 'Arch Linux' way.
  2. https://www.youtube.com/watch?v=vtxedkuUCas
  3.  
  4. ### PREINSTALL ###
  5. /* Press Shift F10 to run Command Prompt. */
  6. diskpart
  7.  
  8. # BOOT DIRECTORY #
  9. select disk 0
  10. /* When there is already a partition on the disk type: clean */
  11. convert gpt
  12. create partition efi size=100
  13. format fs=fat32 quick
  14. assign letter=B
  15.  
  16. # WINDOWS DIRECTORY #
  17. create partition primary
  18. format fs=ntfs quick
  19. assign letter=C
  20. exit
  21.  
  22. ### INSTALLATION PHASE ###
  23. /* Select installation media */
  24. D:
  25. cd sources
  26. /* Check which version you want to install with: dism /Get-ImageInfo /ImageFile:install.wim */
  27. dism /Apply-Image /ImageFile:install.wim /Index:5 /ApplyDir:C:
  28. bcdboot C:\Windows /s B: /f all
  29.  
  30. ### SKIP ONLINE ACCOUNT ###
  31. /* Press Shift F10 to run Command Prompt. */
  32. start ms-cxh:localonly
  33.  
  34. /* For when in the future Microsoft decides to patch out stuff. */
  35. reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\OOBE" /v HideOnlineAccountScreens /t REG_DWORD /d 1 /f
  36.  
  37. ### POST INSTALLATION ###
  38. /* Run PowerShell as Administrator. */
  39.  
  40. # PRODUCT ACTIVATION #
  41. irm "https://get.activated.win" | iex
  42.  
  43. # WINDOWS DEBLOAT #
  44. irm "https://christitus.com/win" | iex
  45.  
  46. # MISC #
  47. reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\OOBE" /v HideOnlineAccountScreens /f
  48. Remove-Item (Get-PSReadLineOption).HistorySavePath
  49.  
  50.  
Advertisement
Add Comment
Please, Sign In to add comment