Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Cont.
Windows: nope
Me: wtf I HAVE ADMIN RIGHTS!
Windows: yea well f**k you that’s not good enough -
@lincredibleJC
Cont
Me:take control of this folder
Windows: ok here you go
Me: now can I delete?
Windows: oh god no why would I let you do that? -
same problem on linux.
sudo lsof folder
kill -9 offending process
you can do the same on windows, using powertool64, or processexplorer. -
I found out this week that admins be default don't have permission to delete the Windows.Old folder on your C: drive when you upgrade which is the exact same permission you need to clear the Docker programdata folder on win server .
-
I hate this bug. I was able to pinpoint it though. It seems that if you opened this dir in an open file dialog of any program before, windows denies do delete it.
-
Thats Why there is a super admin ;)
@francommit
That's why there is a default program called 'disk cleanup' that gives you the option to delete windows.old
This is because you also need to clean up register. It's the same thing as uninstalling a program, you can't / should not delete it by just removing the folder from 'program filles' -
c3ypt1c99057yFuck it. Change CMD to the sticky executable. Log out. Press shift 5 times. >explorer.exe
Delete whatever you want while having a really odd GUI. -
That type of tech who install a VM ... Reboot ... And dont remember is password 🤦
-
A-C-E57027yMac logic:
*try to delete file from time machine backup*
Permission denied
*sudo rm-rf /path/to/file*
Permission denied.
Wtf amirite -
gitlog62067y@RantSomeWhere if none commented this, I was going to. But nice of you to do it earlier
-
Or..
"Delete this folder."
"Ok!"
*Windows whirring*
"Sorry I can't delete it, there's a file in there that's in use."
"The hell there is!" -
Fabian11307yYou have to first take ownership, then give yourself permission. Lookie here: https://windowscentral.com/how-take...
And all of that still doesn't help if it's locked by another program. Or ten of them. I just put a batch file into autostart then that deletes the file and hope that that's enough. -
ugne99804yAdmin rights on windows don't give you full access to your system like on unix-like systems. Your admin user can't change directories owned by higher users with more permissions. You'd have to run your program as SYSTEM with all privileges enabled to go somewhere similar to root.
Related Rants
Me: I have admin rights
Windows: Looks legit
Me: can I delete this folder ?
Windows: Nope
rant
windows
admin