Server Core

From AlphaBook
Jump to: navigation, search

Installation

  • Default installation option
  • Without GUI

C:\Windows\System32\sconfig.cmd

  1. Domain/Workgroup
  2. Computer Name
  3. Add Local Administrator
  4. Configure Remote Management (Enabled by default)
  5. Windows Update Settings (DownloadOnly by default)
  6. Download and Install Updates
  7. Remote Desktop (Disabled by default)
  8. Network Settings (IP/Mask/Gateway/DNS)
  9. Date and Time
  10. Telemetry Settings (Enhanced by default)
  11. Windows Activation
  12. Log Off User
  13. Restart Server
  14. Shutdown Server
  15. Exit to Command Line

Windows Firewall Commands (PowerShell)

  • Enable / Disable Windows Firewall
    • Set-NetFirewallProfile -Profile Domain,Public,Private -Enabled True
    • Set-NetFirewallProfile -Profile Domain,Public,Private -Enabled False
  • Enable Windows Remote Management
    • Set-NetFirewallRule -DisplayGroup "Windows Remote Management" -Enabled True
  • Enable Remote Desktop
    • Set-NetFirewallRule -DisplayGroup "Remote Desktop" -Enabled True
  • Enable SQL 1433
    • New-NetFirewallRule -DisplayName “SQL TCP 1433” -Direction Inbound –LocalPort 1433 -Protocol TCP -Action Allow
  • Reset Firewall Settings
    • netsh advfirewall reset