Core Jobaid R2 3 1

Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

Task Command

Quick Reference for Server Core Installations (R2 edition)


Print and fold this guide to have convenient access to common commands and Activate a server 1. Slmgr.vbs -ipk <servername> <username> <password>
procedures for configuring and maintaining Server Core installations of Windows remotely
2. Slmgr.vbs -did <servername> <username> <password>, note GUID
Server® 2008 R2.
3. Slmgr.vbs -dli <servername> <username> <password> <GUID>
Task Command 4. Verify that License status is set to Licensed (activated).

Join a computer to a domain 1. Type: netdom join %computername% Configure your


Netsh Winhttp set proxy <servername>:<port number>
server to use a
/domain:<domain> proxy server Note: You cannot access the Internet through proxy servers that require a
/userd:<domain>\<username> /password:* password to allow connections.

2. Restart the computer.


Install an update
Wusa <update>.msu /quiet
Change a computer name in a Type: netdom renamecomputer %computername%
domain Remove an
/NewName:<new computer name>
update 1. Expand /f:* <update>.msu c:\test
/userd:<domain\username> /password:*
2. In C:\test, open <update>.xml in a text editor.
Change a computer name in a Type: netdom renamecomputer 3. In <update>.xml, replace Install with Remove and save the file.
workgroup
<currentcomputername> 4. Pkgmgr /n:<update>.xml
/NewName:<newcomputername>
Configure
automatic To verify updates: cscript scregedit.wsf /AU /v
Activate a server locally Slmgr.vbs –ipk<productkey>, then Slmgr.vbs -ato updates To enable updates: cscript scregedit.wsf /AU 4
To disable updates: cscript scregedit.wsf /AU 1

Task Command Task Command

Add a driver for a new 1. Copy the driver to a folder at %homedrive%\<driver


Change to a static IP 1. Type ipconfig /all and record relevant information or hardware device
address folder>.
redirect to a text file (ipconfig /all >ipconfig.txt).
2. Type: pnputil -i -a %homedrive%\<driver
2. Type netsh interface ipv4 show interfaces and verify that
folder>\<driver>.inf
there is an interface list.
3. Type: netsh interface ipv4 set address name <ID from
Remote administration of a firewall
interface list> source=static address=<preferred IP
· To enable remote administration, type: netsh advfirewall firewall set
address> gateway=<gateway address>
rule group=”Windows Firewall Remote Management” new
4. Verify the change by typing ipconfig /all. Check that DHCP enable=yes
enabled is set to No. · To allow all Microsoft Management Console (MMC) snap-ins to connect, type:
netsh advfirewall firewall set rule group=“remote administration” new
Manage roles and View roles/features: Dism /online /get-features enable=yes
features
/format:table · To allow specific MMC snap-ins to connect, type: netsh advfirewall firewall set
Enable role/feature: Dism /online /enable-feature rule group=“<rulegroup>” new enable=yes
/featurename:<name from get-features> · To get a list of rule groups, type: netsh advfirewall firewall show rule
Disable role/feature: Dism /online /disable-feature name=all
/featurename:<name from get-features> For complete Server Core installation commands and procedures, see
http://go.microsoft.com/fwlink/?LinkID=100959.

3.1

You might also like