Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
windows [2020/01/29 10:58] – [Windows TCP/IP Stack resetten] mschubiwindows [2023/08/31 20:32] (current) – [Windows Evaluation VHD zu VMDK und Volllizenzierung] mschubi
Line 1: Line 1:
 ====== Windows ====== ====== Windows ======
 +====== DNS Rule für separate Domain ======
 +
 +<code powershell>
 +Add-DnsClientNrptRule -Namespace "schubi.local" -NameServers "192.168.10.1"
 +</code>
 +
 +====== Windows Evaluation VHD zu VMDK und Volllizenzierung ======
 +Für den schnellen Test kann man bei Microsoft Evaluierungsversionen herunterladen.
 +Wie man die VHD zu VMDK wandeln kann und wie man diese Eval Version auf eine Vollversion bringen kann, möchte ich hier kurz am Beispiel W2k19 zusammenfassen.
 +
 +  * Download der VHD unter https://www.microsoft.com/de-de/evalcenter/evaluate-windows-server-2019
 +  * Download von qemu-img unter https://cloudbase.it/qemu-img-windows/
 +  * entpacken von qemu-img*.zip
 +  * konvertieren der VHD in VMDK mit <code>qemu-img.exe convert -p C:\temp\17763.737.amd64fre.rs5_release_svc_refresh.190906-2324_server_serverdatacentereval_en-us_1.vhd -O vmdk c:\temp\w2k19.vmdk</code>
 +  * kopieren der VMDK in die vSphere Umgebung und erstellen einer VM daraus
 +
 +Umwandeln von BIOS zu UEFI Boot (https://www.soltari.at/windows-von-bios-auf-uefi-migrieren/)
 +  * check ob MBR oder GPT (bei allen MS Images bisher MBR gewesen <code powershell>PS C:\Users\Administrator> Get-Disk | select Number,FriendlyName,OperationalStatus,PartitionStyle
 +
 +Number FriendlyName        OperationalStatus PartitionStyle
 +------ ------------        ----------------- --------------
 +     0 VMware Virtual disk Online            MBR
 +</code>
 +  * (Sichern der BitLocker Recovery-Keys)
 +  * validieren der Systempartition <code powershell>PS C:\Users\Administrator> MBR2GPT.EXE /validate /allowfullos
 +MBR2GPT: Attempting to validate disk 0
 +MBR2GPT: Retrieving layout of disk
 +MBR2GPT: Validating layout, disk sector size is: 512 bytes
 +MBR2GPT: Validation completed successfully</code>
 +  * Konvertierung der Partition <code powershell>PS C:\Users\Administrator> MBR2GPT.EXE /convert /allowfullos
 +
 +MBR2GPT will now attempt to convert the default book disk.
 +If conversion is successful the disk can only be booted in GPT mode.
 +These changes cannot be undone!
 +
 +MBR2GPT: Attempting to convert disk 0
 +MBR2GPT: Retrieving layout of disk
 +MBR2GPT: Validating layout, disk sector size is: 512 bytes
 +MBR2GPT: Trying to shrink the system partition
 +MBR2GPT: Creating the EFI system partition
 +MBR2GPT: Installing the new boot files
 +MBR2GPT: Performing the layout conversion
 +MBR2GPT: Migrating default boot entry
 +MBR2GPT: Adding recovery boot entry
 +MBR2GPT: Fixing drive letter mapping
 +MBR2GPT: Conversion completed successfully
 +MBR2GPT: Before the new system can boot properly you need to switch the firmware to boot to UEFI mode!</code>
 +  * VM beenden und BootOption auf UEFI setzen
 +  * VM neu starten <code powershell>PS C:\Users\Administrator> Get-Disk | select Number,FriendlyName,OperationalStatus,PartitionStyle
 +
 +Number FriendlyName        OperationalStatus PartitionStyle
 +------ ------------        ----------------- --------------
 +     0 VMware Virtual disk Online            GPT</code>
 +  * ggf. vor dem nächsten Neustart "SecureBoot" einschalten
 +
 ====== Ping eines Bereiches ====== ====== Ping eines Bereiches ======
  
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International