Answered Remove SID history

  • Monday, February 11, 2013 10:14 AM
     
     

    hi all,

    i want to remove the SID history for only one user i found this technet article but this will remove all the SID's for all users is there any one command line i can use to delete the SID for one user or how can i edit the command to be used with only one user

    http://technet.microsoft.com/en-us/library/powershell_remove_sid_history%28v=ws.10%29.aspx

    Thanks


    Tarek Khairy

All Replies

  • Monday, February 11, 2013 11:26 AM
     
     Answered

    Hi check this:

    http://blogs.technet.com/b/ashleymcglone/archive/2011/11/23/how-to-remove-sid-history-with-powershell.aspx

    Look at Remove-SIDHistory


    Kind regards,

    Tim
    MCITP, MCTS
    http://directoryadmin.blogspot.com

    This posting is provided 'AS IS' with no warranties or guarantees and confers no rights.

    "If this thread answered your question, please click on "Mark as Answer"

  • Monday, February 11, 2013 11:45 AM
     
     
    Remove that attribute value from adsiedit.msc for a single user.

    Best regards Biswajit Biswas Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights. MCP 2003,MCSA 2003, MCSA:M 2003, CCNA, MCTS, Enterprise Admin

  • Monday, February 11, 2013 11:57 AM
     
     
    i get access denied when i do that.

    Tarek Khairy

  • Monday, February 11, 2013 1:31 PM
     
     
    By default;you need domain admin right for doing that.

    Best regards Biswajit Biswas Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights. MCP 2003,MCSA 2003, MCSA:M 2003, CCNA, MCTS, Enterprise Admin


    • Edited by i.biswajith Monday, February 11, 2013 1:32 PM
    •  
  • Monday, February 11, 2013 1:33 PM
     
     
    i already have domain admin rights but i read that i can't do it using ADSI Edit to delete the SID history.

    Tarek Khairy

  • Tuesday, February 12, 2013 6:42 AM
     
     
    still giving access denied.

    Tarek Khairy

  • Tuesday, February 12, 2013 7:31 AM
     
     Answered

    Sorry, you cant delete sidhistory attr from adsiedit you need some script for that see the below link for VBS.

    http://support.microsoft.com/kb/295758


    Best regards Biswajit Biswas Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights. MCP 2003,MCSA 2003, MCSA:M 2003, CCNA, MCTS, Enterprise Admin