Stupid Windows 11 Driver Signature and VirtualBox 6.1.30

There seems to be still an issue with installing the newest VirtualBox on a Windows 11 Host. Trying to install VirtualBox with all Options fails somewhere between and rolls back again. That’s a real huge Problem for me and those who wants to upgrade from Windows 10.

One Solution may be to install the VirtualBox without the USB Driver Options. You can create VMs and start them. But you will not have any USB Connections in your guest system.

Short Cut to the Solution! 😉

So I decided to check what’s really going on. After checking on how to get verbosed/detailed logging while the installation is going on I found out, that the VirtualBox-6.1.30-148432-Win.exe has the possibilities to use command line parameters.

VirtualBox-6.1.30-148432-Win.exe /?

I’ve decided to extract the EXE file to a temporary directory

VirtualBox-6.1.30-148432-Win.exe --extract -path C:\VBoxTemp

With the extracted file VirtualBox-6.1.30-r148432.msi I was able to use the detailed/verbosed logging (I know there is probably a shorter way, but at least it worked for me)

msiexec /i "C:\VBoxTemp\VirtualBox-6.1.30-r148432.msi" /L*V "c:\VBoxTemp\example.log"

These lines in the example.log seems not to be the main issue (It took my over a few hours to find out, that this was not the issue 🤣)

Action 12:41:40: VBoxFatalErrorDlg. 
Action start 12:41:40: VBoxFatalErrorDlg.
DEBUG: Error 2888:  Executing the TextStyle view failed
The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2888. The arguments are: TextStyle, , 
Action 12:41:40: VBoxFatalErrorDlg. Dialog created
DEBUG: Error 2888:  Executing the TextStyle view failed
The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2888. The arguments are: TextStyle, , 
Action ended 12:41:43: VBoxFatalErrorDlg. Return value 2.
Action ended 12:41:43: INSTALL. Return value 3.
Property(C): UpgradeCode = {C4BAD770-BFE8-4D2C-A592-693028A7215B}

Regarding this website: https://www.thewindowsclub.com/virtualbox-usb-not-detected-in-windows-10 I tried the 4th Point.

4] Manually install VirtualBox USB driver

To manually install the VirtualBox USB driver on your Windows 10 device, do the following:

<install-drive>\Oracle\VirtualBox\drivers\USB\device
  • At the location, right-click the VBoxUSB.inf file and select Install.
After the installation completes successfully, you can check system32/drivers folder for VBoxUSB.sys (USB driver file) – the issue should be resolved now.

After trying to install the USB driver VBoxUSB.inf my windows 11 told me, that these files where not digital signed drivers. Wow, is this the problem, why I couldn’t install VirtualBox completely? Windows 11 has a really strict policy with drivers and on my Windwos 11 Home Edition there is no gpedit.msc where I possible could deactivate the checks.

Fortunately, the Internet did not let me down. I’ve found this website: https://gearupwindows.com/how-to-disable-driver-signature-enforcement-on-windows-11-10/ and I thought I give the Command Line Version a try:

How to Disable Driver Signature Enforcement on Windows 11/10 through Command Prompt?

This method is only valid when the Secure Boot function is disabled on UEFI.
Step 1. Open an elevated Command Prompt.
Step 2. Type the following command and then hit Enter from the keyboard:-

bcdedit.exe /set nointegritychecks on

How to Disable Driver Signature Enforcement on Windows 11/10 by Enabling Test Signing Mode?

This method is applicable for those computers where the Secure Boot function is disabled on UEFI.
Step 1. Open an administrative Command Prompt window.
Step 2. Now, type the following command and hit Enter from the keyboard:-

bcdedit /set testsigning on

Step 3. Now, restart your computer to enter into test mode. You will see a “Test Mode” watermark in the bottom right corner of your computer screen. This indicates no restriction for installing unsigned or not verified drivers.

Unfortunately my Windows 11 showed me these errors:

C:\>bcdedit /set testsigning on
An error has occurred setting the element data.
The value is protected by Secure Boot policy and cannot be modified or deleted.

Oh great. So i did the “long” version of the website:

Solution:

How to Disable Driver Signature Enforcement on Windows 11/10 using Advanced Boot Menu?

Step 1. Click the Start button on the taskbar and then select the Power button in the Start menu.

Step 2. Your computer will restart with “Advanced Options.” From the list of options, select the Troubleshoot tile.

This image has an empty alt attribute; its file name is Troubleshoot.png

Step 3. Then click the Advanced Options.

Step 4. Under the “Advanced Options,” select Startup Settings.

Step 5. Then click the Restart button to reboot your PC on the “Startup Settings” screen.

Step 6. After that, you will see the “Startup Settings” on your monitor. Press the “7” key from the keyboard to activate the “Disable driver signature enforcement” option.

