Diskpart
Windows: プロプライエタリ商用ソフトウェア
|
Windows 10での diskpart | |
| 開発元 | マイクロソフト、リー・シュローダー |
|---|---|
| 初版 | 2000年2月17日 |
| 対応OS | Windows, ReactOS |
| プラットフォーム | クロスプラットフォーム |
| 前身 | fdisk |
| 種別 | コマンド |
| ライセンス | ReactOS: GPLv2 |
| 公式サイト |
learn |

diskpart
diskpartdiskpartはWindows 2000以降のマイクロソフトのオペレーティングシステムに含まれるコマンドラインのパーティショニングユーティリティである。前身であるfdiskに代わるものであり[1][2]、ReactOSでも利用可能である[3]。
概要
diskpartユーティリティは内部ハードドライブのパーティション操作に使用されるが、フラッシュドライブなどのリムーバブルメディアのフォーマットにも使用できる[4]。
理論上、Windows NT 4.0 / 2000 / XP内で、フラッシュドライブやメモリーカードなどのリムーバブルドライブをパーティション分割することは以前から可能であった。しかし、実際には、例えばそのようなデバイスに対してリカバリコンソールを作成することはできなかった。'Cannot format removable disk'というメッセージが表示されるのみである。マイクロソフトはこの問題に気づき、Vista以降からWindows 10まで、Windows内部からデバイス上のパーティションを作成・表示する機能を無効化した[要出典]。
diskpartでは、スクリプトがサポートされており、このような機能を容易に実行できる。例えば、以下のコードは新しいパーティションを作成する:
create partition logical size=2048 assign letter=F
具体的には、上記は十分な空き容量がある場合、2GBの論理パーティションを作成し、ドライブレターとして'F:'を割り当てる[5]。
インストール済みのディスクおよびそれに関連するボリュームやパーティションは、以下のコマンドで確認できる:
list disk list volume list partition
これらはselコマンドで選択可能である。
cleanコマンドはディスクの「クイック」消去を実行し、
clean allはパーティション/ディスク全体をゼロで上書きする。
ReactOS版はリー・シュローダーによって開発され、GPLv2の下でライセンスされている[6]。
回復コンソール
Windows 2000、Windows XPおよびWindows Server 2003に含まれる回復コンソールには、実際のオペレーティングシステムに含まれるものとは大幅に異なるdiskpartコマンドが存在する。このコマンドはパーティションの追加および削除のみの機能を提供し、アクティブパーティションの設定は行えない[7][8]。
関連項目
脚注
- ^ “DiskPart”. Windows XP Command-line reference A-Z. Microsoft. 2015年4月3日閲覧。
- ^ “How to extend a data volume in Windows Server 2003, in Windows XP, in Windows 2000, and in Windows Server 2008”. Support. Microsoft (2011年9月11日). 2025年10月18日閲覧。
- ^ “Reactos/Reactos”. GitHub. 2025年10月18日閲覧。
- ^ “DiskPart Commands”. Windows Server 2008 R2 and Windows Server 2008 Command-Line Reference. Microsoft. 2015年4月3日閲覧。
- ^ Bhardwaj, Pawan K.; Andreou, Kimon; Barber, Brian; Kleiman, Dave; Satyanarayana, Mahesh (2006). How to cheat at Windows System Administration using command line scripts. Rockland, MA: Syngress. ISBN 1-59749-105-5
- ^ “Reactos/Reactos”. GitHub (2022年1月3日). 2025年10月18日閲覧。
- ^ “Description of the Windows XP Recovery Console for advanced users”. Support. Microsoft (2013年7月11日). 2025年10月18日閲覧。
- ^ “Partition Diskpart - Create, Extend or Delete a Disk Partition” (英語). 2021年2月28日閲覧。
外部リンク
英語
- “DiskPart commands”. Windows Server/Windows Commands/Commands by Server Role. Microsoft. 2020年1月22日閲覧。
Content Disclaimer
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.
- The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
- There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
- It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
- Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
- Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.