Page 3 of 6 FirstFirst 12345 ... LastLast

  1. Joined : Jun 2015
    Posts : 213
    Windows 10
       2016-01-09 #20

    Brink said: View Post
    The commands you already tried were for changing the owner and permissions to take ownership. You may have to delete it and start over instead.
    With the command

    Code:
    pushd "<Apply_Directory_Path>" && (rd /s /q "<Apply_Directory_Path>" 2>nul & popd)
    nothing is deleted. Why?

    Thanks

    Bye
      My System SpecsSystem Spec


  2. Joined : Oct 2013
    Posts : 17,489
    64-bit Windows 10 Pro build 15014
       2016-01-09 #21

    What is the actual "<Apply_Directory_Path>"?
      My System SpecsSystem Spec


  3. Joined : Jun 2015
    Posts : 213
    Windows 10
       2016-01-10 #22

    Brink said: View Post
    What is the actual "<Apply_Directory_Path>"?
    This directory is that of the post 13.

    Thanks

    Bye
      My System SpecsSystem Spec


  4. Joined : Jun 2015
    Posts : 213
    Windows 10
       2016-01-10 #23

    I tried these commands

    Code:
     takeown /F "<Apply_Directory_Path>\*" /R /A /D Y
     icacls "<Apply_Directory_Path>\*.*" /T /grant administrators:F
     pushd "<Apply_Directory_Path>" && ( rd /S /Q "<Apply_Directory_Path>\" 2>nul & popd )
    but some subdirectories with their files are not deleted. Why?

    Thanks

    Bye
      My System SpecsSystem Spec


  5. Joined : Oct 2013
    Posts : 17,489
    64-bit Windows 10 Pro build 15014
       2016-01-10 #24

    You may be able to delete it with the free Unlocker instead.
      My System SpecsSystem Spec


  6. Joined : Jun 2015
    Posts : 213
    Windows 10
       2016-01-14 #25

    I have a subdirectory structure that I can not see its owner, and when I try to open it, File Explorer request the sysadmin authorization although I am logged on with an Administrators account. Why?

    Using the Command Prompt, how do I become owner of this subdirectory structure with complete control over it so that I can also delete it?

    Thanks

    Bye
      My System SpecsSystem Spec


  7. Joined : Oct 2013
    Posts : 17,489
    64-bit Windows 10 Pro build 15014
       2016-01-14 #26

    Did you see if Unlocker was able to delete it?
      My System SpecsSystem Spec


  8. Joined : Jun 2015
    Posts : 213
    Windows 10
       2016-01-26 #27

    I think I found the best solution to remove a directory structure which also contains symbolic links and with ACLs managed by TrustedInstaller or Authenticated Users or System users:

    Code:
    takeown /F "<Directory_path>" /A /R /D Y /SKIPSL >nul 2>&1
    icacls "<Directory_path>" /reset
    icacls "<Directory_path>" /grant:r Administrators:(OI)(CI)F /inheritance:e /Q /C /T /L >nul 2>&1
    pushd "<Directory_path>" && ( rd /S /Q "<Directory_path>" 2>nul & popd )
    Many thanks to all

    Bye
    Last edited by balubeto; 2016-01-27 at 03:41.
      My System SpecsSystem Spec


  9. Joined : Feb 2016
    Posts : 2
    Windows 10
       2016-02-24 #28

    Hey Brink,

    First time forum user here for all the wrong reasons. I've been trying to get some of my companies alpha software installed on a few work machines and I believe the folder ownership was to blame for my problems. I managed to take ownership of the C: drive on both of my machines (exactly what your post above warns not to do). Upon rebooting them, I'm stuck at the blue windows ten startup screen with the white spinner.

    Am I SOL? Looking for anything I can do to revert the changes I made. At worst, I hope to be able to grab files off of the drives by hooking them up to another machine in an external caddy. At best, I can recover the machines as they were a few hours ago.

    Any help would be greatly appreciated!

    Thanks,
    James
      My System SpecsSystem Spec


  10. Joined : Oct 2013
    Posts : 17,489
    64-bit Windows 10 Pro build 15014
       2016-02-24 #29

    Hello James, and welcome to Ten Forums.

    Yeah, you never want to take ownership of the C: drive as per the red warning at the top of the tutorial. It never ends well.

    You could see if you may be able to do a system restore at boot using a restore point dated before this happened. You may need to boot from USB installation media since Windows is stuck.

    System Restore Windows 10
      My System SpecsSystem Spec


 
Page 3 of 6 FirstFirst 12345 ... LastLast


Similar Threads
Tutorial Category
This PC 'Folders' - Add or Remove in Windows 10
How Add or Remove Folders from This PC in Windows 10 The This PC window includes a Folders group that displays a linked Desktop, Documents, Downloads, Music, Pictures, and Videos folder from the current user account's "C:\Users\(user-name)"...
Tutorials
Hidden Files, Folders, and Drives - Show in Windows 10
How to Show Hidden Files, Folders, and Drives in Windows 10 Hidden files, folders, and drives do not show by default in Windows. Windows protected system files (ex: desktop.ini files) are hidden by default. You can also manually hide a file or...
Tutorials
Start List - Add or Remove Folders in Windows 10
How to Add or Remove Folders on Start List in Windows 10 The Start menu in Windows 10 has a Start list that you can customize which folders appear in the list. You can add or remove the File Explorer, Settings, your Documents, your Downloads,...
Tutorials
Windows 10 VirtualBox Shared Folders Oddity
I'm running VBox 5.0 on Windows 8.1 and have created VMs for Windows 7 and Windows 10 release 10240. In both VMs I have installed Visual Basic 6 (VB6). Everything is working fine except for one strange difference. When running the Windows 7 VM, I...
Virtualization
Windows 10 Adding Folders to USB Devices
Hi everyone, I've noticed that whenever I plug in a usb thub stick or hard drive Windows 10 (Build 9879) is automatically creating empty Videos, Music, Downloads etc folders everytime. This is quite annoying, anyone know how to turn this off?...
General Support
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 17:21.
Find Us
Twitter Facebook Google+



Windows 10 Forums