Are you getting command prompt has been disabled by administrator error while opening command prompt. If yes, then you will be able to fix it using group policy. In this video I will show you, how we can leverage Group Policy, gpedit to bypass command prompt has been disabled by administrator on windows PC.
This will work for both Windows 11 and Windows 10.