วันอังคารที่ 20 มิถุนายน พ.ศ. 2560

Active Directory Domain Services 2008 R2: Recovery Object

Recovery Object


                Active Directory Users and Computers ในที่นี้จะทำการ Remove Object Users ออกจาก ระบบ และจะทำการ Restore กลับมาใช้งาน ในการ Restore จะได้ค่า SID ของ Object Users กลับมา


                ทำการ Remove Object Users: testtt บน OU test



เมื่อทำการ Remove Users ไปแล้วจะเห็นได้ว่าไม่มี Users นั้นอยู่


                จะทำการ Restore Object โดยใช้ LDP.EXE





                ไปที่ connection menu เลือก bind



               ไปที่ view menu และทำการเลือก tree





               หา object ที่ทำการ ลบไป 


               คลิกขวา Modify


               ในช่อง Attribute ใส่คำว่า isDeleted เลือก Operation เป็น Delete และคลิก Enter และคลิก Check box Extended 



               ในช่อง Attribute ใส่คำว่า distinguishedName และในช่อง Values ใส่เป็น CN=testtt, OU=test, DC=CONTOSO, DC=LOCAL เลือก Operation เป็น Replace และคลิก Enter


              คลิก Run เพื่อทำการ Restore Objects Users testtt กลับมา


              ถ้าเปิด Active Directory User and Computers ให้กด Refresh แล้วจะเห็น User testtt กลับมา




             เมื่อ User testtt กลับมา ก็สามารถ Enable Account นำกลับมาใช้งานได้ปรกติเลยครับ

ไม่มีความคิดเห็น:

แสดงความคิดเห็น