Unable to read / move / delete file with admin rights
Hi all,
Not sure if this is posted in the right place but hey ho...
When I try to copy all of my personal files to an external hd for back
up, 13,000 or so of the 40,000 files cannot be copied as i am told that
I do not have the right permission. I run into this problem when logged
on a restricted user and give permission through UAC or indeed as the
administrator.
Has anyone got a clue?
Some more info: I have set up 3 partitions on the pc with vista 64 bit
installed, 1 for programs and operating system files, 1 for my documents
and 1 for media files. I have three users created, 2 standard users and
1 admin account (not setup with the default username but permissions).
It is the files that are stored in one of the standard user accounts
that is the problem. The files are a right mixture and are of different
types and some have been created years ago (in xp etc) whilst others are
recent (created in vista).
any help greatly received!
--
wait4it
RE: Unable to read / move / delete file with admin rights
Try this:
Reboot. Log-on as administrator. Go to folders and secure Full Control as
administrator. Also gain Ownership. (right click > properties > Security >
Advanced). Then try coping or moving files as administrator with Full Control
and Ownership.
You may have to reboot after gaining Full Control and Ownership before
trying to copy folders/files.
-
Re: Unable to read / move / delete file with admin rights
Thanks for the reply Oscar - that seemed to work and I have now wrestled
back control back of two files...
However, I've got thousands to do, all in different folders although
all in one top level folder (documents within my docs). Selecting all
and clicking on properties doesnt seem to bring up the appropriate menus
that i get from selecting one file... I assume this is because i have
got folders and files selected.
Any clues how i can sort out this problem on multiple files?
Cheers
--
wait4it
Re: Unable to read / move / delete file with admin rights
Take ownership and change the permissions.....
I have this in a batch file named setowner.bat
takeown /f %1 /r /d y
icacls %1 /grant administrators:F /t
to run, open a cmd window and type
setowner c:\"foldername"
or.......
http://thevistaforums.com/index.php?showtopic=13839
Re: Unable to read / move / delete file with admin rights
Sometimes just one or two corrupted files in a large folder can prevent the
Administrator from taking Full Control of the entire folder and its contents,
thus negating the Parent Inheritance protocol that Vista UAC normally
follows.
Other ideas:
1) turn off UAC and try to copy or move folders.
2) run DOS as administrator and try to copy from DOS command line.
3) transfer files or folders from Standard users account to Administrator
account and then try to take Full Control as the logged-in Administrator. You
might need to set up sharing permissions, also.
4) Try the suggestions and links that Dave has provided. I’ve never had to
use 3rd party software to gain Full Control of a folder or file but if it
works- great!
5) Exhaust all options by setting parameters in Properties > Security or
Properties > Sharing.
Sometimes Vista’s UAC gets confused and won’t allow the current
Administrator to have Full Control on certain files/folders. Depending on how
the Vista OS built-in administrators are protecting those files or folders,
each problem of gaining permissions and Full Control seems to call for a
different “workaround.†I wish I had a magic bullet (solution) for you in
this case.