Access Denied to admin file

bigkel

Honorable
Feb 29, 2012
49
0
10,540
Hi all it has been a while but I hope some one can help me again as in the past.

A couple of months ago my PC spat the dummy and I was forced to get another PC but as some of my progams ( Namely a progam MAGIX movie edit pro 11) I need the PC to be running Win XP.

I have the New drive in the PC and the old drive hooked up via a USB connection.

I can access most of the files and folders on the drive but when I come to access ind my old admin file it keeps coming up with (E:\Documents and settings\adnim is not accessible. Access is Denied) I have tried to access the security by right clicking on the folder, selecting admin properties, then selecting the security settings but the security settings dose not appear, can any one help me with this one

Many thanks
 
SET DIRECTORY_NAME="c:*.*"
TAKEOWN /f %DIRECTORY_NAME% /r /d y
ICACLS %DIRECTORY_NAME% /grant administrators:F /t
PAUSE


---------------------------
make a batfile containing the text above... (cut and paste it into a plain txt doc and rename it .bat)
change the drive letter to the drive you want to take ownership of. then run the bat with admin privs.

this should ten transfer the ownership of the drive and the files contained on it.
 
In short in order to get to files on a hard drive where windows was setup on it.
And say for example you connected the drive to another computer running it`s own OS.
You have restricted privileges set on the drive, and the folders of it.

In order to gain access to the contents of the drive, and or Admin folders of that drive.
You need to take ownership of the drive in question.

You can do this by right clicking on the drive you wish to get access to and all it`s files.
Click on the security tab. Then click on the advanced tab mid way down the open window.
Click on owner.
Then click on edit.
Select the machine/ pc system that the drive is currently connected to.
Then click ok.




 


right click on the desktop and select new/tex doc
a new empty text doc should appear. open it, add the text and save it.
rename the resulting file takeown.bat.
run it with admin privs
 

bigkel

Honorable
Feb 29, 2012
49
0
10,540
I am still having trouble accessing the denied file it says I have to have administrator permission, I thought I was in as the administrator, when I go in to user accounts I am the administrator, and all the boxes are ticked but when I go to access the Admin folder it comes up with access denied and the only tabs at the top of the admin properties is " General, Sharing and Customized," no security tab and when I go to access the whole drive the same thing.

I have connected the drive to my laptop which is running win 10 and I am able to access all files in the admin folder and make changers ok as administrator, so why can I not do it under win XP