FWT

Portable programs & partitioning for reinstall-proofing

FWT
Dec 17th, 2022 (edited)
35,502
3
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.98 KB | None | 3 0
  1. ==============PORTABLE PROGRAMS================
  2.  
  3. Hate losing all your browser shortcuts, tabs, bookmarks, settings, etc after a reinstall?
  4. Just use a portable browser and install it to your secondary partition/drive.
  5. The browser will be entirely self contained and can be updated in its own folder, so all your settings, tabs, bookmarks, etc will be safe from reinstalls.
  6. You could even install it to an SSD with a USB-SATA adapter and take it wherever you go.
  7.  
  8. https://portableapps.com/apps/internet/firefox_portable
  9. https://portapps.io/app/ungoogled-chromium-portable
  10. https://portapps.io/app/brave-portable
  11. https://vivaldi.com/download (installer allows installing in portable mode)
  12. Other browsers:
  13. https://portableapps.com/apps/internet
  14.  
  15.  
  16. Most programs and games that require installation don't actually need to be reinstalled (if you installed them to a separate partition). They only need their runtimes:
  17. >All-in-One Visual C++ runtimes installer
  18. https://github.com/abbodi1406/vcredist
  19. >DirectX
  20. https://www.microsoft.com/en-us/download/details.aspx?id=35
  21.  
  22.  
  23. Other useful portable apps:
  24.  
  25. >youtube video and playlist downloader
  26. https://github.com/ErrorFlynn/ytdlp-interface
  27.  
  28. >torrent client
  29. https://portableapps.com/apps/internet/qbittorrent_portable
  30. https://portapps.io/app/qbittorrent-portable
  31.  
  32. >bulk file renamer
  33. https://www.bulkrenameutility.co.uk/Downloads/BRU_NoInstall.zip
  34.  
  35. >batch MKV audio language stream stripper
  36. https://www.videohelp.com/software/MKV-Optimizer
  37.  
  38. >fast image viewer
  39. https://portableapps.com/apps/graphics_pictures/xnview_portable
  40.  
  41. >simple video player
  42. https://portableapps.com/apps/music_video/mpc-hc-portable
  43.  
  44. >e-mail client
  45. https://portableapps.com/apps/internet/thunderbird_portable
  46.  
  47.  
  48.  
  49. ==============PARTITIONING================
  50.  
  51. By default, your user folder is stored in C:\Users\username, the problem with this is that if your install gets corrupted and you need to reinstall, all of your documents get wiped unless you have a spare computer to plug your C:\ drive into to backup the files first. Moving your user folders to a 2nd partition/drive avoids this problem altogether.
  52.  
  53. For a 256GB+ SSD, a 100GB Windows partition should be plenty of space for Windows itself and whatever programs you need. Games and large suites such as Adobe CC can be installed to a separate partition/SSD.
  54.  
  55. For a 128GB or smaller SSD, you'll want to have a 2nd storage drive for user folders.
  56. But really it's 2023+, a 512GB is <$20 now.
  57.  
  58.  
  59. Partitioning:
  60. Right click Start and select Disk Management.
  61. Right click the [Windows (C:)] partition and select Shrink Volume, then enter in the amount to shrink in MB.
  62. If you have a 256 GB SSD, you would want to shrink about 150GB, or 150000MB, then click Shrink.
  63. If you have OCD and must have a nice round number, use a calculator to calculate 1024MB for each 1GB. So "Total size after shrink" for the Windows partition would be about 102410MB. (The extra 10MB will bump it up to display 100GB in Explorer instead of 99.99GB)
  64. To get the amount you need to shrink, take your total partition size, subtract 102410, and you'll have your "amount to shrink" number.
  65.  
  66. After it's done, right click the new Unallocated space and select New Simple Volume.
  67. Change whatever settings here as needed, but the default settings are fine. Click through and select Finish.
  68. You should now have a 100GB Windows partition on C:\ and an empty data partition on D:\ (or whatever letter you assigned it).
  69.  
  70. Moving user folders to second partition or 2nd drive:
  71. There are two ways to do this, manually though Windows GUI, or through Registry Editor, both ways make the exact same changes to internal system settings.
  72.  
  73. Method A
  74. Go into C:\Users\username.
  75. Right click on a folder you want to relocate and select Properties.
  76. Go to the Location tab, and enter in a new location for the folder (example: C:\Users\username\My Documents -> D:\My Documents)
  77.  
  78. Do this for every folder with a Location tab.
  79. Now when an application or game saves user files, it should save to your second partition/drive instead of C:\Users\username, unless the dev is one of those drooling retards that saves data to AppData, there's nothing you can do about them.
  80.  
  81. Now in the event you need to reinstall, you can freely reinstall without worrying about your files. Just reinstall and then redirect the user folders from C:\Users\username to your 2nd partition/drive and all your files will show up in the appropriate locations for access by programs and games.
  82.  
  83. Method B
  84. For more advanced users, you can edit all the folder locations directly from Registry Editor.
  85. Press Win+R, type RegEdit, and press enter to bring up Registry Editor, and go to:
  86. HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders
  87.  
  88. From here you can just copy paste "D:\" or wherever your secondary partition is and paste it in the fields for the folders you want to relocate.
  89.  
  90. If you want you can also right click on the Key and export it to a .reg file to easily redo this on future reinstalls.
Add Comment
Please, Sign In to add comment