[Project: Install Windows Server Core]
Table of contents
Project: Install Windows Server Core
Overview
...
Download ISO:
https://www.google.com/search?q=Microsoft+Hyper-V+Server+2019+downloaded+free
Format USB Memory with extFat
copy /b 17763.737.190906-2324.rs5_release_svc_refresh_SERVERHYPERCORE_OEM_x64FRE_de-de_1.iso <drive>:
Boot from USB-Drive
...
Prepare:
Firewall and Shares access
Firewall
# Turn firewall off ...
NetSh Advfirewall set allprofiles state off
# ... and on using command prompt:
NetSh Advfirewall set allprofiles state on
# Show status
Netsh Advfirewall show allprofiles
Enable Guest Access
https://learn.microsoft.com/en-us/troubleshoot/windows-server/networking/guest-access-in-smb2-is-disabled-by-default
reg add HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters /v AllowInsecureGuestAuth /t REG_DWORD /d 1 /f
Activate File Explorer and IE
Install FOD for IE
DISM /online /Add-Capability /CapabilityName:Browser.InternetExplorer~~~~0.0.11.0
Tool zur Imageverwaltung für die BereitstellungVersion: 10.0.17763.1
Abbildversion: 10.0.17763.737
[==========================100.0%==========================]Der Vorgang wurde erfolgreich beendet.Zum Abschließen dieses Vorgangs muss Windows neu gestartet werden.Möchten Sie den Computer jetzt neu starten? (Y/N)
Install FOD for App Compatibility:
DISM /online /Add-Capability /CapabilityName:ServerCore.AppCompatibility~~~~0.0.1.0
Available feautures:
https://learn.microsoft.com/en-us/windows-server/get-started/server-core-app-compatibility-feature-on-demand
Tool zur Imageverwaltung für die BereitstellungVersion: 10.0.17763.1
Abbildversion: 10.0.17763.737
[==========================100.0%==========================]Der Vorgang wurde erfolgreich beendet.Zum Abschließen dieses Vorgangs muss Windows neu gestartet werden.Möchten Sie den Computer jetzt neu starten? (Y/N)
Windows Features and other Features on Demand (FOD)
Windows Features:
Get-WindowsFeature
Enable-WindowsOptionalFeature -Online -FeatureName <Name>
Display Name Name Install State------------ ---- -------------[X] File and Storage Services FileAndStorage-Services Installed [ ] File and iSCSI Services File-Services Available [ ] File Server FS-FileServer Available [X] Storage Services Storage-Services Installed[X] Hyper-V Hyper-V Installed[ ] Remotedesktopdienste Remote-Desktop-Services Available[ ] .NET Framework 3.5-Funktionen NET-Framework-Features Available [ ] .NET Framework 3.5 (enthält .NET 2.0 und 3.0) NET-Framework-Core Removed[X] .NET Framework 4.7-Funktionen NET-Framework-45-Fea... Installed [X] .NET Framework 4.7 NET-Framework-45-Core Installed [ ] ASP.NET 4.7 NET-Framework-45-ASPNET Available [X] WCF-Dienste NET-WCF-Services45 Installed [X] TCP-Portfreigabe NET-WCF-TCP-PortShar... Installed[ ] BitLocker-Laufwerkverschlüsselung BitLocker Available[ ] Data Center Bridging Data-Center-Bridging Available[ ] E/A-QoS DiskIo-QoS Available[ ] Erweitertes Speichern EnhancedStorage Available[ ] Failoverclustering Failover-Clustering Available[ ] Intelligenter Hintergrundübertragungsdienst (Bac... BITS Available [ ] Compact Server BITS-Compact-Server Available[ ] Media Foundation Server-Media-Foundation Available[ ] Multipfad-E/A Multipath-IO Available[ ] Remoteserver-Verwaltungstools RSAT Available [ ] Featureverwaltungstools RSAT-Feature-Tools Available [ ] DataCenterBridging-LLDP-Tools RSAT-DataCenterBridg... Available [ ] Failover Clustering Tools RSAT-Clustering Available [ ] Failoverclustermodul für Windows Pow... RSAT-Clustering-Powe... Available [ ] Failovercluster-Befehlsschnittstelle RSAT-Clustering-CmdI... Available [ ] Server für Failoverclusterautomatisi... RSAT-Clustering-Auto... Available [ ] Verwaltungshilfsprogramme für die BitLoc... RSAT-Feature-Tools-B... Available [ ] Rollenverwaltungstools RSAT-Role-Tools Available [ ] Hyper-V Management Tools RSAT-Hyper-V-Tools Available [ ] Hyper-V-Modul für Windows PowerShell Hyper-V-PowerShell Available[ ] SMB 1.0/CIFS File Sharing Support FS-SMB1 Available [ ] SMB 1.0/CIFS Client FS-SMB1-CLIENT Available [ ] SMB 1.0/CIFS Server FS-SMB1-SERVER Available[ ] SMB-Bandbreitengrenzwert FS-SMBBW Available[ ] SNMP-Dienst SNMP-Service Available [ ] WMI SNMP-Anbieter SNMP-WMI-Provider Available[ ] Standardbasierte Windows-Speicherverwaltung WindowsStorageManage... Available[ ] Telnet Client Telnet-Client Available[X] Windows Defender Windows-Defender Installed[X] Windows PowerShell PowerShellRoot Installed [X] Windows PowerShell 5.1 PowerShell Installed [ ] Windows PowerShell 2.0 Engine PowerShell-V2 Available[ ] Windows Server-Sicherung Windows-Server-Backup Available[ ] Windows-Subsystem für Linux Microsoft-Windows-Su... Available[X] WoW64-Unterstützung WoW64-Support Installed
List Features On Demand (FOD):
DISM /Online /Get-Capabilities
Tool zur Imageverwaltung für die BereitstellungVersion: 10.0.17763.1
Abbildversion: 10.0.17763.737
Funktionsliste:
Funktionsidentität : Accessibility.Braille~~~~0.0.1.0Status : Nicht vorhanden
Funktionsidentität : Browser.InternetExplorer~~~~0.0.11.0Status : Nicht vorhanden
Funktionsidentität : Hello.Face.17658~~~~0.0.1.0Status : Nicht vorhanden
Funktionsidentität : Hello.Face.Migration.17658~~~~0.0.1.0Status : Nicht vorhanden
[...]
Funktionsidentität : MathRecognizer~~~~0.0.1.0Status : Installiert
Funktionsidentität : Media.WindowsMediaPlayer~~~~0.0.12.0Status : Nicht vorhanden
Funktionsidentität : Microsoft.Onecore.StorageManagement~~~~0.0.1.0Status : Nicht vorhanden
Funktionsidentität : Microsoft.Windows.StorageManagement~~~~0.0.1.0Status : Nicht vorhanden
Funktionsidentität : Msix.PackagingTool.Driver~~~~0.0.1.0Status : Nicht vorhanden
Funktionsidentität : NetFX3~~~~Status : Nicht vorhanden
Funktionsidentität : OpenSSH.Client~~~~0.0.1.0Status : Installiert
Funktionsidentität : OpenSSH.Server~~~~0.0.1.0Status : Nicht vorhanden
Funktionsidentität : RIP.Listener~~~~0.0.1.0Status : Nicht vorhanden
Funktionsidentität : ServerCore.AppCompatibility~~~~0.0.1.0Status : Nicht vorhanden
Funktionsidentität : Tools.DTrace.Platform~~~~0.0.1.0Status : Nicht vorhanden
Funktionsidentität : Tools.Graphics.DirectX~~~~0.0.1.0Status : Nicht vorhanden
Funktionsidentität : WMI-SNMP-Provider.Client~~~~0.0.1.0Status : Nicht vorhanden
Funktionsidentität : XPS.Viewer~~~~0.0.1.0Status : Nicht vorhanden
Der Vorgang wurde erfolgreich beendet.
Install FOD for DxDiag:
DISM /online /Add-Capability /CapabilityName:Tools.Graphics.DirectX~~~~0.0.1.0
command: DxDiag
Tool zur Imageverwaltung für die BereitstellungVersion: 10.0.17763.1
Abbildversion: 10.0.17763.737
[==========================100.0%==========================]Der Vorgang wurde erfolgreich beendet.
Install FOF for SNMP Client:
DISM /online /Add-Capability /CapabilityName:WMI-SNMP-Provider.Client~~~~0.0.1.0
... (Not working) yet ...
Free SNMP Browser
https://www.frameflow.com/free-snmp-browser/
Tool zur Imageverwaltung für die BereitstellungVersion: 10.0.17763.1
Abbildversion: 10.0.17763.737
[==========================100.0%==========================]
Fehler: 1168
Element nicht gefunden.
Die DISM-Protokolldatei befindet sich unter "C:\Windows\Logs\DISM\dism.log".
Add IIS Management Console:
Install-WindowsFeature -Name Web-Mgmt-Consolemore usefull setups:
DISM /online /Add-Capability /CapabilityName:OpenSSH.Client~~~~0.0.1.0
DISM /online /Add-Capability /CapabilityName:OpenSSH.Server~~~~0.0.1.0
DISM /online /Add-Capability /CapabilityName:NetFX3~~~~
DISM /online /Add-Capability /CapabilityName:RIP.Listener~~~~0.0.1.0
...
More info here:
https://learn.microsoft.com/en-us/windows-hardware/manufacture/desktop/features-on-demand-server?view=windows-11
Install WSL on Windows Server Core
enable WSL feature
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
enable VM features
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
or
Enable-WindowsOptionalFeature -Online -FeatureName VirtualMachinePlatform
before we Move from WSL version 1 to WSL version 2, we need a WSL Kernel Update.
download here https://aka.ms/wsl2kernelAfter download
run WSL_Update_X64 and Click on Next and FinishWSL –Set-Default-Version 2
Now we have Windows Subsystem for Linux version 2 Activemanual download needed because Server Core don't have Microsoft Store:
download and install Ubuntu 18.04 Linux Distro for WSL2
C:\Distros\Ubuntu1804>ubuntu1804.exeInstalling, this may take a few minutes...Please create a default UNIX user account. The username does not need to match your Windows username.For more information visit: https://aka.ms/wslusersEnter new UNIX username: benEnter new UNIX password:Retype new UNIX password:passwd: password updated successfullyInstallation successful!To run a command as administrator (user "root"), use "sudo <command>".See "man sudo_root" for details.
ben@VS-Core2019:~$
Nice and finished!
Linux-GUI-Apps
sudo apt update
sudo apt upgrade
sudo apt install x11-apps nautilus mc
Manage
Native Tools:
sconfig
color 17
intl.cpl — sets up region information
timedate.cpl — sets up date & time
Regedit — registry editor
Notepad — hmm.. what would that be? <wink>
Msinfo32.exe — displays comprehensive system information
Taskmgr.exe — can also be executed via ctrl-alt-del
Msiexec.exe — Windows Installer
Cmd.exe
powershell.exe
External Tools:
SysInternals Utilities
Adexplorer.exe — active directory explorer
Procexp.exe — process explorer
Procmon.exe — a well established and capable process monitor
Tcpview.exe — shows detailed listings of all TCP and UDP endpoints
Vmmap.exe — virtual & physical memory analysis tool, by process
Rammap 1.50 — physical memory usage analysis utility
Protqueryui.exe — port scanning
Links
https://blog.andreas-schreiner.de/2017/09/28/server-core-basis-administrationsaufgaben/
https://dirteam.com/sander/2008/04/03/remotely-managing-your-server-core-using-compmgmt-msc/
Microsoft Hyper-V Server 2019 can be downloaded as an ISO file here:
Windows Server 2019 Features On Demand can be downloaded for free as an ISO file here:
Features On Demand Article 08/17/2022 Overview
More links to downloads here:
Available Features on Demand
https://learn.microsoft.com/en-us/windows-hardware/manufacture/desktop/features-on-demand-non-language-fod?view=windows-11Downloading Windows Server 2019 & Features On Demand, Free – Direct Download Links (Microsoft Evaluation Center 180-Day Period, Extendable)
https://realnetworklabs.wordpress.com/2018/10/05/downloading-windows-server-2019-features-on-demand-free-direct-download-links-microsoft-evaluation-center-180-day-period-extendable/Features On Demand
https://learn.microsoft.com/en-us/windows-hardware/manufacture/desktop/features-on-demand-v2--capabilities?view=windows-11Windows Server 2019 — Server Core vs. Desktop Experience (GUI) Explained & Compared. Re: Datacenter, Standard, Essentials & Hyper-V Server
https://medium.com/@RealNetwork/windows-server-2019-or-2016-server-core-vs-desktop-experience-gui-comparison-standard-datacenter-hyper-v-bb67167fd461Adding GUI-Based Capabilities to Windows Server Core. Transformation to a Full-Scale GUI-Based Workstation! For Windows Server Standard, Datacenter & Hyper-V. MiniShell, SysInternals, 5Nine, WinRar & More
https://medium.com/@RealNetwork/windows-server-core-2019-gui-management-sysinternals-utilities-datacenter-standard-hyper-v-dashboard-265801412c89
More links
Definitive list of Windows Server installations without GUIs
https://servercore.net/2019/09/definitive-list-of-windows-server-installations-without-guis/
...
...
...
...
...
...
...
...
...
...
https://www.reddit.com/r/sysadmin/comments/b8nell/server_core_2016_see_device_manager/
gwmi Win32_SystemDriver | select name,@{n="version";e={(gi $_.pathname).VersionInfo.FileVersion}}
https://github.com/1RedOne/Get-UnknownDevices
Get-WmiObject Win32_PNPEntity | Where-Object{$_.ConfigManagerErrorCode -ne 0} | Select Name, DeviceID
https://www.foxdeploy.com/blog/using-powershell-to-find-drivers-for-device-manager.html
http://woshub.com/configure-windows-server-core-basic-commands/
Add-WindowsCapability -Online -Name ServerCore.AppCompatibility~~~~0.0.1.0
https://thesysadminchannel.com/solved-add-windowscapability-failed-error-code-0x800f0954-rsat-fix/
[Solved] Add-WindowsCapability failed. Error code = 0x800f0954 – RSAT Fix
http://woshub.com/install-configure-free-hyper-v-server/
How to Install and Configure Free Hyper-V Server 2019/2016?
https://www.cryer.co.uk/brian/windows/hyper-v-server/how_to_update_device_drivers.htm