R 4.1.2 64 bit crashes when opened

I have come across an issue with R 4.1.2 and R studio 2021.90.0
when trying to open Rstudio it appears to open R 4.1.2 64 bit and then crashes, If I hold ctrl and open R studio and select 32 bit it works fine. I basically need 64bit to work and cant seem to find a fix.
this is the errors I get from the event viewer :
Faulting application name: rsession.exe, version: 2021.9.0.0, time stamp: 0x6148f642
Faulting module name: msvcrt.dll, version: 7.0.19041.546, time stamp: 0x564f9f39
Exception code: 0xc0000409
Fault offset: 0x0000000000030a70
Faulting process ID: 0x2954
Faulting application start time: 0x01d7d6ee64ddafdb
Faulting application path: C:\Program Files\RStudio\bin\rsession.exe
Faulting module path: C:\WINDOWS\System32\msvcrt.dll
Report ID: acee126a-b7a0-4efd-ab3d-5086d680e534
Faulting package full name:
Faulting package-relative application ID:

Faulting application name: Rgui.exe, version: 4.12.15636.0, time stamp: 0x618c6954
Faulting module name: msvcrt.dll, version: 7.0.19041.546, time stamp: 0x564f9f39
Exception code: 0xc0000409
Fault offset: 0x0000000000030a70
Faulting process ID: 0x1df0
Faulting application start time: 0x01d7d6ee261e3075
Faulting application path: C:\Program Files\R\R-4.1.2patched\bin\x64\Rgui.exe
Faulting module path: C:\WINDOWS\System32\msvcrt.dll
Report ID: c542ca50-64dc-4894-ba5c-1269337ccad3
Faulting package full name:
Faulting package-relative application ID:

here is the error from R studio:
2021-11-10T15:03:53.399468Z [rsession-Mike.] ERROR system error 22 (The device does not recognize the command); OCCURRED AT class rstudio::core::Error __cdecl rstudio::core::crash_handler::initialize(enum rstudio::core::crash_handler::ProgramMode) src/cpp/core/CrashHandler.cpp:358; LOGGED FROM: int __cdecl main(int,char const []) src/cpp/session/SessionMain.cpp:1866
2021-11-10T16:05:12.515296Z [rsession-Mike.
******] ERROR system error 22 (The device does not recognize the command); OCCURRED AT class rstudio::core::Error __cdecl rstudio::core::crash_handler::initialize(enum rstudio::core::crash_handler::ProgramMode) src/cpp/core/CrashHandler.cpp:358; LOGGED FROM: int __cdecl main(int,char *const []) src/cpp/session/SessionMain.cpp:1866
2021-11-11T08:35:12.443535Z [rsession-Mike.
] ERROR system error 22 (The device does not recognize the command); OCCURRED AT class rstudio::core::Error __cdecl rstudio::core::crash_handler::initialize(enum rstudio::core::crash_handler::ProgramMode) src/cpp/core/CrashHandler.cpp:358; LOGGED FROM: int __cdecl main(int,char *const ) src/cpp/session/SessionMain.cpp:1866