The most common scenario for this is that the operating system itself is using the drive. For example you can’t FORMAT C: if Windows itself resides on or is using C:. The only way to format a drive in use by the system is to reboot, usually from floppy, so the system isn’t running. Be careful – this usually means you are wiping out your system – I’m assuming that’s what you want.
Technology in terms you understand. Sign up for the Confident Computing newsletter for weekly solutions to make your life easier. Click here and get The Ask Leo! Guide to Staying Safe on the Internet — FREE Edition as my thank you for subscribing!