Documenting resetting up my laptop.
Installed a new hard drive and have put my existing drive into an m.2 usb controller
I get my Windows ISOs, Office, and Activation from https://massgrave.dev/
* Download the ISO for Win10IoT LTSC https://massgrave.dev/windows_ltsc_links.html
* [[https://rufus.ie/en/|Rufus]] Can make a bootable USB on windows
* Install windows
* keep network off and keep saying skip to create a local account
Install Winget - windows package manager using this [[https://github.com/muradbu/winget-script|github guide]]
* I use [[https://winstall.app/|Winstall]] to find some initial programs I want it generates a script to run in powershell
Here is mine:
winget install --id=Mozilla.Firefox -e ;
winget install --id=Microsoft.PowerShell -e ;
winget install --id=Bitwarden.Bitwarden -e ;
winget install --id=Notepad++.Notepad++ -e ;
winget install --id=7zip.7zip -e ;
winget install --id=Rufus.Rufus -e ;
winget install --id=CrystalDewWorld.CrystalDiskInfo -e ;
winget install --id=CrystalDewWorld.CrystalDiskMark -e ;
winget install --id=CPUID.CPU-Z -e ;
winget install --id=Element.Element -e
winget install --id=WireGuard.WireGuard -e
winget install --id=rclone.rclone -e
winget install --id=restic.restic -e
winget install --id=winfsp.winfsp -e
Install [[https://www.vmware.com/go/getworkstation-win|VM Ware Workstation Pro]]
* Get Keys from first this [[https://gist.github.com/PurpleVibe32/30a802c3c8ec902e1487024cdea26251|github repo]] first one worked for me
* Backup of his untested keys here {{ :vmware17keysdownloads.zip |}}
I used this [[https://communities.vmware.com/t5/VMware-Workstation-Pro/Convert-hard-drive-into-VMWare-virtual-machine/td-p/2291940|Guide]] to convert my old disk into a vm got it to boot but still has some issues, was hoping to be able to keep it as a backup since it has all my tools on it, but just keeping the harddrive around for now should be fine can boot off the usb drive if I need too
====== Backup ======
[[https://rclone.org/install/#windows-chocolatey|Rclone]] Using this to mount remote filesystems
I wanted to use SFTP
from powershell:
generate keys:
ssh-keygen
add them
ssh-add
Install [[https://winfsp.dev/rel/|WINFSP]] to be able to mount them
winget install winfsp.winfsp
Then this guide from Rclone worked https://rclone.org/sftp/
Rclone can sync folders but this isn't backup. Options are sync to server, then backup the server folder on server; or Rclone to connect and then Restic to the backup from laptop directly. Could also restic locally and then sync with a remote folder.
Will Probably Stick with Restic for backup its simple performant and crossplatform.
Now that I have mesh VPN set up may finally just set up samba and then mount in windows for simplicities sake once I stop being to lazy to setup samba properly
https://restic.readthedocs.io/en/stable/010_introduction.html