MS Logo

SCONFIG

Some options can be set using the “sconfig” command

sconfig

Install VM Tools (if virtualised)

  1. Initiate installing VMTools from vSphere console
  2. Run through installation instructions

Configure Network

  1. netsh interface ipv4 show interfaces (take note of Idx number)
  2. netsh interface ipv4 set address name=”Idx” source=static address=10.54.10.%% mask=255.255.255.0 gateway=10.54.10.254
  3. netsh interace ipv4 add dnsserver name=”Idx” address=10.54.10.12 index=1
  4. netsh interace ipv4 add dnsserver name=”Idx” address=203.0.178.191 index=2

Change Server Name

  1. Netdom renamecomputer %computername% /NewName: %new name%
  2. Reboot (shutdown /r /t 0)

Add Server to Domain

  1. Netdom join %computer% /domain:dnsmeplease /userd:administrator /passwordd:*

Allow Remote Administration

  1. WinRM quickconfig

Manually Install Windows Updates

  1. Verify current settings
    1. cscript scregedit.wsf /AU /v
  2. Enable automatic updates
    1. cscript scregedit.wsf /AU 4
  3. Disable automatic updates
    1. cscript scregedit.wsf /AU 1

Install Windows Updates from Script

Reference: http://msdn.microsoft.com/en-us/library/aa387102%28VS.85%29.aspx

Offical Microsoft Quick Reference Guide

W2k8R2 Quick Ref Guide

Leave a Reply

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload CAPTCHA.