If you are looking to use DOS ala Pre-Windows XP, the commands fdisk and format are the ones to use, but you will need a disk to boot from. Fdisk will create partitions and format will format the partitions. As for the passwords, I recommend getting UBCD. It has all the tools required to reset the password or create a new admin account.