Library - Cannot Rename Fix

How to Fix Cannot Rename Library in Windows 7 and Windows 8

   Information
If you cannot rename a library in your user account by right clicking on the library folder and clicking on Rename, then this will show you how to fix this so that you will be able to rename it afterwards in Windows 7 and Windows 8.






OPTION ONE

Fix Cannot Rename a Library using a BAT File

1. Click/tap on the Download button below to download the file below. Delete_Libraries_Desktop.ini.bat


Download


2. Save the .bat file to your desktop.

3. Double click/tap on the bat file to run it, and click/tap on Run if prompted.
NOTE: You will notice that a command prompt window will quickly flash open and closed as the bat file runs.

4. See if you are able to rename the library now.

5. You can now delete the downloaded bat file if you like.



OPTION TWO

Fix Cannot Rename a Library using in Command Prompt

1. Open a command prompt in Windows 7 or Windows 8.

2. In the command prompt, copy and paste the command below, and press Enter. (see screenshot below) DEL /F /Q /A "%AppData%\Microsoft\Windows\Libraries\desktop.ini"
CMD-1.jpg
   Note
If you get a Could Not Find error as below, then this just means that the desktop.ini file has already been deleted and you can continue on to step 3 below.

CMD-2.jpg

3. Close the command prompt, and see if you are able to rename the library now.



OPTION THREE

Fix Cannot Rename a Library using in Windows Explorer


1. In Folder Options, do step 4 in OPTION ONE here: Hidden Files and Folders - Show or Hide
On.jpg2. Press the Windows + R keys to open the Run dialog, copy and paste the path below into Run, and press Enter. %AppData%\Microsoft\Windows\Libraries3. In the Libraries folder, right click or press and hold on the desktop.ini file, and click/tap on Delete. (see screenshot below)
Windows_Explorer.jpg4. In Folder Options, do step 5 in OPTION ONE here: Hidden Files and Folders - Show or Hide
Off.jpg5. See if you are able to rename the library now.
That's it,
Shawn


 

Attachments

Last edited:
After checking "Hide protected OS files" in folder options and going to %AppData%\Microsoft\Windows\Libraries I don't see any desktop.ini file
What do I do?
Thanks
 

My Computer

Computer Manufacturer/Model Number
Toshiba Satellite® L755D-S5348 15.6" widescreen Laptop
OS
Windows 7 Home Premium x64
CPU
AMD Dual-Core A4-3300M Accelerated Processor
Motherboard
AMD Torpedo
Memory
DDR3 6144 MBytes
Graphics Card(s)
AMD Radeon™ HD 6480G
Monitor(s) Displays
15.6" Widescreen, 1366x768 (HD), 16:9 aspect ratio
Hard Drives
Hitachi HTS547550A9E384 500 GB
Hello Rookie,

Double check to make sure that you also have Show hidden files, folders, and drives checked in folder options as well.

Hope this helps. :)
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self built custom
OS
64-bit Windows 11 Pro for Workstations
CPU
Intel i7-8700K OC'd to 5 GHz
Motherboard
ASUS ROG Maximus XI Formula Z390
Memory
64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz
Graphics Card(s)
ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
Sound Card
Integrated
Monitor(s) Displays
2 x Samsung Odyssey G7 27"
Screen Resolution
2560x1440
Hard Drives
1TB Samsung 990 PRO M.2,
4TB Samsung 990 PRO PRO M.2,
TerraMaster F8 SSD Plus NAS
PSU
Seasonic Prime Titanium 850W
Case
Thermaltake Core P3
Cooling
Corsair Hydro H115i
Keyboard
Logitech wireless K800
Mouse
Logitech MX Master 4
Internet Speed
2 Gb/s Download and 100 Mb/s Upload
Antivirus
Malwarebyte Anti-Malware Premium
Browser
Google Chrome
Other Info
Logitech Z625 speaker system,
Logitech BRIO 4K Pro webcam,
HP Color LaserJet Pro MFP M477fdn,
APC SMART-UPS RT 1000 XL - SURT1000XLI,
Galaxy S23 Plus phone
I forgot to mention that I could rename libraries before downloading SP1 (actually a thread on that brought me here), but after installing it the names of the libraries were restored and every time I tried to rename one it would simply and immediately change back to its default name. But this morning when I turned on the computer the libraries had the names I gave them before. Maybe this tutorial needs the additional step of restarting windows, or at least it may be necessary in some cases, I don't know. But thank you, anyway.
 

My Computer

Computer Manufacturer/Model Number
Toshiba Satellite® L755D-S5348 15.6" widescreen Laptop
OS
Windows 7 Home Premium x64
CPU
AMD Dual-Core A4-3300M Accelerated Processor
Motherboard
AMD Torpedo
Memory
DDR3 6144 MBytes
Graphics Card(s)
AMD Radeon™ HD 6480G
Monitor(s) Displays
15.6" Widescreen, 1366x768 (HD), 16:9 aspect ratio
Hard Drives
Hitachi HTS547550A9E384 500 GB
I'm happy to hear that you got it sorted. It may have been an issue of SP1 just being installed and needing to restart the PC to complete it.
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self built custom
OS
64-bit Windows 11 Pro for Workstations
CPU
Intel i7-8700K OC'd to 5 GHz
Motherboard
ASUS ROG Maximus XI Formula Z390
Memory
64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz
Graphics Card(s)
ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
Sound Card
Integrated
Monitor(s) Displays
2 x Samsung Odyssey G7 27"
Screen Resolution
2560x1440
Hard Drives
1TB Samsung 990 PRO M.2,
4TB Samsung 990 PRO PRO M.2,
TerraMaster F8 SSD Plus NAS
PSU
Seasonic Prime Titanium 850W
Case
Thermaltake Core P3
Cooling
Corsair Hydro H115i
Keyboard
Logitech wireless K800
Mouse
Logitech MX Master 4
Internet Speed
2 Gb/s Download and 100 Mb/s Upload
Antivirus
Malwarebyte Anti-Malware Premium
Browser
Google Chrome
Other Info
Logitech Z625 speaker system,
Logitech BRIO 4K Pro webcam,
HP Color LaserJet Pro MFP M477fdn,
APC SMART-UPS RT 1000 XL - SURT1000XLI,
Galaxy S23 Plus phone
Hello,