When you’re done, your PC will reboot again with driver signature enforcement disabled. Then you can install unsigned drivers.

Now try to install the VirtualBox-6.1.30-148432-Win.exe with the USB Option enable while you are in the “Disable driver signature enforcement” Mode. And voila, I was able to install VirtualBox without any issues and was also able to connect an USB Stick through the host machine to my linux guest.

I hope this will help you too! If you have any comments if this has solved your issue, then please let me know. If not, then I will keep these info’s documented for my use, if I have to update VirtualBox again 😉

Tada,
Crazy Kōdā

PS: the #05ffff background color is a copy of the websites. Please give them credits for there useful work!!

LG Gram 16T90P and the issue of not getting the right software

Short Version: Do not uninstall any LG Software! It’s a disaster to get them back! Even if you have issues starting the LG Software, then just add exclusions to the Antivirus Software (At least this was my issue with Avast Free antivirus)

Long Version:

I had a long email conversation with one of the “outsourced” IT Support for LG. He was very helpful trying to get the right software again onto my machine after I have uninstalled LG Control Panel and LG Update Center. But unfortunately, there seems to be a problem with the LG Support Website and Software/Driver for my model.

The solution was a bit complicated but at least it solved my issue. Here are the steps, what I have done to get the LG Update Center and with the Update Center the LG Control Panel.

After installing one of the provided LG Update Center and startet, it showed no Apps or Driver Updates for my System:

So we had the Idea to check if the Software is in the recovery Partition on the harddisk. Start the CMD in administrative Mode and type in the following comands


C:\Windows\System32>mountvol
Creates, deletes, or lists a volume mount point.

MOUNTVOL [drive:]path VolumeName
MOUNTVOL [drive:]path /D
MOUNTVOL [drive:]path /L
MOUNTVOL [drive:]path /P
MOUNTVOL /R
MOUNTVOL /N
MOUNTVOL /E
MOUNTVOL drive: /S

    path        Specifies the existing NTFS directory where the mount
                point will reside.
    VolumeName  Specifies the volume name that is the target of the mount
                point.
    /D          Removes the volume mount point from the specified directory.
    /L          Lists the mounted volume name for the specified directory.
    /P          Removes the volume mount point from the specified directory,
                dismounts the volume, and makes the volume not mountable.
                You can make the volume mountable again by creating a volume
                mount point.
    /R          Removes volume mount point directories and registry settings
                for volumes that are no longer in the system.
    /N          Disables automatic mounting of new volumes.
    /E          Re-enables automatic mounting of new volumes.
    /S          Mount the EFI System Partition on the given drive.

Possible values for VolumeName along with current mount points are:

    \\?\Volume{5e331e7a-6d10-4f9e-9f9e-6207b20556dd}\
        C:\

    \\?\Volume{b17afc1a-81b5-443f-9e32-223c9d9a5926}\
        *** NO MOUNT POINTS ***

    \\?\Volume{75851335-ac2a-4b85-9629-55bbbaec10d8}\
        *** NO MOUNT POINTS ***

    \\?\Volume{70058099-8a23-4067-afd0-099c221f0d4a}\
        *** NO MOUNT POINTS ***


C:\Windows\System32>

I have already checked the disk management and I quessed it has to be the 2nd last GUID.

C:\Windows\System32>start \\?\Volume{75851335-ac2a-4b85-9629-55bbbaec10d8}\

A File Explorer opens the Recovery Partition

in the Folder RecoveryImage the file install.wim exists. If not, then you seem to be on the wrong partition. Then just start the other partition.

The install.wim can be opened with 7-zip. In 7-zip Manager go to \?\Volume{the GUID you have used with the command “start”}\RecoveryImage\install.wim\Program Files (x86)\LG Software\LG Update Center\

copy every file to the installed Folder for your LG Update Center (which did not showed any files or updates) and overwrite them.

Starting the LG Update Center via Start -> LG Update Center it asked if it shall update it to the newest version. I have done this and it showed the same picture as above. So I had to copy/overwrite all the files again. And voila, the LG Update Center showed that the LG Command Center was missing (Yes, I have uninstalled it too because of starting issues).

After Installing the LG Control Center it should start… But in my event I got an error Message (this was the error before I uninstalled the software):

In my case I have installed the Avast Free Antivirus (because my Windows 11 did not had any 3rd Party AV). After excluding the directories, I was able to start any software again

I hope this will help you too! If you have any comments if this has solved your issue, then please let me know. If not, then I will keep these info’s documented for my use, if I have to update VirtualBox again 😉

Tada,
Crazy Kōdā

PS: the #05ffff background color is a copy of the websites. Please give them credits for there useful work!!