Software-OK
≡... News | ... Home | ... FAQ | Impressum | Contact | Listed at | Thank you |

  
HOME ► Faq ► FAQ - Command Prompt - Windows 11, 10, etc. ► ««« »»»

Command line to change the drive label of a drive!


The solution with the cmd.exe is very easy to change the drive designation of a drive via command line on all MS Windows OS!




Under Windows, you can easily change the drive name via the disk management. There are several ways to change it on Windows. If you want to change this with the help of the command line, there is the command "label" which can be used in the Windows command prompt. This is often used by administrators for remote access to remote servers . Solution foe Windows 11, 10, ... and MS Server OS!



Content:

1.) ... Changing the volume label via Windows command prompt!
2.) ... Change the drive designation via Windows Explorer!
3.) ... What should you watch out for when changing the drive name!


See also: ►  Formatting via the command prompt under Windows!

1.) Changing the volume label via Windows

Start the command prompt in administrative mode 

Changing the drive label c:\ from "System" to "Win10pro"
(... see Image-1 Point 1)


C:\Windows>label c: Win10pro



If no message appears, the identifier has been changed correctly and you can check it in the MS File Explorer!


(Image-1) Windows drive identifier changed!
Windows drive identifier changed!

-
▲ Back to the top ▲



If the error message appears:
 
Access denied because you do not have sufficient permissions or the hard disk may be locked by another process. You need to run this utility in advanced mode and make sure the hard drive is unlocked, then 
you probably do not have the necessary rights or you did not start the command prompt in administrative mode.   

See: ►  Difference between extended command prompt and normal under Windows? 

2.) Change the drive name using Windows Explorer!


Please start the MS Explorer, mark the drive / partition with a right click and open the context menu and mark rename.

Tip: Marking and F2 key also works :-)

Detailed description and more information:
►► Can I change the drive name / volume  label  in Windows 10, but how?


(Image-2) Change the drive label of a drive!
Change the drive label of a drive!

-
▲ Back to the top ▲



3.) What should you watch out for when changing the drive name!



There are some restrictions when labeling a drive (volume). When you label a FAT volume, you can use 11 characters, while you can use up to 32 characters with NTFS format. Your labels cannot contain tabs, but you can use spaces. You can use any character when you label an NTFS drive. With the FAT hard disk format, however, not all characters can be used, such as: ";: + = [] <>" 

See also: 
►  Difference between drives and hard disk?  ►  Convert FAT32 to NTFS with Windows !

About the label command:

This "LABEL" tool was originally developed for labeling floppy disk drives, but with the development of technology, the label tool has also developed to the point that it can also be used for labeling HDDs, external hard drives, SSDs, USB devices and mapped network drives can be used.



FAQ 47: Updated on: 26 August 2023 10:27 Windows
Windows-Console

Create bootable USB stick with Windows, but how?


Creating a bootable USB stick as an installation medium for Windows is no magic Everyone comes to this point and wants a solution that is very simple to
Windows-Console

Query startup programs via the command line or PowerShell!


You can create a list of programs via the cmd.exe command line or via PowerShell, which are started when Windows starts You can easily identify the programs
Windows-Console

Get a computer's MAC address, command line?


The solution is very simple to find out a MAC address of a computer in the network Not only under MAC / Linux you can quickly find out the so-called MAC
Windows-Console

How can I run commands in batch files at intervals?


The solution is very simple to execute commands in batch files at intervals to repeat them more often on Windows 11, 10, and MS Server  The solution
Windows-Console

Query processors from the computer via command line cmd.exe, but how?


It is very easy to query the CPU or processors from the computer via the cmd.exe command line under MS Windows 11, 10, etc. On Windows OS, we can find
Windows-Console

Query CPU usage via the cmd.exe Windows command prompt?


Yes, the CPU load can also be queried via the cmd.exe on all Windows 11, 10, OS via the command prompt How do I get total CPU usage from Windows Command
Windows-Console

Set password via cmd.exe, which never expires, example!


A simple example that serves as a solution to simply set a password via the cmd.exe, which never expires, not only for Windows Server Preface to password

»»

  My question is not there in the FAQ
Asked questions on this answer:
  1. Windows batch volume label?
  2. Change cmd volume label?
  3. Command prompt change boot drive?
  4. Change volume label Access denied?
  5. Run utility in advanced mode?
  6. Changing drives from the MS-DOS and Windows command line?
Keywords: windows, 11, 10, server, eleven, console, command, line, change, drive, label, solution, Questions, Answers, Software




  

  + Freeware
  + Order on the PC
  + File management
  + Automation
  + Office Tools
  + PC testing tools
  + Decoration and fun
  + Desktop-Clocks
  + Security

  + SoftwareOK Pages
  + Micro Staff
  + Freeware-1
  + Freeware-2
  + Freeware-3
  + FAQ
  + Downloads

  + Top
  + Desktop-OK
  + The Quad Explorer
  + Don't Sleep
  + Win-Scan-2-PDF
  + Quick-Text-Past
  + Print Folder Tree
  + Find Same Images
  + Experience-Index-OK
  + Font-View-OK


  + Freeware
  + AutoHideMouseCursor
  + Desktop.Calendar.Tray.OK
  + OK.Its.Raining.Men
  + Run-Command
  + MagicMouseTrails
  + CpuFrequenz
  + MultiClipBoardSlots
  + OnlyStopWatch
  + KeepMouseSpeedOK
  + PAD-s


Home | Thanks | Contact | Link me | FAQ | Settings | Windows 10 | gc24b | English-AV | Impressum | Translate | PayPal | PAD-s

 © 2025 by Nenad Hrg softwareok.de • softwareok.com • softwareok.com • softwareok.eu


► Which key is faster, the right or left Ctrl key? ◄
► How to open file explorer on windows 11? ◄
► Who should not use the alternate command prompt? ◄
► Difference zip folder and folder! ◄


This website does not store personal data. However, third-party providers are used to display ads,
which are managed by Google and comply with the IAB Transparency and Consent Framework (IAB-TCF).
The CMP ID is 300 and can be individually customized at the bottom of the page.
more Infos & Privacy Policy

....