I got real troubles with this.

I've been able to rename "some" of my libraries with no problem. But I can't rename my "Music" folder.
I tried to rename it as "Müzik", and now "sometimes" it shows as "Müzik" but sometimes it turns back to original (Music)

Why and how could this be happening?

BG info: I changed my user profile location from the registery (right after installation)
And I use dual boot with XP

Thx in advance
 

My Computer

Computer type
PC/Desktop
OS
Windows 7 Ultimate x64 dual boot with XP
CPU
AMD Phenom II 3.20ghz
Motherboard
ASUS M5A97 EVO R2.0
Memory
6GB Kingston
Graphics Card(s)
ATI 5830
Hello Merket, and welcome to Seven Forums.

You might see if deleting your Music library, restore default Libraries, then rename library to Müzik may help.

If not, then check to see what the folder is named for the My Music string value (right pane) in the two registry key locations (left pane) below in regedit.

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders

(C:\Users\your-user-name\Müzik)

and

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders

(%USERPROFILE%\Müzik)

Hope this helps, :)
Shawn
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self built custom
OS
64-bit Windows 11 Pro for Workstations
CPU
Intel i7-8700K OC'd to 5 GHz
Motherboard
ASUS ROG Maximus XI Formula Z390
Memory
64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz
Graphics Card(s)
ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
Sound Card
Integrated
Monitor(s) Displays
2 x Samsung Odyssey G7 27"
Screen Resolution
2560x1440
Hard Drives
1TB Samsung 990 PRO M.2,
4TB Samsung 990 PRO PRO M.2,
TerraMaster F8 SSD Plus NAS
PSU
Seasonic Prime Titanium 850W
Case
Thermaltake Core P3
Cooling
Corsair Hydro H115i
Keyboard
Logitech wireless K800
Mouse
Logitech MX Master 4
Internet Speed
2 Gb/s Download and 100 Mb/s Upload
Antivirus
Malwarebyte Anti-Malware Premium
Browser
Google Chrome
Other Info
Logitech Z625 speaker system,
Logitech BRIO 4K Pro webcam,
HP Color LaserJet Pro MFP M477fdn,
APC SMART-UPS RT 1000 XL - SURT1000XLI,
Galaxy S23 Plus phone
Hello Merket, and welcome to Seven Forums.

You might see if deleting your Music library, restore default Libraries, then rename library to Müzik may help.

If not, then check to see what the folder is named for the My Music string value (right pane) in the two registry key locations (left pane) below in regedit.

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders

(C:\Users\your-user-name\Müzik)

and

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders

(%USERPROFILE%\Müzik)

Hope this helps, :)
Shawn

Thank you so much Shawn, for your kind and informative reply.

I don't know how, but my library started to display as "Müzik" in the explorer, just as I wanted and it doesn't change anymore.

But in real path names it's "music" as I checked it from the registry keys you've given. I don't think it will create a problem, since it's like renaming the shortcuts.

Thank you again.
 

My Computer

Computer type
PC/Desktop
OS
Windows 7 Ultimate x64 dual boot with XP
CPU
AMD Phenom II 3.20ghz
Motherboard
ASUS M5A97 EVO R2.0
Memory
6GB Kingston
Graphics Card(s)
ATI 5830
Merket, I'm happy to hear it changed for you. It's always nice when it does it automatically for you. :)
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self built custom
OS
64-bit Windows 11 Pro for Workstations
CPU
Intel i7-8700K OC'd to 5 GHz
Motherboard
ASUS ROG Maximus XI Formula Z390
Memory
64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz
Graphics Card(s)
ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
Sound Card
Integrated
Monitor(s) Displays
2 x Samsung Odyssey G7 27"
Screen Resolution
2560x1440
Hard Drives
1TB Samsung 990 PRO M.2,
4TB Samsung 990 PRO PRO M.2,
TerraMaster F8 SSD Plus NAS
PSU
Seasonic Prime Titanium 850W
Case
Thermaltake Core P3
Cooling
Corsair Hydro H115i
Keyboard
Logitech wireless K800
Mouse
Logitech MX Master 4
Internet Speed
2 Gb/s Download and 100 Mb/s Upload
Antivirus
Malwarebyte Anti-Malware Premium
Browser
Google Chrome
Other Info
Logitech Z625 speaker system,
Logitech BRIO 4K Pro webcam,
HP Color LaserJet Pro MFP M477fdn,
APC SMART-UPS RT 1000 XL - SURT1000XLI,
Galaxy S23 Plus phone
Back
Top