Command
Command
com
Computer Name: Test server.
C:\>whoami
friends\administrator
How to identify the Fully Qualified Domain Name with command prompt?
C:\>whoami /FQDN
CN=Administrator,CN=Users,DC=friends,DC=com
Services (Local)
C:\>services.msc
Computer Management
C:\>compmgmt.msc
Device Management
C:\>devmgmt.msc
Control Panel
C:\>control
C:\>dsrm CN=sale,CN=users,DC=friends,DC=com
Are you sure you wish to delete CN=sale,CN=users,DC=friends,DC=com (Y/N)? y
dsrm succeeded:CN=sale,CN=users,DC=friends,DC=com
C:\>dsrm CN=sec,CN=users,DC=friends,DC=com
Are you sure you wish to delete CN=sec,CN=users,DC=friends,DC=com (Y/N)? y
dsrm succeeded:CN=sec,CN=users,DC=friends,DC=com
(After backup i’ve deleted two users ex-s, six) how do restore the two users account?
C:\>ntdsutil
ntdsutil: authoritative restore
1. authoritative restore: restore object "CN=s,CN=users,DC=friends,DC=com"
Updating records...
Records remaining: 0000000000
Done.
Updating records...
Records remaining: 0000000000
Done.
authoritative restore:
0 10 20 30 40 50 60 70 80 90 100
|----|----|----|----|----|----|----|----|----|----|
...................................................
file maintenance: