DISKPART कमांड की सूची और विंडोज 11/10 में उनका उपयोग कैसे करें
विंडोज एक बिल्ट टूल के साथ आता है- डिस्क मैनेजमेंट-(Disk Management) जो कंप्यूटर पर हार्ड डिस्क को मैनेज करने के लिए एक संपूर्ण समाधान प्रदान करता है। आप इसका उपयोग वॉल्यूम को कम करने, वॉल्यूम या हिस्से के आकार को बढ़ाने, नए बनाने आदि के लिए कर सकते हैं। यूजर इंटरफेस कमांड के एक सेट का उपयोग करके बनाया गया है- डिस्कपार्ट(DISKPART) - जो पावरशेल(PowerShell) या कमांड प्रॉम्प्ट(Command Prompt) पर काम करता है । यह तब काम आता है जब आपको जटिल कमांड चलाने और वर्चुअल हार्ड डिस्क के साथ काम करने की आवश्यकता होती है। डिस्कपार्ट(Diskpart) उपयोगिता में उन आदेशों की एक सूची है जिनका उपयोग कोई भी कर सकता है जो पोस्ट में साझा किए गए हैं।
Windows 11/10 में डिस्कपार्ट कमांड(Diskpart Commands) की सूची
active | Marks the disk’s partition with focus as active. |
add | Mirrors the simple volume with focus to the specified disk. |
assign | Assigns a drive letter or mount point to the volume with focus. |
attach vdisk | Attaches (sometimes called mounts or surfaces) a virtual hard disk (VHD) so that it appears on the host computer as a local hard disk drive. |
attributes | Displays or sets or clears the attributes of a disk or volume. |
automount | Enables or disables the automount feature. |
break | Breaks the mirrored volume with focus into two simple volumes. |
clean | Removes any and all partition or volume formatting from the disk with focus. |
compact vdisk | Reduces the physical size of a dynamically expanding virtual hard disk (VHD) file. |
convert | Converts file allocation table (FAT) and FAT32 volumes to the NTFS file system, leaving existing files and directories intact. |
create | Creates a partition on a disk, a volume on one or more disks, or a virtual hard disk (VHD). |
delete | Deletes a partition or a volume. |
detach vdisk | Stops the selected virtual hard disk (VHD) from appearing as a local hard disk drive on the host computer. |
detail | Displays information about the selected disk, partition, volume, or virtual hard disk (VHD). |
exit | Exits the diskpart command interpreter. |
expand vdisk | Expands a virtual hard disk (VHD) to the size that you specify. |
extend | Extends the volume or partition with focus, along with its file system, into free (unallocated) space on a disk. |
filesystems | Displays information about the current file system of the volume with focus and lists the file systems that are supported for formatting the volume. |
format | Formats a disk to accept Windows files. |
gpt | Assigns the gpt attribute(s) to the partition with focus on basic GUID partition table (gpt) disks. |
help | Displays a list of the available commands or detailed help information on a specified command. |
import | Imports a foreign disk group into the disk group of the local computer. |
inactive | Marks the system partition or boot partition with focus as inactive on basic master boot record (MBR) disks. |
list | Displays a list of disks, of partitions in a disk, of volumes in a disk, or of virtual hard disks (VHDs). |
merge vdisk | Merges a differencing virtual hard disk (VHD) with its corresponding parent VHD. |
offline | Takes an online disk or volume to the offline state. |
online | Takes an offline disk or volume to the online state. |
recover | Refreshes the state of all disks in a disk group, attempts to recover disks in an invalid disk group, and resynchronizes mirrored volumes and RAID-5 volumes that have stale data. |
rem | Provides a way to add comments to a script. |
remove | Removes a drive letter or mount point from a volume. |
repair | Repairs the RAID-5 volume with focus by replacing the failed disk region with the specified dynamic disk. |
rescan | Locates new disks that may have been added to the computer. |
retain | Prepares an existing dynamic simple volume to be used as a boot or system volume. |
san | Displays or sets the storage area network (san) policy for the operating system. |
select | Shifts the focus to a disk, partition, volume, or virtual hard disk (VHD). |
set id | Changes the partition type field for the partition with focus. |
shrink | Reduces the size of the selected volume by the amount you specify. |
uniqueid | Displays or sets the GUID partition table (GPT) identifier or master boot record (MBR) signature for the disk with focus. |
युक्ति(TIP) : डिस्क प्रबंधन के लिए DISKPART और FSUTIL कमांड-लाइन टूल का उपयोग करके डिस्क (Disk Management)प्रबंधन विफल होने पर भी आप एक विभाजन का आकार बदल(resize a Partition even if Disk Management fails) सकते हैं ।
डिस्कपार्ट का उपयोग कैसे करें?
डिस्कपार्ट(Diskpart) अपने स्थान पर चलता है, इसलिए जब आप कमांड चलाते हैं, तो आप नियमित कमांड का उपयोग नहीं कर पाएंगे बल्कि केवल डिस्कपार्ट(Diskpart) कमांड का उपयोग कर पाएंगे।
- (Type CMD)स्टार्ट(Start) स्क्रीन में CMD टाइप करें , और Run as एडमिनिस्ट्रेटर चुनें(Administrator)
- डिस्कपार्ट टाइप(Type Diskpart) करें , और एंटर(Enter) कुंजी दबाएं।
- आपको नियमित विंडोज(Windows) पथ से डिस्कपार्ट पर स्विच करने के लिए कंसोल देखना चाहिए
- इसे पोस्ट करें; यह कैसे काम करता है यह समझने के लिए आप कुछ बुनियादी आदेशों से शुरुआत कर सकते हैं।
नोट: सावधान रहें यदि आप कुछ भी हटाना चुनते हैं, तो इसे पुनर्प्राप्त नहीं किया जा सकता है।
डिस्कपार्ट(Diskpart) से शुरू करने के लिए कुछ बुनियादी (Basic) कमांड(Commands)
- सूची डिस्क: कनेक्टेड हार्ड ड्राइव या स्टोरेज की संख्या प्रदर्शित करता है
- डिस्क का चयन करें Disk < नहीं> : विशेष डिस्क का चयन करता है
- सूची विभाजन: चयनित डिस्क के लिए विभाजन की सूची प्रदर्शित करता है
- सूची वॉल्यूम: सभी डिस्क के सभी विभाजन प्रदर्शित करता है
विंडोज़ में डिस्कपार्ट कैसे खोलें?
व्यवस्थापक विशेषाधिकारों के साथ कमांड प्रॉम्प्ट(Command Prompt) खोलें , डिस्कपार्ट(Diskpart) टाइप करें , और एंटर(Enter) कुंजी दबाएं। आप रन(Run) प्रॉम्प्ट का उपयोग करके डिस्कापार्ट(Diskaprt) भी लॉन्च कर सकते हैं । इसे व्यवस्थापक विशेषाधिकारों के साथ लॉन्च करने के लिए Shift + Enter दबाना सुनिश्चित करें ।(Make)
संबंधित(Related) : फिक्स दिखाने के लिए कोई निश्चित डिस्क नहीं हैं(There are no fixed disks to show) ।
मैं डिस्कपार्ट में डिस्क को कैसे सूचीबद्ध करूं?
एक बार जब आप डिस्कपार्ट(Diskpart) के अंदर हों , तो लिस्ट डिस्क(List Disk) टाइप करें, यह हार्ड ड्राइव, यूएसबी(USB) स्टोरेज, एसडी कार्ड, या पीसी से जुड़ी किसी भी चीज सहित सभी कनेक्टेड स्टोरेज को सूचीबद्ध करेगा।
मैं वॉल्यूम या विभाजन कैसे हटाऊं?
- डिस्क चुनें <नहीं>
- सूची मात्रा
- वॉल्यूम चुनें <नहीं>
- वॉल्यूम हटाएं
इसे पोस्ट करें; एक पुष्टिकरण संदेश दिखाएगा कि डिस्कपार्ट(Diskpart) ने वॉल्यूम को सफलतापूर्वक हटा दिया है। उस ने कहा, आप सिस्टम(System) या बूट(Boot) वॉल्यूम को हटा नहीं सकते । यदि आप इसे हटाने में असमर्थ हैं, तो इस गाइड को पढ़ना सुनिश्चित करें।(unable to delete it, make sure to read this guide.)
मैं एक छिपे हुए विभाजन को (Hidden)ड्राइव लेटर(Assign Drive Letter) कैसे सौंपूं?
यदि डिस्कपार्ट(Diskpart) टूल में विभाजन देखा जा सकता है, लेकिन फाइल एक्सप्लोरर के माध्यम से उपलब्ध नहीं है(not available through the File Explorer) , तो ऐसा इसलिए है क्योंकि इसमें कोई ड्राइव अक्षर निर्दिष्ट नहीं है।
- डिस्क चुनें <नहीं>
- सूची मात्रा
- वॉल्यूम चुनें <नहीं>
- नियत पत्र=<वर्णमाला>
सुनिश्चित करें(Make) कि निर्दिष्ट वर्णमाला पहले से उपयोग में नहीं है।
संबंधित(Related) : इस ऑपरेशन को पूरा करने के लिए डिस्क पर पर्याप्त जगह उपलब्ध नहीं है ।
विभाजन के आकार(Size) को कैसे कम करें ?
इससे पहले कि हम आगे बढ़ें, यह जान लें कि यह एक बहुत लंबी प्रक्रिया है। जब तक प्रक्रिया पूरी नहीं हो जाती, तब तक ड्राइव लगभग बेकार हो जाएगी।
- डिस्क चुनें <नहीं>
- सूची मात्रा
- वांछित सिकोड़ें=<नहीं>
यह केवल NTFS फाइल सिस्टम के लिए काम करता है।
पढ़ें(Read) : फिक्स डिस्कपार्ट डिस्क विशेषताओं को साफ़ करने में विफल रहा ।
डिस्कपार्ट क्लीन कमांड(Diskpart Clean Command) का उपयोग करके डिस्क(Disk) को कैसे मिटाएं ?
- कमांड प्रॉम्प्ट में (Command Prompt)डिस्कपार्ट(Diskpart) कमांड खोलें
- लिस्ट डिस्क(list disk) टाइप करें और एंटर दबाएं
- उस डिस्क(Disk) का चयन करें जिसे आप चुनिंदा डिस्क का उपयोग करके साफ करना चाहते हैं select disk <no>
- क्लीन(clean) टाइप करें, और एंटर की दबाएं
सुनिश्चित करें कि क्लीन ऑल(clean all) कमांड का उपयोग न करें ; यह चयनित डिस्क के सभी विभाजनों को हटा देगा। साथ ही, डिस्क के आकार के आधार पर इसमें एक या दो घंटे का समय लगेगा, क्योंकि यह एक सुरक्षित मिटाने का कार्य करेगा।
संबंधित: (Related:) डिस्कपार्ट में एक त्रुटि आई है: प्रवेश निषेध है ।
विंडोज डिस्कपार्ट यूटिलिटी(Windows Diskpart Utility) के लिए मुफ्त विकल्प
ये तृतीय-पक्ष सॉफ़्टवेयर हैं जो डिस्कपार्ट(Diskpart) की तुलना में बेहतर इंटरफ़ेस और सुविधाएँ प्रदान करते हैं । वास्तव में, परिवर्तन करने से पहले आपको परिवर्तन का पूर्वावलोकन देखने को मिलता है। यहाँ एक त्वरित सूची है:
- पैरागॉन पार्टिशन मैनेजर फ्री एडिशन(Paragon Partition Manager Free Edition)
- मैक्रोरिट डिस्क विभाजन विशेषज्ञ(Macrorit Disk Partition Expert)
- विंडोज़ के लिए अधिक डिस्क और विभाजन प्रबंधक सॉफ्टवेयर(Disk & Partition Manager software for Windows)
मुझे आशा है कि आप इसका उपयोग करने के तरीके को समझने में सक्षम थे, डिस्कपार्ट(Diskpart) हाउस के आदेशों की सूची, और विंडोज डिस्कपार्ट(Windows Diskpart) सॉफ़्टवेयर के विकल्प जिन्हें आप बेहतर अनुभव के लिए उपयोग कर सकते हैं।
Related posts
विंडोज 11/10 के टास्क मैनेजर में कमांड लाइन को कैसे प्रदर्शित करें
विंडोज 11/10 में FINDSTR और सेलेक्ट-स्ट्रिंग कमांड का उपयोग कैसे करें?
विंडोज 11/10 में कमांड लाइन का उपयोग करके एक प्रक्रिया को कैसे मारें?
विंडोज 11/10 में ChkDsk कमांड लाइन विकल्प, स्विच, पैरामीटर्स
विंडोज 10 में FFmpeg के साथ कमांड-लाइन का उपयोग करके वीडियो का आकार कैसे बदलें
विंडोज 11/10 पर कमांड प्रॉम्प्ट में अंकगणितीय संचालन करें
प्रोग्राम को मारने के लिए कमांड लाइन का उपयोग कैसे करें
विंडोज 11/10 के लिए बेसिक कमांड प्रॉम्प्ट टिप्स
माइक्रोसॉफ्ट इंट्यून सिंक नहीं हो रहा है? विंडोज 11/10 में सिंक करने के लिए फोर्स इंट्यून
विंडोज 11/10 के चार्मैप और यूडीसीडिट बिल्ट-इन टूल्स का उपयोग कैसे करें?
फिक्स Crypt32.dll विंडोज 11/10 में त्रुटि नहीं मिली या गायब है
विंडोज 11/10 में सीएमडी या कमांड प्रॉम्प्ट कीबोर्ड शॉर्टकट की सूची
विंडोज 11/10 में कमांड प्रॉम्प्ट का उपयोग करके वायरलेस नेटवर्क प्रबंधित करें
विंडोज 11/10 में आर्काइव एप्स फीचर को इनेबल या डिसेबल कैसे करें
MpCmdRun.exe के साथ कमांड लाइन से Microsoft डिफेंडर कैसे चलाएं
विंडोज 11/10 में एक प्रशासक के रूप में कमांड प्रॉम्प्ट कैसे चलाएं
विंडोज 11/10 में कमांड लाइन का उपयोग करके बैटरी स्तर की जांच कैसे करें
नेटवर्क समस्याओं के निवारण के लिए नेटस्टैट कमांड का उपयोग कैसे करें
RegAsm.exe क्या है? RegAsm.exe का उपयोग करके एक dll को अपंजीकृत कैसे करें?
विंडोज 11/10 कंप्यूटर में डिफ़ॉल्ट वेबकैम कैसे बदलें