I am dual booting Windows 11 with Ubuntu 24.04.2 LTS. When I set up Windows I used the OOBE\BYPASSNRO method to skip creating a Microsoft account. Now I want to access the encrypted partition in Ubuntu (the one shown in Other Locations in Nautilus) and I don't have a recovery key which everyone is saying is supposed to be in your Microsoft account which, again, I don't have.
In Ubuntu I found that the partition I needed to mount was nvme0n1p3. So I installed dislocker and created a mount point at /mnt/windows.
Since using dislocker also requires a recovery key I ran this in Windows powershell and got a new 48-digit recovery key.
manage-bde -protectors -add C: -rp
Then I ran these in Ubuntu:
sudo dislocker -r -V /dev/nvme0n1p3 -p[48_DIGIT_KEY] -- /mnt/bitlocker
sudo mount -o loop -t ntfs-3g /mnt/bitlocker/dislocker-file /mnt/windows
It works. I can actually access Windows data from /mnt/windows. But the encrypted drive still won't unlock with the new recovery key. The 48 digits have seven dashes in between them. I tried the key both with and without dashes and neither worked. What do I from here?