Read with Formatting | Join TechSpot! (it's free)



Guide: Bypass ACCESS DENIED error when accessing data from different XP/2000 install.

Rick
11-15-2003, 10:21 PM
I have seen this question on the forums a few times, but I don't think I've ever seen a real answer to it.

I just had this situation with a customer's laptop with a corrupted registry, so I played with it until I figured it out. This can be a major problem when trying to retreive your data from a corrupted XP installation or moving your data to a new PC or drive.

Problem: Access denied to data on another drive or previous installation of Windows XP or Windows 2000.
Solution: Take ownership of the directory and files.

Microsoft sums it up better than I can, so I grabbed this article for reference...
http://support.microsoft.com/default.aspx?scid=kb;en-us;308421&Product=winxp

TIP: Windows XP Home users should boot into Safe Mode as an Administrator. The 'Security' tab will become accessible.


-----------------------------------------
NOTE: You must be logged on to the computer using an account that has administrative privileges. If you are running Windows XP Home Edition, in order to have access to the Security tab, you must first start in Safe Mode and log on with an account that has Administrative rights.

If you are using Windows XP Professional, you must disable Simple File Sharing. By default, Windows XP Professional uses Simple File sharing when not joined to a domain. For additional information about how to do this, click the article number below to view the article in the Microsoft Knowledge Base:
307874 HOW TO: Disable Simplified Sharing and Password-Protect a Shared Folder in Windows XP

To take ownership of a folder:
Right-click the folder you want to take ownership of, and then click Properties.
Click the Security tab, and then click OK on the Security message (if one appears).
Click Advanced, and then click the Owner tab.
In the Name list, click your user name, Administrator if you are logged in as Administrator, or click the Administrators group. If you want to take ownership of the contents of that folder, click to select the Replace owner on subcontainers and objects check box.
Click OK. The following message appears, where folder name is the name of the folder that you want to take ownership of:
You do not have permission to read the contents of directory folder name. Do you want to replace the directory permissions with permissions granting you Full Control?

All permissions will be replaced if you press Yes.

Click Yes.
Click OK, and then reapply the permissions and security settings that you want for the folder and its contents.
back to the top

How to Take Ownership of a File
NOTE: You must be logged on to the computer using an account that has administrative privileges.

To take ownership of a file, follow these steps:
Right-click the file you want to take ownership of, and then click Properties.
Click the Security tab, and then click OK on the Security message (if one appears).
Click Advanced, and then click the Owner tab.
In the Name list click Administrator, or click the Administrators group, and then click OK.

The Administrator or Administrators group now owns the file. To change the permissions on the files and folders under this folder, continue to step 5.
Click Add.
In the Enter the object names to select (examples) list, type the user or group account to which you want to give access to the file. For example, Administrator.
Click OK.
In the Group or user names list, click the account that you want (for example, Administrator), and then click to select the check boxes of the permissions that you want to assign that user. For example, Full Control [Allow]. When you are finished assigning permissions, click OK.

RealBlackStuff
11-18-2003, 06:01 AM
Good tip. Why don't you make it a "Sticky Read"?

Ad
11-18-2003, 06:01 AM

BrownPaper
11-18-2003, 07:14 AM
thanks for this tip rick. it helped me out getting rid of some useless files that i had on my drives. :grinthumb

Kip
11-11-2004, 05:42 AM
What do I do if the security tab does NOT appear?

ibetheone
11-30-2004, 09:47 PM
Because you have to go to windows explorer go under tools - folder options - click on the view tab scroll all the way to the bottom in advanced settings and uncheck the use simple file sharing checkbox...and then your security tab will show up in a minute or so..;)

brown29
03-19-2005, 02:19 AM
Thanks for the advice mate, thats helped me out loads on my problem in another thead.

Thanks, regards. Caine

dopefisher
03-25-2005, 03:36 AM
Because you have to go to windows explorer go under tools - folder options - click on the view tab scroll all the way to the bottom in advanced settings and uncheck the use simple file sharing checkbox...and then your security tab will show up in a minute or so..;)

er..... i dont have that option under folder options....

