We’d like to remind Forumites to please avoid political debate on the Forum.
This is to keep it a safe and useful space for MoneySaving discussions. Threads that are – or become – political in nature may be removed in line with the Forum’s rules. Thank you for your understanding.
📨 Have you signed up to the Forum's new Email Digest yet? Get a selection of trending threads sent straight to your inbox daily, weekly or monthly!
The Forum now has a brand new text editor, adding a bunch of handy features to use when creating posts. Read more in our how-to guide
Windows10 Administrator login?
Comments
-
As far as I know I already have ownership; a couple of days ago I followed instructions for using TAKEOWN, and got thousands of successful messages giving control to DESKTOP\Administrator.
After that I tried to delete files, but this failed, and I didn't have time to explore further.
When I got back to looking at it, I got the problem mentioned at the start of this post.
Nevertheless, I tried your instructions, but after hitting Apply I got a different pop-up (about closing and opening objects??), probably because I already had ownership.
I had tried deleting using the GUI, and thought I might have different privileges in the Command Prompt. But I got
"Access is denied." when I tried to delete a file when running as Administrator.
Even though the Command Prompt was for an Administrator, it indicated User as in the following commands:C:\WINDOWS\system32>del E:\Windows\System32\alg.exeE:\Windows\System32\alg.exeAccess is denied.C:\WINDOWS\system32>C:\WINDOWS\system32>TAKEOWN /F E:\Windows\System32\alg.exeSUCCESS: The file (or folder): "E:\Windows\System32\alg.exe" now owned by user "DESKTOP-4O8VKTO\User".C:\WINDOWS\system32>del E:\Windows\System32\alg.exeE:\Windows\System32\alg.exeAccess is denied.
Am I somehow not given the Administrator privileges in the Command Prompt?
.0 -
Taking ownership is only half the job, you need to set the file permissions for that user against the file as well, second half of my guide - you need to give your user "full control" to be able to delete the files.
By default it will only have read only and will get the error messages as per your post when trying to delete.
The "taking ownership" part of the process is only done to allow you to set the file permissions you need, ownership itself doesn't solve the problem.
The fact that your command prompt is administrator is irrelevant here, you actually don't need any administrator privileges if you do this correctly - ie normal non-admin users can delete files so that isn't the problem - set the permissions correctly and you will be able to delete.
Follow my guide from the "Click change permissions" bit - that's the vital part of what you need to do - and provided you have set ownership correctly, it will allow you to change the file permissions - but you probably need to redo the ownership thing because it sounds like you gave ownership to your inactive admin account when it should be your user account.
1 -
Success at last!
Thank you so much for your help, and patience.
You deserve a veryMERRY CHRISTMAS
1
Confirm your email address to Create Threads and Reply
Categories
- All Categories
- 353.6K Banking & Borrowing
- 254.2K Reduce Debt & Boost Income
- 455.1K Spending & Discounts
- 246.6K Work, Benefits & Business
- 603K Mortgages, Homes & Bills
- 178.1K Life & Family
- 260.7K Travel & Transport
- 1.5M Hobbies & Leisure
- 16K Discuss & Feedback
- 37.7K Read-Only Boards