If you’re not logged in as an administrator, check out our guide on how to log in as an admin in Windows.
Click Yes when prompted, “Do you want to allow this app to make changes to this device?” This will open a window called “Administrator: Command Prompt”. You’re done! The Command Prompt has been opened.