viernes, 4 de junio de 2010

Server Core

Aquí les comparto la información del evento de Server Core del 2 de Junio en el MUG.

Primero una lista de los comandos que yo utilizo habitualmente para configurar los equipos con Server Core. Recuerden que para R2 algunas cosas funcionan de una manera diferente.

Configuración inicial


Listar placas de Red
netsh interface ipv4 show interfaces

Mostrar información de IPv4
netsh interface ipv4 show address

Configurar IP estática
netsh interface ipv4 set address name=ID source=static address=ipadress mask=ipmask gateway=ipdefaultgateway

Configurar DNS Server
netsh interface ipv4 set dnsservers "Local Area Connection" static 10.0.0.1 primary

Renombrar el equipo
netdom renamecomputer %ComputerName% /NewName:NewComputerName

Unir equipo al dominio
netdom join %ComputerName% /domain:Domain
/userd:DomainUser /passwordd:*

Deshabilitar Firewall
netsh firewall set opmode disable (En Windows 2008)
netsh advfirewall set currentprofile state off (En Windows 2008 R2)

Configuración Básica


Instalar Rol (DHCP en Windows Server 2008)

start /w ocsetup DHCPServerCore
sc config dhcpserver start= auto
net start dhcpserver

Instalar Rol (DHCP en Windows Server 2008 R2)

Dism /online /enable-feature /featurename:DHCPServerCore
sc config dhcpserver start= auto
net start dhcpserver


Para configurar set de credenciales alternativas en un equipo para conectarse a un equipo que no está en el mismo dominio.
cmdkey /add: /user: /pass:


Comandos para administración

Control desk.cpl - Ver o configurar display settings.
Control intl.cpl - Ver o configurar regional and language options
Control sysdm.cpl - Ver o configurar system properties.
Control timedate.cpl - Ver o configurar date, time, y time zone.
Cscript slmgr.vbs –ato - Activar el sistema operativo.
DiskRaid.exe - Ver o configurar software RAID.
ipconfig /all - Muestra informacion de IP
PNPUtil.exe - Instala o actualiza hardware device drivers.
Sc query type=driver - Lista device drivers.
ServerWerOptin.exe - Configura Error Reporting.
SystemInfo - Lista detalles de configuration.
WEVUtil.exe - Manejo de Event View
Wmic datafile where name=“FullFilePath” get version - Muestra la versión de un archivo.
Wmic nicconfig index=9 call enabledhcp - Configura el uso de DHCP.
Wmic nicconfig index=9 call enablestatic(“IPAddress”), (“SubnetMask”) - Configura IP fija.
Wmic nicconfig index=9 call setgateways(“GatewayIPAddress”) - Configura el Default Gateway.
Wmic product get name /value “ - Lista MSI instalados ordenados por nombre.
Wmic product where name=“Name” call uninstall - Uninstall an MSI application.
Wmic qfe list - Lista updates y hotfixes instalados
Wusa.exe PatchName.msu /quiet - Aplica un update o hotfix al sistema operativo.

Aquí el link descargar el Core Configurator.

Para aprender mas...