Chris Beams’s Blog

Active Directory and more….

Archive for May 17th, 2009

Directory Services – KB Articles

Posted by chrisbeams on May 17, 2009

New KB articles related to Directory Services for the week of 5/3-5/9.

969710 How to enable the half-open TCP connections limit in Windows Vista with Service Pack 2 and in Windows Server 2008 with Service Pack 2
971133 Verbose logging may have adverse effects on system performance
969902 Many services do not start when you enter a computer name that exceeds 15 bytes during the initial setup of Windows Vista or of Windows Server 2008
970914 How to Manually Restore Files Backed Up Using Windows Backup
971070 The Debug Diagnostics 1.1 Whitepaper is now available
967358 You receive error messages when you try to create a domain GPO or edit an existing domain GPO in a Windows Server 2008 Active Directory domain environment

 

Posted in Active Directory | Tagged: | Leave a Comment »

Server Core – DC Promotion

Posted by chrisbeams on May 17, 2009

I have attached a simple answer.txt file below that I have used before for Server Core Promotion:

To set the network up you need the network ID (which tends to be 2)

netsh interface ipv4 show interfaces (this gives you the network id)
netsh interface ipv4 set address name=”2″ source=static address=192.168.100.202 mask=255.255.255.0 gateway=192.168.100.1
netsh interface ipv4 add dnsserver name=”2″ address=192.168.100.201 index=1

If you need RDP Access you need to do the following:

  • WMIC RDTOGGLE Where ServerName=”%COMPUTERNAME%” Call SetAllowTSConnections  AllowTSConnections=”1″
  • NetSH FireWall Set PortOpening TCP 3389 “Remote Desktop”

Dont forget to  Rename the machine to something more useful:

  • WMIC ComputerSystem Where Name=”%COMPUTERNAME% Call Rename Name =”NewNameYouWant”

And then the answer.txt file

This one would create a normal DC with DNS thats also a GC in an existing Domain,

[DCINSTALL]
InstallDNS=Yes
ConfirmGc=Yes
CriticalReplicationOnly=No
DisableCancelForDnsInstall=No
Password=P@ssw0rd
RebootOnCompletion=No
ReplicaDomainDNSName=W2K8.COM
ReplicaOrNewDomain=Replica
SafeModeAdminPassword=P@ssw0rd
SiteName=London
UserDomain=W2K8.COM
Username=administrator

Posted in Active Directory | Tagged: , | Leave a Comment »