Disable the command prompt

If I disable the command prompt will I be able to bring it back if I need it in the future? I’ve seen some strange activity in the command prompt, and probably it’s a malware writing its own agenda on it, but I just want to be sure that nothing will happen to my PC, so the question is will I be able to bring back the command prompt if I disable it?

Hello @JasonLee

Welcome to community! :bouquet:

You can disable and enable comman prompt by using group policy.

Hey there!
check this link for the solution, you can turn it on and off

Hello

there is 2 ways how to disable command prompt
check the link