Perhaps this may help
Step by step instruction on how to take ownership of a folder
- Right-click the file/folder you want to own, click properties
- Click Security Tab
- Click Advanced
- Click the Owner Tab
- Click Edit
- Select the Administrators group from the list
- Click OK
- Click OK
- Click OK
You have now taken 'Ownership' of the file and you can close the property
Windows
Now again
1) Right-click on the file
2) Select Properties
3) Go to the Security tab again, click the Advanced button
4) Now Press Edit, then double-click 'Administrators' in the list and tick
the 'allow' box for 'Full control'
You have now taken 'Full control' of file
-- Leo
'Whoever said the pen is mightier than the sword obviously never encountered automatic weapons.' General MacArthur
"Zaphod Beeblebrox" <Zaphod.Arisztid.Beeblebrox[ at ]gmail.com> wrote in message news:gie66m$a6h$1[ at ]news.motzarella.org...
[Quoted Text] > > "aaronofyo" <guest[ at ]unknown-email.com> wrote in message > news:880c25deba1baf68a3b675fd7d7b5711[ at ]nntp-gateway.com... >> >> when i enter that command it displays a list of "processed file : >> L:_____(various files)" >> but when it gets to "processed dir:L: Documents and Settings" it says >> "access is denied". >> >> > > I don't think that the CACLS command handles ownership issues, so you probably > need to take ownership of the files and folders first. Rather than doing so > one file/folder at a time, you can use the TAKEOWN command to do so, like > this: > > TAKEOWN /F L:\* /R /D > > That should give ownership of all files and folders on L: to the current user. > To give ownership to the Administrators group instead of the current user, add > /A. > > Hope this helps. > > -- > Zaphod > > No matter where you go, there you are! >
|