If the graphical interface options aren't working or you prefer using text commands, Command Prompt is a powerful alternative.
Sometimes, Windows refuses to format a drive. This usually happens due to corruption or write-protection. format a drive windows 10