poertner_1274
03-25-2005, 10:04 AM
That means you don't have a home network setup. You will need to run the Network Setup Wizard and let it do its thing. Then you should have that ability.

Ad
03-25-2005, 10:04 AM

Vigilante
07-06-2005, 12:33 AM
I've done this a lot on hard drives when hooked up to a 2nd machine, to get data off. Go Microsoft, make it so easy to protect all your data and hide it. Only to make it equally easy for someone to take it right back :)

Ali2005
07-25-2005, 11:25 PM
:( i dont see a security tab in file or folder properties, how do i get to security tap? pleae help!

Mictlantecuhtli
07-28-2005, 09:20 AM
Try reading this thread again.

hp_compaq_tech
08-12-2005, 02:49 AM
If you don't have a 'Security' tab.. the easiest way to get one is to simply boot into safe mode (F8 key) and login as your normal user account (or, of you are normally limited for some reason, as the Administrator). From safe mode, you can follow the same steps and there the elusive tab will be.

Wait! Is not that the same as above: "If you are running Windows XP Home Edition, in order to have access to the Security tab, you must first start in Safe Mode and log on with an account that has Administrative rights."

Why yes! Yes it is.

happyjo
08-25-2005, 09:12 AM
:( i dont see a security tab in file or folder properties, how do i get to security tap? pleae help!

Hi!
Try keeping Ctrl key pressed down, while you right-click on the file/folder. Then click on Properties. This may help.

dll_guate
08-25-2005, 09:13 PM
I have a second HD that I have installed on a new computer with Windows XP Pro. In normal Windows mode, I can see the drive (that has 3 partitions), but all are "Access denied". I understand the need to change the ownership on the old drive, but there is no security tap showing up in normal Windows mode (even with the simple security box unchecked). When I go to Safe Mode to change the ownership there, the drive does not appear in Windows Explorer? Any clues would be greatly appreciated.

dll_guate

DoctorPed
10-14-2005, 09:42 PM
I used a variation of that method for XP Home and FINALLY, after four weeks I get into my user name folder...

Now none of the folders in the user file can be accessed...and the steps do not work for it...


Ideas?

The_Maestro
10-19-2005, 03:28 AM
I'm not 100% sure with XP Home but when you logon change the way you logon to be able to type in your user name as opposed to clicking on the picture and log on as administrator, see if you can access it then, that way you should still be able to see the drive, although normally to take ownership of and old 2000/XP installation you need to be in safe mode

Ad
10-19-2005, 03:28 AM

dbarkley
11-01-2005, 05:52 AM
Sharing this because it has taken me nearly 3 days and much research and frustration [tried every suggestion offered] before I finally found the fix for my problem.

I wont go into the details of why .. but Windows Update had ceased to work and the error messages were not particularly helpful .. just 'failed' and that was it.

It took me a while I finally identified that the error was caused by the update
program being unable to write to the necessary registry keys [Access Denied]
so, not necessarily only the update program .. this problem could come from any program which needs to change system keys and might apply to other applications which report this error.

Came eventually to this article:
"http://support.microsoft.com/kb/313222/"

which describes how to reset the Registry Key permissions to the installation defaults ..

This worked .. and I now have Windows Update working.

DoctorPed
11-01-2005, 07:25 AM
The problem has taken me six weeks because I desperately tried to recover my desktop...and I finally realized it would never happed...just ordered a new hard drive from TigerDirect and I will run the Restore DVD on it...

I logged on with my screenname instead of "Administrator" and it solved all my problems...it was one of the links in this thread...

Thanks for the help, guys!

mstrmind
11-20-2005, 12:02 PM
Hi Guys. I have some serious computer problems. I used to have this huy I know who builds machines work on my computer. However, I keep having lots of hardware failures when he is done. I am tired of messing with BS and excuses. I ended up having to get a new HD. I installed windows, and it crashed. I installed a different version of windows and it got locked up by a virus called "tray app". Then I re-installed again. NOW I have 3 OS on my computer, I want to access files from the other installs and then combine it into one OS. Also after my HD crashed and I had to re-install windows, I had 2 drives in Raid 0 and would like to know how to get them back to raid? Or if they can see files seperetely of each other.... LOL... YES! I am a chick. And YES! I know that I sound like an idiot, but hey I am a newbie :-) :p

poertner_1274
11-21-2005, 09:08 AM
Well if you just installed 3 different OS' onto a new HDD, then I'd suggest formatting and starting all over. UNPLUG YOUR NETWORK CABLE!! This is important as until you get a firewall and anti-virus setup you won't be subject to crap from the net. Once you have your firewall and anti-virus setup plug in your network cable and go DIRECTLY to Windows Update and get all the updates. After that is done you should be ok.

BTW
:wave:Welcome to TechSpot:wave:

christine0701
01-12-2006, 09:27 PM
do i understand correctly that if I have drive C and F, say. and i hook up F as a slave to C, i can switch ownership of files that are on drive F to be owned by the account on drive C?

thanks

xbrit98
01-22-2006, 07:21 PM
Hi all, I have a Win XP Pro box, a bunch of internal hard drives and a Seagate 300Gb external firewire/USB drive.

I needed to re-install Windows so I backed up all of my stuff (including 20,000 digital pics) to the 300 gig firewire. Once backed up, I went into the seagate drive and made sure that I could access my pics and I could. Feeling rather confident in myself I went ahead and wiped out my primary XP hard drive and re-installed XP.

Imagine the heart stopping moment I had when I could no longer see my pictures on the external drive. I can display the folders but when I try to access I get the 'Access denied' error.

After reading several posts I'm 100% sure it is beacuse I chose to make my files private at some point and now, I cannot take ownership back.

If I boot into safe mode my firewire drive isn't available and since safe mode only loads minimal drivers, I can't imagine it working if connected to USB.

Do you guys have any ideas or thoughts?

thanks in advance...

hardmous
01-27-2006, 02:28 AM
hi i'm new here. i have an old foler (contianing other folders and files in it) that is "access denied," and it is from a previous winxp installation. now i did try the aforementioned method suggested by microsoft. however--when i go to click on the "security tab" i get the "access denied" message. any suggestions. thanks in advance!

Zargo
02-05-2006, 04:58 AM
I installed a new hard drive, installing a new version of Win XP (Home) on my new hard drive. I thought I could cut and paste files from the old system drive to my new one.

The first problem I had was even being able to look at some of the files on the old system drive. After some messing around I worked out that files which read 'access denied' could be accessed in safe mode after I took ownership of them. But, I stll can't copy the files onto my new hard drive. I get "access denied". Can anyone help?

mmak
02-07-2006, 08:18 PM
I have some files that say the access is denied and i right click on them and there is no security tap there is just a genral, sharing and customize tab at the top.

Mictlantecuhtli
02-09-2006, 12:44 PM
If you are running Windows XP Home Edition, in order to have access to the Security tab, you must first start in Safe Mode and log on with an account that has Administrative rights.
Read more carefully, mmak ;)

