kvm-guest-drivers-windows
Helper Scripts
This directory contains various helper scripts for use with the KVM Guest Drivers for Windows.
Overview
These PowerShell scripts are designed to assist with system configuration, diagnostics, and management tasks related to KVM guest drivers on Windows systems.
Current Scripts
EnableKernelMemoryDump.ps1
This script enables the "Always Keep Memory Dump" feature in Windows by setting the appropriate registry key.
What it does
- Sets the
AlwaysKeepMemoryDump
registry value to 1 underHKLM:\System\CurrentControlSet\Control\CrashControl
. - Verifies the change and outputs the result.
EnableSetupAPILogging.ps1
This script enables detailed logging for the Windows Setup API by setting the appropriate registry key.
What it does
- Sets the LogMask registry value to 0xFFFFFFFF (4294967295 in decimal) under HKLM:\Software\Microsoft\Windows\CurrentVersion\Setup.
- Verifies the change and outputs the result.
Usage Guidelines
-
Prerequisites:
- PowerShell (Windows 10/Windows Server 2016 or later recommended)
- Administrative privileges (for scripts that modify system settings)
- Ensure scripts run with an appropriate execution policy:
Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope Process -Force
-
Running Scripts:
- Open PowerShell as an administrator.
- Navigate to the script's directory.
- Execute the desired script, e.g.:
.\ScriptName.ps1
-
Output:
- Each script will provide its own output, which may include:
- Console messages
- Log files
- Modified system settings
- Each script will provide its own output, which may include:
Disclaimer
These scripts may modify system settings. Use them at your own risk and always back up your system before making changes.