Solved

Cannot rename directory XP operating system

Posted on 2009-07-15
6
370 Views
Last Modified: 2013-11-27
Hello
I have a directory and I tried to change its name.
I get an error message Access is denied
If I go to properties - security - all users have full permissions.
Can anyone think why the directory name should not be changed.
The items within the folder is a asp.net website
Thanks
John
0
Comment
Question by:johnhardy
  • 3
  • 2
6 Comments
 
LVL 7

Expert Comment

by:gsnshankar
ID: 24857760
Try renaming using command prompt.

Before doing that end Explorer.exe process in task manager.

Hope You are aware of command prompt and how to rename using it.
0
 
LVL 21

Assisted Solution

by:Tapan Pattanaik
Tapan Pattanaik earned 100 total points
ID: 24857956
hi johnhardy,

 1.  Reboot your Windows XP Operating System and then try to rename directory. I hope you can rename after rebooting .

2. There are two main causes for this:

- The file may be opened by some application (and thus "locked"). Sometimes rebooting will solve this. If not, you need to find out through trial and error which application has locked the file. Often it's a system service and you can stop the service to free the file.

- You may not have permissions to the file (this is a result of what's called 'ACL's - it stands for Access Control List. For this, you need to log in with an account that has the proper permissions)

3.   You need a nice little utility called Unlocker. When a file insists that it is locked by an application, Unlocker pops up and tells you which application is locking the file, and offers to unlock the file for you. Click Unlock and the file is unlocked for you.

http://ccollomb.free.fr/unlocker/

Hope this is helpful,

Thanks,
Tapan Pattanaik
0
 

Author Comment

by:johnhardy
ID: 24858236
Thanks for the help
I forgot to mention I had already carried out a restart of XP and I am logged on with administrator rights.
I dont know the command prompt so that would be interesting.
I went to http://ccollomb.free.fr/unlocker/ but Norton reports the site is unsafe so I left the site.
I will try turning off the PC  to see if thats differnent from a restart.
0
Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

 
LVL 7

Expert Comment

by:gsnshankar
ID: 24858426
To Open Command Prompt Go to start>>run>>and type 'cmd' without quotes. (Command prompt is similar to DOS prompt). A black window appears.

Leave it open. Close all other programs.  

I shall say with an example. I want to rename a folder named ABC as XYZ. The ABC folder is in the path C:/123 folder. Now I will type CD in the cmd window and then drag drop the 123 folder into the Command Window.
Now I would get the command as CD "c:\ 123".   Then I will remove the quote using arrow keys and delete key. then press enter

Now the path in cmd window will be C:\123>

Then Go to Task Manager->  Go to the Processes tab and End Process on Explorer.exe

Leave Task Manager open.

At the command prompt type ren ABC XYZ
  if folder name has a space in it put it in quotes such as   ren "New Folder"  NewFolder  

  Go back to Task Manager, click File, New Task and enter EXPLORER.EXE to restart the GUI shell.  Close Task Manager.
0
 
LVL 7

Accepted Solution

by:
gsnshankar earned 400 total points
ID: 24858620
If not worked try rename it in Safe mode.

Still not worked you shall try

http://www.emco.is/download/unlockit/unlockitsetup.exe



0
 

Author Comment

by:johnhardy
ID: 24858862
Thanks gsnshankar
Safe Mode worked, great idea.
My thanks also to tapanpattanaik

Regards
John
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If your system is showing symptoms of browser hijacks or 'google search redirects' check out my other article (http://rdsrc.us/u3GP7A) first and run the tool TDSSKiller (http://rdsrc.us/GDBBs4) to get rid of the infection. Once done, and if the …
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

778 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question