Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Library - Cannot Rename Fix


Library - Cannot Rename Fix

How to Fix Cannot Rename Library in Windows 7 and Windows 8
Published by Brink
31 Mar 2011
Published by

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

information   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"
Name:  CMD-1.jpg
Views: 1962
Size:  35.0 KB
Note   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.

Name:  CMD-2.jpg
Views: 1940
Size:  43.4 KB

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

Name:  On.jpg
Views: 1915
Size:  85.2 KB
2. Press the Windows + R keys to open the Run dialog, copy and paste the path below into Run, and press Enter.
%AppData%\Microsoft\Windows\Libraries
3. 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.jpg
4. In Folder Options, do step 5 in OPTION ONE here: Hidden Files and Folders - Show or Hide

Name:  Off.jpg
Views: 1900
Size:  85.6 KB
5. See if you are able to rename the library now.
That's it,
Shawn




06 Sep 2013   #1
Rookie2

Windows 7 Home Premium x64
 
 

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 System SpecsSystem Spec
06 Sep 2013   #2
Brink
Microsoft MVP

64-bit Windows 10
 
 

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 System SpecsSystem Spec
06 Sep 2013   #3
Rookie2

Windows 7 Home Premium x64
 
 

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 System SpecsSystem Spec
.


06 Sep 2013   #4
Brink
Microsoft MVP

64-bit Windows 10
 
 

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 System SpecsSystem Spec
20 Sep 2013   #5
merket

Windows 7 Ultimate x64 dual boot with XP
 
 

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 System SpecsSystem Spec
20 Sep 2013   #6
Brink
Microsoft MVP

64-bit Windows 10
 
 

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 System SpecsSystem Spec
29 Sep 2013   #7
merket

Windows 7 Ultimate x64 dual boot with XP
 
 

Quote   Quote: Originally Posted by Brink View Post
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 System SpecsSystem Spec
29 Sep 2013   #8
Brink
Microsoft MVP

64-bit Windows 10
 
 

Merket, I'm happy to hear it changed for you. It's always nice when it does it automatically for you.
My System SpecsSystem Spec
Comment

 Library - Cannot Rename Fix




Tutorial Tools





Similar help and support threads
Windows 7 Tutorial Category
Unable to rename folder in library (sometimes)
So I recently found out why I couldn't rename the backup folder of my phone's SD Card. It's because a folder of phone camera pictures in the SD Card backup folder is included in the library "Pictures". When I try to rename the SD Card backup folder, or the Camera pictures folder, I get the error...
Music, Pictures & Video
Add AudioBook library(mp3) in Media Player other than Music library
I added a new folder under the "Libraries" and linked it with source audio file(mp3) folder. But Media Player does not recognize new folder, and could not find any hint in the Media Player Help. Teach me how to re-organize, to add new library addition to default Music library, Media Player.
Music, Pictures & Video
'Rename' box doesn't show up when I rename a file shortcut
So basically (I'll try to be descriptive), I have an Excel file (extension xlsm) on my USB and I right click it, send to --> desktop (create shortcut). I see the shortcut. I right click and attempt to rename it with a different file extension, but the 'Rename' box doesn't show up like I believe it...
General Discussion
Library Conundrum: 'Arrange By Folders' is Missing in Custom Library!
A year ago, I created a custom Library and have been using it successfully until the beginning of this week (11/7/2011). The library's folder location is similar to the following: C:\Users\USERNAME\FOLDERX Now, when I open the Library, it shows a listing of all of the files found within all...
General Discussion
Can't rename "Documents" library to "Comics"
So here's what happened: I was using my "Documents" library as a shortcut to my comics folder. I did this because I wanted my comics folder to be accessible through the upper right section of the start menu. So I renamed it to "Comics", and all was well. That is, until I installed the...
Customization
Can't rename a library
Alright so I'm new to the forums here, and I tried searching through the forums as well as searching online for a solution but I haven't found any usable information on my issue. For some reason unknown to me, I cannot name a library to "Movies." It used to be named Movies, and then something...
General Discussion

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd

All times are GMT -5. The time now is 12:51.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App