|05 Dec 2013||#14|
Pulled this from one of the microsoft sites
Step 1: Take ownership of the root drive:
Method 1: Take ownership of the drive from user interface.
1. Right click on drive and select “Properties” from Context Menu.
2. Click on "Security" tab.
3. Click on “Advanced” button.
4. Now click on "Owner" tab in Advanced Security Settings for User windows.
5. Click on Edit Button and select user from given Change Owner to list if user or group is not in given list.
6. Click on other users or groups. Enter name of user/group and click ok.
7. Now select User/group and click apply and ok. Check “Replace owner on subcontainers and objects” if you have files and folder within selected folder.
8. Click ok when Windows Security Prompt is displayed.
9. Now Owner name must have changed.
10. Now click Ok to exist from Properties windows.
11. Once you have taken the ownership of file or folder next part comes is granting permissions to that file/folder or object.
If the above method doesn’t work, you could try taking ownership from the command line.
Method 2: Taking ownership of a folder from command line
Open an elevated Command Prompt window.
To do so:
1. Go to > Start > All Programs > Accessories
2. Right-click on Command Prompt, and then click Run as Administrator.
3. Type the following command and press ENTER:
takeown /f <foldername> /r /d y
4. To assign the Administrators group Full Control Permissions for the folder, use this syntax:
icacls <foldername> /grant administrators:F /T
The /T parameter is added so that the operation is carried out through all the sub-directories and files within that folder.
5. To know more information about the above commands, run these commands from a Command Prompt window.
Once you take ownership, you can grant permissions on those folders.
Step 2: How to Grant Permissions in Windows
1. Locate the drive on which you want to take ownership in windows explorer
2. Right click on drive and select “Properties” from Context Menu
3. Click on Edit button in Properties windows Click ok to confirm the prompt.
4. Select user/group from permission windows or click “add” to add other user or group.
2. Now under Permission section check the rights which you want to grant i.e check “Full
3. Control” under the “Allow” column to assign full access rights control permissions to Administrators group.
4. Click Ok for changes to take effect and click ok to exit from Properties window.
For more information, refer:
What are permissions?
This should help you in copying the file in System32 folder.
|My System Specs|
|06 Dec 2013||#15|
I'd actually tried this before (see my first post), and whenever I clicked "Replace all child object permissions with inheritable permissions from this object" the check mark would disappear when I checked drive Properties again. This time - for reasons I have no idea about - it didn't disappear and instead Windows Security went through a *long* procedure of setting security information for apparently every file on the disk. When I again tried to delete the directory, I got a screen saying "Preparing to recycle" and "Calculating". This went on for several minutes, at which point I clicked "Cancel". "Canceling" went on for several more minutes until I uncovered a dialog box saying the recycle bin was corrupted. I chose to delete the recycle bin at which point the Canceling finished. Finally I used FileMenu Tools to delete the directory bypassing the recycle bin. This time it worked!
So thanks for the information. The problem is solved, though I must say I'm no more enlightened as to why it occurred than I was before.
|My System Specs|
|Thread Tools||Search this Thread|
|Similar help and support threads|
Unable to Delete Folder from Desktop: Access Is Denied?
I had a folder on my Desktop that just won't delete. It was apparently being shared with my Xbox360. I right-clicked it, pressed Delete, and it said it was being shared and if I was sure I wanted to do it anyways. So, of course, I said Yes. It deleted everything within the folder, yet the folder...
Can't delete folder - access denied
Hello! I have a small issue concerning deleting folder. Here's situation: I had a folder that I wanted to delete. I used shift+del combo for instant deletion, but than issue occured. Basicly, folder stayed, yet files deleted themselves. And when I try to delete the folder, it says I need...
I cannot delete a particular file Access Denied
I am tryiong to save, delete or overwrite the file "Clear Print Spooler.bat" in C;\windows\system32 and in each case get "ACCESS Denied" error. I have tried the above in the command window with admin. priviledge. Same error. I had added a line that contained the word "Runas". Now I try to remove...
Can't delete a file - Access is denied
Hi, I have a compiled .dll file that I want to delete - but I can't do it in any way. I already tried del command line and take ownership (both GUI and cmd) but nothing helped so far. I always get the Access is denied error. Any idea will be appreciated! Thanks, Shaorn
Trying to Delete Program Files, Access Denied
This entire morning thus far I've been attempting to delete files from Norton Internet Security, which has been inactive for a long time (we are not going to renew our account) and has been bugging us constantly. I assumed it would be an easy task, and I couldn't have been farther from the truth. ...
"Access denied:" How to overcome denied access to a folder
I'd like to put a .cmd file in my c:\Documents and Settings\All Users\Start Menu\Programs\Startup directory, but \Documents and Settings has a lock on it and tells me "Access denied" when I click on it. Is this a job for "Take Ownership" or is there another way? The instructions for "Take...
© Designer Media Ltd
All times are GMT -5. The time now is 19:55.