# DiskpartGUI-WPF **Repository Path**: yygfml/DiskpartGUI-WPF ## Basic Information - **Project Name**: DiskpartGUI-WPF - **Description**: No description available - **Primary Language**: C# - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-12-06 - **Last Updated**: 2026-08-02 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # DiskpartGUI GUI for Windows Diskpart Version: ## Installation To Do ## How To Run To Do ## Write-Up This README will go over the commands used to preform the background tasks of various processes. ## Features 1) List Of All Drives 2) Quickly Change Attributes 3) Safely Eject Drives 4) Format Removable Drives 4) Rename Volume 6) Activate BitLock ## Listing Of Found Drive Diskpart command line interpreter by C#-WPF.NET framework will be used to display information. ### Diskpart ```bash LIST VOLUME ``` LIST - Command to list all disks, partitions, volume, or virtual disks VOLUME - Command used in conjunction with List to display all volumes ### Returns Volume Number Volume Letter Volume Label File System Type Size Status Info ### Displayed Info On GUI Populate ListView with volumes in main window with: Volume Number Volume Letter Label File System Type Size Status Info Read-Only Flag ## Quickly Change Attributes Diskpart command line executed by C# will be used to change attributes associated with selected volume. ### Diskpart #### Command 1: ```bash ATTRIBUTES DISK [SET | CLEAR] [READONLY] [NOERR] ``` ATTRIBUTES - Runs attribute command DISK - Supplies the selected disk. SET | CLEAR - Sets or clears the supplied attribute. READONLY - The ReadOnly attribute. NOERR - Flag for setting no error output ### Returns Success or error message ### Displayed Info On GUI A pop-up window will appear upon completion showing either success or error. #### Command 2: ```bash ATTRIBUTES DISK ``` ATTRIBUTES - Runs attribute command DISK - Specific disk to get attributes of ### Returns Attribute for selected disk. ### Displayed Info On GUI A column in the previously mentioned ListView marked as "Set" or "Cleared". ## Safely Eject Drives Diskpart command executed through C#, the selected drive will be unmounted and safe to remove. ### Diskpart ```bash REMOVE ALL DISMOUNT ``` REMOVE - command used to unmount a drive ALL - tells Diskpart to unmount all mounting points DISMOUNT - tells Diskpart to dismount the selected volume ### Returns Diskpart returns a success or error message ### Displayed Info On GUI Button below displayed drive with "Eject" or "Mount" on it. A pop-up window will appear upon completion showing either success or error. ## Format Removable Drives Diskpart command line interpreter by C# will be used to format removable drives. ### Diskpart ```bash FORMAT [[FS= [REVISION=]] | RECOMMENDED] [LABEL=