Cheatography
https://cheatography.com
Authoritative Restore
Hvad er det |
Tillader administratoren at recover en domain controller, restore den til et bestemt tidspunkt, eller markere objekter i AD til at være authoritative |
Authoritative betydning |
"For example, you might need to perform an authoritative restore if an administrator inadvertently deletes an organizational unit containing a large number of users. If you restore the server from tape, the normal replication process would not restore the inadvertently deleted organizational unit. Authoritative restore allows you to mark the organizational unit as authoritative and force the replication process to restore it to all of the other domain controllers in the domain." |
Kommandoer |
|
"Marks the entire Ntds.dit (both the domain and configuration naming contexts held by the domain controller) as authoritative. The schema cannot be authoritatively restored." |
Restore database verinc %d
|
Marks the entire Ntds.dit (both the domain and configuration naming contexts held by the domain controller) as authoritative and increments the version number by % d . Use this option only to authoritatively restore over a previous, incorrect, authoritative restore, such as an authoritative restore from a backup that contains the problem you want to restore over. |
|
"Marks subtree (and all children of subtree) as being authoritative. The subtree is defined by using the fully distinguished name of the object." |
Restore subtree %s verinc %d
|
Marks subtree (and all children of subtree) as being authoritative and increments the version number by % d . The subtree is defined by using the fully distinguished name of the object. Use this option only to authoritatively restore over a previous, incorrect, authoritative restore, such as an authoritative restore from a backup that contains the problem you want to restore over. |
Source |
|
Tombstone Lifetime
Hvad er det |
Tombstone Lifetimen i en AD forest bestemmer hvor lang tid et slettet object (en tombstone) er holdt i AD DS. |
Se tombstone lifetime med Dsquery |
Åben kommandoprompten og skriv dsquery * "cn=directory service,cn=windows nt,cn=services,cn=configuration,dc=<forestDN>" –scope base –attr tombstonelifetime
Skift <forestDN> ud med navnet på din egen forest |
Source |
|
|
|
DSRM - Directory Services Restore Mode
Hvad er det |
DSRM er en speciel boot mode for reparation eller recovery af Active Directory. Det bruges til at logge på computeren når Active Directory har fejlet eller har behov for at blive genoprettet. |
Syntax |
dsrm <ObjectDN> ... [-subtree [-exclude]] [-noprompt] [{-s <Server> | -d <Domain>}] [-u <UserName>] [-p {<Password> | *}][-c][-q][{-uc | -uco | -uci}]
|
Boot ind i DSRM |
For at boote ind i Directory Services Restore Mode så tryk F8 under BIOS POST skærmen (Hvis windows logoet kommer frem var du for langsom) En tekst menu kommer frem og der vælger du Directory Services Restore Mode eller DS Restore Mode |
Log ind i DSRM |
Efter du er booted op i DSRM så log ind med administrator kontoen. |
Boot ind i DSRM genvej inde fra windows |
bcdedit /set safeboot dsrepair, then reboot: shutdown /r /f /t 5.
i kommando prompten |
Source |
|
|
Ntdsutil.exe
Hvad er det |
Ntdsutil.exe er et command-line værktøj der giver management facilities til Active Directory Domain Services (AD DS) og Active Directory Lightweight Directory Services (AD LDS) Du kan bruge ntdsutil kommandoer til at lave database vedligeholdelse. |
Syntax |
Ntdsutil [activate instance %s | authoritative restore | change service account %s1 %s2 | configurable settings | DS behavior | files | group membership evaluation | Help | ifm | ldap policies | ldap port %d | list instance | local roles | metadata cleanup | partition management | popups on | popups off | quit | roles | security account management | semantic database analysis | set DSRM password | snapshot | SSL port %d]
|
Source |
|
|
|
|
Wbadmin
Hvad er det |
Wbadmin er et command-line alternativ til Windows Server Backup. Wbadmin kan bruges til at håndtere alle dele af backup konfiguration. |
Kommandoer |
DELETE SYSTEMSTATEBACKUP
|
Sletter system state backups fra et specificeret sted |
|
Slår scheduled backups fra |
|
Slår scheduled backups til eller modificerer en allerede kørende scheduled backup |
|
Lister diskene som er online på den lokale computer. |
|
Rapporterer statusen for et ongoing backup eller recovery job |
|
Lister detaljer om de tilgængelige backups i en specific lokation, som backup tider og destination. |
|
Start en en-gangs backup med specifikke parameter. Bruger scheduled backups parameter hvis ingen bliver sat |
|
Starter recovery af volumes, applikationer eller filer |
START SYSTEMSTATEBACKUP
|
Starter en system state backup |
START SYSTEMSTATERECOVERY
|
Starter en system state recovery |
|
Stopper det kørende backup eller recovery job |
Source |
|
ADSI Edit (adsiedic.msc)
Hvad er det |
Active Directory Services Interfaces Editor (ADSI Edit) er en lightweight directory access protocol (LDAP) editor som man kan bruge til at håndtere objekter i AD. |
Source |
|
|
Created By
Metadata
Comments
No comments yet. Add yours below!
Add a Comment