Solved

Cannot rename directory XP operating system

Posted on 2009-07-15
6
372 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

 
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

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

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

Suggested Solutions

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 …
Entering time in Microsoft Access can be difficult. An input mask often bothers users more than helping them and won't catch all typing errors. This article shows how to create a textbox for 24-hour time input with full validation politely catching …
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…

737 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