After mapping a local folder to a drive letter, I am unable to add a label to the drive.
reg add HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\MountPoints2\N /v _LabelFromReg /t REG_SZ /f /d "notes"
The above statement creates a key under MountPoints2, N, but the value is (Default) instead of _LabelFromReg, and Data is (value not set) instead of "notes". The type is correctly set as REG_SZ. The same statement works as expected on Windows 10.
reg add HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\MountPoints2\N /v _LabelFromReg /t REG_SZ /f /d "notes"
The above statement creates a key under MountPoints2, N, but the value is (Default) instead of _LabelFromReg, and Data is (value not set) instead of "notes". The type is correctly set as REG_SZ. The same statement works as expected on Windows 10.
- Windows Build/Version
- 22000.376
Last edited:
My Computer
System One
-
- OS
- windows 11