core jobaid r2 3 2

Upload: sandyns

Post on 05-Apr-2018

222 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/2/2019 Core Jobaid R2 3 2

    1/1

    Task Command

    Add a driver for a newhardware device

    1.Copy the driver to a folder at %homedrive%\.

    2.Type: pnputil -i -a %homedrive%\\.inf

    Quick Reference for Server Core Installations (R2 edition)Print and fold this guide to have convenient access to common commands andprocedures for configuring and maintaining Server Core installations of WindowsServer 2008 R2.

    Remote administration of a firewall To enable remote administration, type: netsh advfirewall firewall set

    rule group=Windows Firewall Remote Management new

    enable=yes

    To allow all Microsoft Management Console (MMC) snap-ins to connect, type:

    netsh advfirewall firewall set rule group=remote administration new

    enable=yes

    To allow specific MMC snap-ins to connect, type: netsh advfirewall firewall set

    rule group= new enable=yes

    To get a list of rule groups, type: netsh advfirewall firewall show rule

    name=all

    For complete Server Core installation commands and procedures, seehttp://go.microsoft.com/fwlink/?LinkID=100959.

    netdom renamecomputer %computername%

    Task Command

    Change to a static IPaddress

    1.Type ipconfig /all and record relevant information orredirect to a text file (ipconfig /all >ipconfig.txt).

    2.Type netsh interface ipv4 show interfaces and verify thatthere is an interface list.

    3.Type: netsh interface ipv4 set address name source=static address= gateway=

    4.Verify the change by typing ipconfig /all. Check that DHCPenabled is set to No.

    Manage roles andfeatures

    View roles/features: Dism /online /get-features

    /format:table

    Enable role/feature: Dism /online /enable-feature

    /featurename:

    Disable role/feature: Dism /online /disable-feature

    /featurename:

    Task Command

    Activate a serverremotely

    1. Slmgr.vbs -ipk

    2. Slmgr.vbs -did , note GUID

    3. Slmgr.vbs -dli

    4. Verify that License status is set to Licensed (activated).

    Configure yourserver to use aproxy server

    Netsh Winhttp set proxy :

    Note: You cannot access the Internet through proxy servers that require apassword to allow connections.

    Install an updateWusa .msu /quiet

    Remove anupdate

    1. Expand /f:* .msu c:\test

    2. In C:\test, open .xml in a text editor.

    3. In .xml, replace Install with Remove and save the file.

    4. Pkgmgr /n:.xml

    Configureautomaticupdates

    To verify updates: cscript scregedit.wsf /AU /v

    To enable updates: cscript scregedit.wsf /AU 4 To disable updates: cscript scregedit.wsf /AU 1

    3.2

    Task Command

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

    /domain:

    /userd:\ /passwordd:*

    2. Restart the computer.

    Change a computer name in adomain

    Type:

    /NewName:

    /userd: /passwordd:*

    Change a computer name in aworkgroup

    Type: netdom renamecomputer

    /NewName:

    Activate a server locally Slmgr.vbs ipk< productkey>, then Slmgr.vbs-ato