Archive for the ‘Windows Server 2022’ Category

Microsoft Windows 11 and Windows Server 2022 – SMB Caching is enabled by default

Mittwoch, Januar 25th, 2023
PS C:\> 1..1 | %{measure-command {Get-Item \\server\share}} | Measure-Object -AllStats -Property totalmilliseconds
Count : 1
Average : 30,2331
Sum : 30,2331
Maximum : 30,2331
Minimum : 30,2331
StandardDeviation : 0
Property : TotalMilliseconds
PS C:\> 1..100 | %{measure-command {Get-Item \\server\share}} | Measure-Object -AllStats -Property totalmilliseconds
Count : 100
Average : 1,515896
Sum : 151,5896
Maximum : 38,6184
Minimum : 0,6864
StandardDeviation : 4,35317630467453
Property : TotalMilliseconds
PS C:\> Get-SmbClientConfiguration | fl *cache*
DirectoryCacheEntriesMax : 16
DirectoryCacheEntrySizeMax : 65536
DirectoryCacheLifetime : 10
FileInfoCacheEntriesMax : 64
FileInfoCacheLifetime : 10
FileNotFoundCacheEntriesMax : 128
FileNotFoundCacheLifetime : 5

Microsoft Windows 2022 Server – how to setup a Distributed File System (DFS) with a second DFS Namespace Server on your home lab environment to replicate data for high availability and faster access

Montag, Januar 9th, 2023

Microsoft Windows Server 2022 – how to configure a Network Address Translation (NAT) Router to route traffic between local LAN and the internet

Samstag, Januar 7th, 2023

Microsoft Windows Server 2022 must have two Network Adapters one configured for the internal local network (LAN) and another one configured to access the internet (Internet)

 

Microsoft Windows Server 2022 – how to entire backup and restore your server or pc with Synology NAS in your test lab network

Sonntag, November 20th, 2022

Microsoft Windows Server 2022 – how to block social media in your test lab network

Freitag, November 11th, 2022

Microsoft Windows Server 2022 – how to build a reliable file server for a test lab environment

Montag, November 7th, 2022

Proxmox Virtual Environment (VE) 7.2-11 – how to install Microsoft Windows Server 2022 (EN)

Sonntag, Oktober 30th, 2022

Proxmox Virtual Environment (VE) 7.2-11 – Microsoft Windows Server 2022 (EN) guest best practices

Proxmox Virtual Environment (VE) 7.x currently have problems with the VirtIO drivers when using the DE version of Windows Server 2022

Microsoft Windows Server 2022 – how to build an internet accessible file server for or a test lab environment

Freitag, Oktober 28th, 2022

Microsoft Windows Server 2022 – how to build a file server for a test lab environment

Mittwoch, Oktober 26th, 2022

Microsoft Windows Server 2022 – die Standardeinstellung der Energieoption ist nach einer Installation „Ausbalanciert“ sollte auf „Höchstleistung“ umgestellt werden

Donnerstag, Oktober 13th, 2022

Microsoft Windows Server 2022 – einfache Installation Veeam Backup & Replication 11 Community Edition (CE) mit einem Fujitsu Futro S740

Dienstag, Oktober 11th, 2022






Microsoft Windows Server – automated virtual machine templates in vSphere with Hashicorp Packer

Donnerstag, September 22nd, 2022

Microsoft Windows Server 2022 – a complete tutorial to install Docker

Mittwoch, September 21st, 2022

Installing the roles and features needed with Docker containers in Windows Server 2022 – installing the Hyper-V role and the containers feature

Install DockerMsftProvider and install Docker

