Oaktech Posted May 18, 2016 Posted May 18, 2016 Done that. Didn't work. I ticked the Replace all child object permissions with inheritable permissions from this object box, and it went through all the folders, got to the problematic one and said nah, not allowed. Unlocker from Cedric Collomb will probably fix this... Download Unlocker 1.9.2
Garacesh Posted May 18, 2016 Author Posted May 18, 2016 (edited) Unlocker from Cedric Collomb will probably fix this... Download Unlocker 1.9.2 Guess again Should be safe to reboot it now, so giving that a try. Edit: Server restarted. Still no dice. Edited May 18, 2016 by Garacesh
LeMarchand Posted May 18, 2016 Posted May 18, 2016 Unlocker from Cedric Collomb will probably fix this... Download Unlocker 1.9.2 That used to be one of my "go to" bits of software but I've recently given up on it as my a/v took a dislike to more recent versions.
LeMarchand Posted May 18, 2016 Posted May 18, 2016 takeown /F dirname ? Or use a boot disk/DaRT/PE disk and delete the offending file when the OS isn't running.
mikeprice Posted May 18, 2016 Posted May 18, 2016 Sounds like it getting close to 1) identify the exact sector of the disk on which it resides 2) get a hacksaw 3) REALLY delete it 4) buy new disk
elsiegee40 Posted May 18, 2016 Posted May 18, 2016 These posts now split from Annoying Things thread 1
Ephelyon Posted May 18, 2016 Posted May 18, 2016 What happens if you use PSExec to open a command prompt as SYSTEM on the server itself - can you view it then?
DJ-1701 Posted May 18, 2016 Posted May 18, 2016 takeown /F dirname ? Or use a boot disk/DaRT/PE disk and delete the offending file when the OS isn't running. I agree with @LeMarchand. The Takeown command has helped me out with buggy ownership issues in the past. Also booting into PE then attempting to delete it is a good idea too.
psydii Posted May 18, 2016 Posted May 18, 2016 Psydii's patented "delete that file now" process*: Psexec -s -I cmd cd to the folder containing the offending item takeown the file. icacls to get full control Delete it. If an earlier step fails, uses subst to mount this deep folder as a drive letter. Change to this new drive and try again. If that doesn't work, the file may have trailing spaces. To delete in this case use the NT path to get rid of it ( "\\?\DRIVE:\path\to\file .docx" ) *https://support.microsoft.com/en-gb/kb/320081
mrwoberts Posted May 18, 2016 Posted May 18, 2016 WIll this work you... Open 7Zip File Manager and browse to the parent folder so that you can see the rascal folder in the pane. Select the folder you want to delete, then Shift+Delete.
Garacesh Posted May 19, 2016 Author Posted May 19, 2016 Takeown doesn't work.. ERROR: Access is denied. 7-Zip didn't work. 'PsExec' is not recognized as an internal or external batch file.
Arthur Posted May 19, 2016 Posted May 19, 2016 'PsExec' is not recognized as an internal or external batch file. Did you download it? https://technet.microsoft.com/en-gb/sysinternals/psexec
DJ-1701 Posted May 19, 2016 Posted May 19, 2016 When using PS Tools such as PSExec, note that you Anti Virus may mark these as Potentially Unwanted Programs and may quarantine them.
Garacesh Posted May 19, 2016 Author Posted May 19, 2016 When using PS Tools such as PSExec, note that you Anti Virus may mark these as Potentially Unwanted Programs and may quarantine them. Yep. And it won't give me the option to allow it :/
Ephelyon Posted May 19, 2016 Posted May 19, 2016 Find a folder that's excluded by default and run them from there?
Arthur Posted May 19, 2016 Posted May 19, 2016 Server restarted. Still no dice. LockHunter might be worth a try if Unlocker didn't work.
psydii Posted May 19, 2016 Posted May 19, 2016 I'm thinking it is definitely an illegal file name issue.
Garacesh Posted May 19, 2016 Author Posted May 19, 2016 I'm thinking it is definitely an illegal file name issue. It's called "Geography", and there are no files or folders inside.
sted Posted May 19, 2016 Posted May 19, 2016 It's called "Geography", and there are no files or folders inside. dont be so sure if you dont have permissions there could be 10gb of stuff there and it would show 0 file 0 folders
Garacesh Posted May 19, 2016 Author Posted May 19, 2016 dont be so sure if you dont have permissions there could be 10gb of stuff there and it would show 0 file 0 folders I created the folder. I moved everything out of the folder (well, actually, the only thing inside it was Google Earth.).. I then Shift+Delete and confirmed. Then it didn't go away and disinherited permissions.
Garacesh Posted May 19, 2016 Author Posted May 19, 2016 Not yet, haven't really tried much today, been busy with actual work. It's just annoying me that it's still there lol
Ertech Posted September 29, 2021 Posted September 29, 2021 I have the same problem - has anyone found a solution to this? Thanks
psydii Posted September 29, 2021 Posted September 29, 2021 Did you try this: Psydii's patented "delete that file now" process*: Psexec -s -I cmd cd to the folder containing the offending item takeown the file. icacls to get full control Delete it. If an earlier step fails, uses subst to mount this deep folder as a drive letter. Change to this new drive and try again. If that doesn't work, the file may have trailing spaces. To delete in this case use the NT path* to get rid of it ( "\\?\DRIVE:\path\to\file .docx" ) *https://support.microsoft.com/en-gb/kb/320081
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now