How can I change the default browser using command line or registry in Windows 10 without admin rights?

You need administrator rights for changing the default browser in Windows.

You could perhaps create a virtual machine, if Hyper-V/VMware/Virtualbox is already installed on the computer, where you would be the administrator.