i have a very strong feeling that its not the drives that have a problem
but the operating system has the problem and thats why it cant see the drives.
please try a repair install which will replace the Windows system but retain
files, folders and data.
This tutorial will show you how to do a repair install of Windows 11 by performing an in-place upgrade without losing anything. If you need to repair or create a new recovery partition or having problems with the Windows 11 operating system on your PC, and the usual solutions will not fix it...
www.elevenforum.com
best of luck Steve ..