AceFrye.com
02-21-2006, 07:37 PM
--deleted--

victorF
02-23-2006, 12:47 PM
Rick,
Thanks for the help.
I'm running XPmedia and on an external firewire drive, I thought I had lost/corrupted some media files when I moved them from one folder to another. I enabled sharing and I was able to view them again.
Thanks again.

Victor Fabian.

solution found through google-to here.

kraugie
04-06-2006, 05:57 PM
Strange, I thought I had answered that question before.

http://www.techspot.com/vb/showthread.php?t=38043

I suppose I didn't tell them to take ownership, but what I did tell them worked!

guzzo
04-14-2006, 09:43 PM
This post is great, it helped me get all of my old locked files back, but now i have another problem...

i changed all the ownerships on the folders which i needed to access, and then i made a couple of new users, trying to get this install of XP Home as close to the last one as possible, but now, only one user can be logged on at a time. what happens when a user is already logged on and you try to log on another from the log in screen, is the screen just flashes blue for a second and the returns to the log in screen.

i need help bad! thanks alot for helping me so far!!

spytrdr
06-20-2006, 03:03 AM
I've done this a lot on hard drives when hooked up to a 2nd machine, to get data off. Go Microsoft, make it so easy to protect all your data and hide it. Only to make it equally easy for someone to take it right back :)

