I tried to set up an OS on a drive, but when I use rufus to try and install the OS, I get an error saying I can’t assign a drive letter

I’ve tried looking it up online, but the only solutions I get are for manual assigning of Drive letters, which is working fine through the command prompt, but disk management (Windows 11) can’t give options to assign letters