Compact a Dynamic VHDX with DiskPart

VHDX files can take up a lot of unnecessary disk-space, especially if the disk is used for a lot of writes. A dynamic vdisk expands, but does not automatically compacts again.
Security · Infrastructure · Automation · AI
Security · Infrastructure · Automation · AI
Windows, Linux, identity, virtualisation, networks and platforms.

VHDX files can take up a lot of unnecessary disk-space, especially if the disk is used for a lot of writes. A dynamic vdisk expands, but does not automatically compacts again.
The Download Maps Manager (MapsBroker) service is not started and is causing alerts in the Server Dashboard. This service just starts on demand and is normally not running. There are various ways to disable the service, as on a server…

With a new install as a virtual server, Ubuntu repeatedly displays the error: print_req_error: I/O error, dev fd0, sector 0 The reason is the virtual server does not have a floppy drive. To resolve: # sudo rmmod floppy # echo…

SNMP is still available, but now it can be found under: “Start” –> “Settings” –> “Apps” –> “Apps & Features” –> “Manage optional Features” –> “Add a Feature”

A PowerShell script to report on all BlueScreen events and stop codes from the Windows Event Log on a specific server can be a useful tool for system administrators to troubleshoot and prevent future system crashes. This script will query…

For some reason Microsoft seems to think that “Content” view for search results is the best view. This goes for “generic” folders in general, but me for content view is a view that I’d rather see go completely from Windows.…

Introduction When planning for a new Active Directory (AD) or upgrade AD, or merging AD one of the topics that will get on the table is planning DNS. DNS is the Domain Naming system, used to translate names into network…

With the update to their client version 5.3.1 for Windows, DynDNS sets the first to entries in your local DNS to 216.146.35.35 and 216.146.36.36. Unfortunately this causes the machine where the DynDNS client is installed on, to fail to contact…

Background WMI is a Windows OS component that is present on every Windows server and PC WMI corruption can cause failures that include failure to apply Group Policy Some organizations rely upon Group Policy to secure servers, secure group membership…

When installing Windows 2000 (and also Windows NT4 or Windows XP/2003 or even MS Office versions), it’s usually easier and less error-prone to install the OS with the latest service-pack or SP already slipstreamed into the installation media. Quite often…