Forum Discussion
How to partition a hard drive from Windows 10 without losing data?
The built-in command line (diskpart) can also partition a hard drive windows 10 without any data loss! While it might seem intimidating at first, following the right steps can help you safely create new partitions without risking your existing data. Below is a comprehensive guide to help you through the process using the built-in DiskPart utility.
Here are a set of commands to partition a hard drive from Windows 11 Command Prompt utility, including disk selection, disk shrinking, creation of new partition and new disk formatting.
diskpart
list disk
select disk 0
list partition
select partition 1
detail partition
shrink desired=50000
create partition primary size=50000
format fs=ntfs quick
assign letter=E
exit
Now, press Win + E to open File Explorer. Look for the new drive letter (e.g., E:) under This PC. Ensure that it's accessible and properly formatted.
Partitioning your hard drive via the command line in Windows 10 using DiskPart is a straightforward process when approached methodically. By following the steps outlined above and taking necessary precautions like backing up your data and double-checking commands, you can safely create new partitions without risking your existing files.