How to Fix Cannot Rename Library in Windows 7

Information
If you cannot rename a library in your user account in Windows 7 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.
OPITON ONE
Using a BAT File Download 1. Click on the Download button below to download the file below.Delete_Libraries_Desktop.ini.bat

2. Save the bat file to your desktop.
3. Double click on the bat file to run it, and click 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.
OPITON TWO
Using a Command Prompt 1. Open a command prompt.
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"


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.
3. Close the command prompt, and see if you are able to rename the library now.
OPITON THREE
Manually in Windows Explorer 1. In Folder Options, do step 4 in OPTION ONE here: Hidden Files and Folders - Show or Hide 
2. Open the Start Menu, copy and paste the path below into the search box and press enter.%AppData%\Microsoft\Windows\Libraries
3. In the Libraries folder, then right click on the desktop.ini file and click on Delete. (see screenshot below)
4. In Folder Options, do step 5 in OPTION ONE here: Hidden Files and Folders - Show or Hide 
5. See if you are able to rename the library now.
That's it,
Shawn