Slow installation of Windows XP

Discussions about using Windows guests in VirtualBox.
Post Reply
vaini
Posts: 1
Joined: 1. Oct 2024, 22:37

Slow installation of Windows XP

Post by vaini »

I have a machine that I can say is good, an Alienware with an Intel Core i7-11800H processor, 32GB RAM, 2TB SSD NVMe, 8GB RTX3070 GPU.

I have several virtual machines in Virtualbox. I can run up to 12 machines at the same time without any problems. I have also never had any problems installing the systems.

Interestingly, since yesterday, I have been having difficulty installing Windows XP in a VM. I created the machine with 4 processor cores, 4GB RAM and 50GB HD.

I started the installation and then the problem came. It took more than 5 hours and the installation did not finish. I ended up turning off the VM. Just to make sure it was nothing to do with my real machine, I created a VM in VMware with the same configuration, and installed the same Windows XP in less than 5 minutes.

Is anyone else experiencing or has experienced this problem?

Notes:
My VirtualBox version is 7.1.2 r164945.
My Host OS system is Windows 11 23H2 22631.4249
Guest OS system is Windows XP.
Hyper-V is disabled in the Windows Features.
I have Guest Additions installed.
melodia
Posts: 2
Joined: 4. Jul 2012, 13:04

Re: Slow installation of Windows XP

Post by melodia »

Same problem. I tried oldest version of VB as 6.0.24, maybe the last working on Windows 11, same problem again.
Is it possible to start a Windows XP installation inside a Windows 8 virtual machine on VB?
Stickybit
Posts: 57
Joined: 23. Mar 2011, 09:44
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows

Re: Slow installation of Windows XP

Post by Stickybit »

Try disabling Virtualization Based security the hard way - by running the following batch script on the host:

Code: Select all

@echo off
bcdedit /set vsmlaunchtype off
bcdedit /set hypervisorlaunchtype off
reg add HKLM\SYSTEM\CurrentControlSet\Control\DeviceGuard /v EnableVirtualizationBasedSecurity /t REG_DWORD /d 0 /f
reg add HKLM\SYSTEM\CurrentControlSet\Control\DeviceGuard /v RequirePlatformSecurityFeatures /t REG_DWORD /d 0 /f
reg add HKLM\SYSTEM\CurrentControlSet\Control\DeviceGuard\Scenarios\CredentialGuard /v Enabled /t REG_DWORD /d 0 /f
reg add HKLM\SYSTEM\CurrentControlSet\Control\DeviceGuard\Scenarios\HypervisorEnforcedCodeIntegrity /v Enabled /t REG_DWORD /d 0 /f
reg add HKLM\SYSTEM\CurrentControlSet\Control\DeviceGuard\Scenarios\KernelShadowStacks /v Enabled /t REG_DWORD /d 0 /f
reg add HKLM\SYSTEM\CurrentControlSet\Control\DeviceGuard\Scenarios\SystemGuard /v Enabled /t REG_DWORD /d 0 /f
start ms-settings:windowsdefender
set Message=Ensure that the following is disabled and then reboot the computer: Device security / Core isolation / Memory Integrity
echo.
echo %Message%
msg %username% %Message%
.. and also make sure that all interfering virtulization features has been disabled (PowerShell):

Code: Select all

$Features = @('Microsoft-Hyper-V-All', `
                       'Microsoft-Hyper-V', `
                       'Microsoft-Hyper-V-Tools-All', `
                       'Microsoft-Hyper-V-Management-PowerShell', `
                       'Microsoft-Hyper-V-Hypervisor', `
                       'Microsoft-Hyper-V-Services', `
                       'Microsoft-Hyper-V-Management-Clients', `
                       'VirtualMachinePlatform', `
                       'HypervisorPlatform')

foreach ($Feature in $Features) {

   $WindowsFeature = Get-WindowsOptionalFeature -online | Where-Object { $_.FeatureName -eq $Feature } | Select-Object -Property State, FeatureName
			   
   if ($WindowsFeature.state -eq 'Enabled') {
      Disable-WindowsOptionalFeature -Online -FeatureName $WindowsFeature.FeatureName -NoRestart
   }

}
Post Reply