Windows PowerShell
Copyright (C) Microsoft Corporation. Alle Rechte vorbehalten.
Installieren Sie die neueste PowerShell für neue Funktionen und Verbesserungen! https://aka.ms/PSWindows
PS C:\Users\Administrator>
PS C:\Users\Administrator> Install-Module -Name DockerMsftProvider -Repository PSGallery -Force
Der NuGet-Anbieter ist erforderlich, um den Vorgang fortzusetzen.
PowerShellGet erfordert die NuGet-Anbieterversion 2.8.5.201 oder höher für die Interaktion mit NuGet-basierten Repositorys. Der NuGet-Anbieter muss in „C:\Program
Files\PackageManagement\ProviderAssemblies“ oder „C:\Users\Administrator\AppData\Local\PackageManagement\ProviderAssemblies“ verfügbar sein. Sie können den NuGet-Anbieter auch durch Ausführen von ‚Install-PackageProvider -Name NuGet -MinimumVersion 2.8.5.201 -Force‘ installieren. Möchten Sie den NuGet-Anbieter jetzt durch PowerShellGet installieren und
importieren lassen?
[J] Ja [N] Nein [H] Anhalten [?] Hilfe (Standard ist „J“):
PS C:\Users\Administrator>
PS C:\Users\Administrator> Install-Package -Name docker -ProviderName DockerMsftProvider
Das Paket oder die Pakete stammen aus einer Paketquelle, die nicht als vertrauenswürdig gekennzeichnet ist.
Sind Sie sicher, dass Sie die Software von „DockerDefault“ installieren möchten?
[J] Ja [A] Ja, alle [N] Nein [K] Nein, keine [H] Anhalten [?] Hilfe (Standard ist „N“): A
Name Version Source Summary
—- ——- —— ——-
Docker 20.10.9 DockerDefault Contains Docker EE for use with Windows Server.
PS C:\Users\Administrator>
Windows PowerShell
Copyright (C) Microsoft Corporation. Alle Rechte vorbehalten.
Installieren Sie die neueste PowerShell für neue Funktionen und Verbesserungen! https://aka.ms/PSWindows
PS C:\Users\Administrator>
PS C:\Users\Administrator> docker pull mcr.microsoft.com/windows/servercore:ltsc2022
ltsc2022: Pulling from windows/servercore
97f65a0ec59e: Pull complete
4486102fd382: Pull complete
Digest: sha256:2846453bcfaee661d563e29d6513191dccf7280bb826b2da9d6e7226fba2db94
Status: Downloaded newer image for mcr.microsoft.com/windows/servercore:ltsc2022
mcr.microsoft.com/windows/servercore:ltsc2022
PS C:\Users\Administrator>
PS C:\Users\Administrator> docker image ls
REPOSITORY TAG IMAGE ID CREATED SIZE
mcr.microsoft.com/windows/servercore ltsc2022 2caccf6918d4 12 days ago 5.14GB
PS C:\Users\Administrator>
PS C:\Users\Administrator> docker run -it mcr.microsoft.com/windows/servercore:ltsc2022
PS C:\Users\Administrator> docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
2d092ffb9b3f mcr.microsoft.com/windows/servercore:ltsc2022 „c:\\windows\\system32…“ 17 seconds ago Up 9 seconds eloquent_agnesi

PS C:\Users\Administrator>

Microsoft Windows [Version 10.0.20348.1006]
(c) Microsoft Corporation. All rights reserved.
C:\>hostname
26a6acdb69cd
C:\>ipconfig
Windows IP Configuration
Ethernet adapter vEthernet (Ethernet):
Connection-specific DNS Suffix . : fritz.box
Link-local IPv6 Address . . . . . : fe80::156f:d038:5d2f:9d55%36
IPv4 Address. . . . . . . . . . . : 172.28.158.50
Subnet Mask . . . . . . . . . . . : 255.255.240.0
Default Gateway . . . . . . . . . : 172.28.144.1
C:\>
C:\>exit
Windows PowerShell
Copyright (C) Microsoft Corporation. Alle Rechte vorbehalten.
Installieren Sie die neueste PowerShell für neue Funktionen und Verbesserungen! https://aka.ms/PSWindows
PS C:\Users\Administrator>
PS C:\Users\Administrator> docker info
Client:
Context: default
Debug Mode: false
Plugins:
app: Docker App (Docker Inc., v0.9.1-beta3)
cluster: Manage Mirantis Container Cloud clusters (Mirantis Inc., v1.9.0)
registry: Manage Docker registries (Docker Inc., 0.1.0)
Server:
Containers: 2
Running: 0
Paused: 0
Stopped: 2
Images: 1
Server Version: 20.10.9
Storage Driver: windowsfilter
Windows:
Logging Driver: json-file
Plugins:
Volume: local
Network: ics internal l2bridge l2tunnel nat null overlay private transparent
Log: awslogs etwlogs fluentd gcplogs gelf json-file local logentries splunk syslog
Swarm: inactive
Default Isolation: process
Kernel Version: 10.0 20348 (20348.1.amd64fre.fe_release.210507-1500)
Operating System: Windows Server 2022 Datacenter Version 2009 (OS Build 20348.1070)
OSType: windows
Architecture: x86_64
CPUs: 4
Total Memory: 3.775GiB
Name: RA-W2k22-DC-01
ID: TFF7:SWUA:5A3P:QCGD:WJGJ:XPOX:QLFB:QPWD:QOFS:IEEG:C65V:ZRUV
Docker Root Dir: C:\ProgramData\docker
Debug Mode: false
Registry: https://index.docker.io/v1/
Labels:
Experimental: false
Insecure Registries:
127.0.0.0/8
Live Restore Enabled: false
PS C:\Users\Administrator>

Intel CPU Turbo Boost Technologie – (de)aktivieren

Dienstag, September 20th, 2022

Läuft zum Beispiel ein Intel-Core-i5-7400T-Prozessor mit maximal 2,3 GHz statt der normalen Basisfrequenz von 2,4 GHz so wird durch die Limitierung der Prozessorleistung auf 99 % gewährleistet dass die Intel CPU Turbo Boost Technologie nicht zum Einsatz kommt führen sie dazu die folgenden Schritte durch … a) öffnen sie zunächst die Energieoptionen … b) klicken sie im aktuellen Energiesparplan auf Energiesparplaneinstellungen … c) wählen sie hier Erweiterte Energieeinstellungen … d) setzen sie dann im Bereich Prozessorenergieverwaltung die Einstellung für den Leistungszustand des Prozessors auf 99 % … e) klicken sie auf OK

Microsoft Windows Server 2022 – eine Installation auf einem Fujitsu Futro S740

Dienstag, September 20th, 2022