Search This Blog

Friday, January 21, 2011

Server 2008 - CLI

netsh interface ip set address "officelan" static 192.168.1.5 255.255.255.0 192.168.1.1

netsh interface ip set address "officelan" dhcp

nesh interface ipv6 show interface


BackUp/Recovery ActiveDirectory
- Normal vs Authorative Restore (NTDSutil will increase USN to 100k).

Install additional Volume(virtual disk).
Install Feature (Windows Server Backup).
Start Backup Once.

Then delete a TEST OU Container.
Restart - the press F8 (access DS Restore Mode)


Then login into server (no Active Directory).

SRV1\administrator
- use Directory Restore password

command:
C:\>wbadmin get versions -backuptarget:E: -machine:srv1

c:\>wbadmin start systemstaterecovery -version:01/21/2011-06:45 -backuptarget:E: -machine:srv1


DON'T RESTART


c:\>ntdsutil
activate instance ntds
authoritative restore
restore subtree "ou=IT,dc=eknowledge,dc=com"

If restore only a FOLDER (D:\Payroll)
c:\>wbadmin start recovery -version:mm/dd/yyyy-06:45 -itemType:File items:d:\Payroll -overwrite -recursive

Ensure inquries of DNS are sent to dnsinfo@contoso.com
- modify SOA of the DNS domain controller

To configure DNS servers to point to your company servers as root
- replace cache.dns with new version of root servers.

No comments:

Post a Comment