balubeto's Mega Query Thread

Discussion in 'Windows 10' started by balubeto, Dec 26, 2015.

  1. 100

    100 MDL Expert

    May 17, 2011
    1,349
    1,576
    60
  2. sebus

    sebus MDL Guru

    Jul 23, 2008
    6,356
    2,026
    210
    I knew there is a reason why this user in my IGNORE list...
     
  3. SOCRATE_MMXII

    SOCRATE_MMXII MDL Expert

    Jan 25, 2012
    1,033
    318
    60
    I said long ago this user <balubeto> should be banned from MDL.
    He thinks that MDL is his own Cortana. :death:

    @balubeto: for the sake of the human race, stay away from any electrical device.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. balubeto

    balubeto MDL Addicted

    Dec 22, 2009
    580
    10
    30
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. rpo

    rpo MDL Expert

    Jan 3, 2010
    1,447
    1,423
    60
    "Owner" means take ownership.
    Moreover you have an efficient way to resolve your problem : just format you drive!::D
     
  6. balubeto

    balubeto MDL Addicted

    Dec 22, 2009
    580
    10
    30
    #47 balubeto, Jan 24, 2016
    Last edited by a moderator: Apr 20, 2017
    (OP)
    For now, the only solution that I found is

    Code:
    takeown /F "<Directory_Path>" /A /R /D S /SKIPSL >nul 2>&1
    icacls "<Directory_Path>" /reset
    icacls "<Directory_Path>" /reset /Q /C /T /L >nul 2>&1
    pushd "<Directory_Path>" && ( rd /S /Q "<Directory_Path>" 2>nul & popd )
    
    but I am sure that there is another better but I can not find it.

    Someone would be able to find it?

    Thanks

    Bye
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. endbase

    endbase MDL Guru

    Aug 12, 2012
    4,673
    1,710
    150
    #48 endbase, Jan 24, 2016
    Last edited by a moderator: Apr 20, 2017
    I always take everything serious here on MDL but I must say that following this treath is just working on my nerves ! With all respect are you willing to take notice of every thing that is posted here to help you out ? You are coming back with the same input and there for you give me the intention that you are not open for other solutions than your own "script" !

    My two cents ;)

    Ps good luck with finding your answer !
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. balubeto

    balubeto MDL Addicted

    Dec 22, 2009
    580
    10
    30
    I hope that someone might find a solution better than mine because my solution is too slow because the third command does not stop to analyze my directory structure but the entire contents of the hard disk. Why?

    Thanks

    Bye
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. LiteOS

    LiteOS Windowizer

    Mar 7, 2014
    2,207
    979
    90
    run cmd as trustedinstaller
     
  10. balubeto

    balubeto MDL Addicted

    Dec 22, 2009
    580
    10
    30
    Just using DOS commands of Windows 10 v1511, how do I do this?

    Thanks

    Bye
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. balubeto

    balubeto MDL Addicted

    Dec 22, 2009
    580
    10
    30
    #53 balubeto, Jan 25, 2016
    Last edited: Jan 25, 2016
    (OP)
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. LiteOS

    LiteOS Windowizer

    Mar 7, 2014
    2,207
    979
    90
    use "Authenticated Users"
    should do it also
     
  13. balubeto

    balubeto MDL Addicted

    Dec 22, 2009
    580
    10
    30
    #55 balubeto, Jan 26, 2016
    Last edited by a moderator: Apr 20, 2017
    (OP)
    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
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  14. balubeto

    balubeto MDL Addicted

    Dec 22, 2009
    580
    10
    30
    Instead, if I wanted to remove the users mentioned above one at a time, how should I do?

    Thanks

    Bye
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  15. urie

    urie Moderator
    Staff Member

    May 21, 2007
    9,039
    3,388
    300
    I was out voted on the ban :p when he joined MDL I knew he had been banned from MSFN and other forums for starting threads and never replying to the answers given.
     
  16. endbase

    endbase MDL Guru

    Aug 12, 2012
    4,673
    1,710
    150

    That is what I have noticed too :D
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  17. rpo

    rpo MDL Expert

    Jan 3, 2010
    1,447
    1,423
    60
    He started threads concerning his problem on tenforums.com...