What about installing a PARALLEL Windows OS on the same disk (without formatting and leaving current file system intact of course) and then "take ownership" of the other user's documents (user that is password-protected and has admin privileges) from there? Can it be done?

Natolio
10-14-2006, 08:45 AM
ok guys heres one for you to ponder over. i had my pc on when i was called for my dinner. so i went to eat it and when getting back to my pc i realised it had shut itself down. i could not load it back up as it would just fail before it got to the windows xp logo. i realised that my motherboard must have died on me. so for the time being i had no working computer. when i finally got a new one i put my old hardrive into my new pc as a slave and everything loaded fine. however i can acces all folders in my old drive except for my users folder. this had some very important documents within it which i need back. i have tried everything mentioned on this forum, except for running it in safe mode. this is because when i attempt it, it gets to a certain point of loading(the black screen with all the white writing) and then it freezes! However when i try to run my new hardrive on its own in safe mode it works fine. can someone please tell me what is wrong as i cannot take control of the folder as i cannot obviously access the security settings. please do not tell me my hard drive has died aswell. i will try to get the name of the point at which it freezes. thanks guys

99scollings
01-16-2007, 12:45 PM
Hmm - I have a problem with the 'Use simple file sharing (Recommended)' option (in that it's not visible!)
Proof (http://i73.photobucket.com/albums/i206/99scollings/MissingOption.png)

Any ideas would be greatly appreciated! Thanks,

Soraya.

Shaolinfist
03-17-2007, 06:50 PM
Hi guys, im having the same proplem PLEASE can you help! I cannot see the option for simple file sharing in the folder options > view > advanced settings area! I have tried what someone said previously about running the network setup wizard first with file sharing enabled, and then with it disabled and still cannot see the option there! This is so frustrating because every fix I can see anywhere including the microsoft support website requires you to disable simple file sharing and noone tells you what to do if it isnt there!! So pls pls pls im begging you can you help me! I have tons of stuff that is locked in an old my documents folder that i cannot access because I had to reinstall my operating system! This is life or death lol
Thanks for your time and efforts

OK! An update, I have done it! I made a mistake that is that I thought I was using XP Pro, but in fact I was using XP Home! So by starting in safe mode I was able to take ownership of the folders retreiving my info! Thanks a lot guys I dont know what I would have done without you! :D
Techspot ROCKS!

Xeek
05-28-2007, 11:13 AM
Hit windows key + R (or Start > Run), type this into the Run window:
cmd

This brings up the console, now type:
cacls g:\* /t /c /g everyone:f

cacls <- change acls (security descriptors granting/denying permissions)
g:\* <- my old hdd, the \* means to affect every file/directory in the g: directory (but not the subdirectories)
/t <- makes it affect subdirectories and files
/c <- makes it continue when it encounters an [access denied]
/g <- grant permission
everyone:f <- give everyone full control

I HAVE WIN XP HOME AND YOU ONLY NEED BE LOGGED ONTO THE OWNER ACCOUNT LIKE NORMAL, no safe mode or anything.

irishgemini
09-17-2007, 05:12 PM
Greetings.
Ok, I read the entire thread and did as suggested.
Here is my scenario...
I had a hard drive from anouther system, both winxp home.
the second drive is denied my access to all the files on that drive.
I did a backup, reformatted the drive, installed the drive using maxblast.
I restored the backup, tried the safe mode method, I enable full control for all users, still denied.
Now when i reformatted the drive there was still a folder on the drive after format, "volume information" or simular to that.
I cant get rid of that folder and wonder if thats where the permissions are getting messed up.
I lose you yet?

Maybe I am getting Too old.... :confused:

edddder
10-18-2007, 03:20 AM
how about if you are running windows vista sir? i want to delete the old xp installed folder (windows.old.001, if remember it correctly), "access denied" everytime i tried to delete this folder.

thanks

 Tech News

 Downloads
Copyright © 1998-2008 TechSpot.com. TechSpot is a registered trademark. All Rights Reserved.