SCONFIG
Some options can be set using the “sconfig” command
Install VM Tools (if virtualised)
- Initiate installing VMTools from vSphere console
- Run through installation instructions
Configure Network
- netsh interface ipv4 show interfaces (take note of Idx number)
- netsh interface ipv4 set address name=”Idx” source=static address=10.54.10.%% mask=255.255.255.0 gateway=10.54.10.254
- netsh interace ipv4 add dnsserver name=”Idx” address=10.54.10.12 index=1
- netsh interace ipv4 add dnsserver name=”Idx” address=203.0.178.191 index=2
Change Server Name
- Netdom renamecomputer %computername% /NewName: %new name%
- Reboot (shutdown /r /t 0)
Add Server to Domain
- Netdom join %computer% /domain:dnsmeplease /userd:administrator /passwordd:*
Allow Remote Administration
- WinRM quickconfig
Manually Install Windows Updates
- Verify current settings
- cscript scregedit.wsf /AU /v
- Enable automatic updates
- cscript scregedit.wsf /AU 4
- Disable automatic updates
- cscript scregedit.wsf /AU 1
Install Windows Updates from Script
Reference: http://msdn.microsoft.com/en-us/library/aa387102%28VS.85%29.aspx

Leave a Reply