Solved

Cannot rename directory XP operating system

Posted on 2009-07-15
6
369 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
Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

 
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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Sometimes people don't understand why download speed shows differently for Windows than Linux.Specially, this article covers and shows the solution for throughput difference for Windows than a Linux machine. For this, I arranged a test scenario.I…
When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup" or a blinking cursor with black screen. A loop for Auto repair will start but fix nothing.  You will be panic as there are no back…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
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…

863 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

Need Help in Real-Time?

Connect with top rated Experts

25 Experts available now in Live!

Get 1:1 Help Now