Can't install VirtualBox on Windows 11

Discussions about using Windows guests in VirtualBox.
Post Reply
sdv2k
Posts: 5
Joined: 22. Jul 2022, 13:05

Can't install VirtualBox on Windows 11

Post by sdv2k »

"RTDirExists failed on C:\Temp\... which we just created"
Help me to solve this, pls
Windows 11 x64 Pro, admin rights
thanks

P.S. VB ver. 6.1.36
Last edited by scottgus1 on 22. Jul 2022, 18:27, edited 1 time in total.
Reason: expletive deleted
scottgus1
Site Moderator
Posts: 20965
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: WTF? Can't install VirtualBox on Windows 11

Post by scottgus1 »

Starting off with a not-so-veiled expletive, eh?... Deleted.

If you are running an Insider Preview of 11, please note that Insider Previews are not supported.

The Virtualbox installer is really a Microsoft program that works with the Windows MSI installer database. Google for how to enable MSI logging, then try the installation again. If it fails, please post the log as a zip file using the forum's Upload Attachment tab.

Basic troubleshooting steps for Windows Installer
Enable Windows Installer logging
https://docs.microsoft.com/en-US/troubl ... er-logging
sdv2k
Posts: 5
Joined: 22. Jul 2022, 13:05

Re: Can't install VirtualBox on Windows 11

Post by sdv2k »

chkdsk_full_log.txt
(16.11 KiB) Downloaded 3 times
Attachments
chkdsk_full_log.txt
(16.11 KiB) Downloaded 8 times
sdv2k
Posts: 5
Joined: 22. Jul 2022, 13:05

Re: Can't install VirtualBox on Windows 11

Post by sdv2k »

Screenshot 2022-07-23 012829.png
Screenshot 2022-07-23 012829.png (7.31 KiB) Viewed 2486 times
scottgus1
Site Moderator
Posts: 20965
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Can't install VirtualBox on Windows 11

Post by scottgus1 »

It looks like you posted the output of a chkdsk. That's not an MSI log. Please try again to enable MSI logging and re-run the Virtualbox installer. Also, right-click the installer and Run As Adminisrator, even though you already have admin permissions.
scottgus1
Site Moderator
Posts: 20965
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Can't install VirtualBox on Windows 11

Post by scottgus1 »

I googled "RTDirExists failed on C:\Temp\ which we just created", and that message comes from the Virtualbox installer script. The error occurs when the directory creation fails. Try looking if you have a C:\Temp folder. If not, try to make one. Then be sure that "Everyone" has full permissions to write into it. Then right-click-Run-As-Administrator the Virtualbox installer again.
sdv2k
Posts: 5
Joined: 22. Jul 2022, 13:05

Re: Can't install VirtualBox on Windows 11

Post by sdv2k »

Follder exists, installer run with admin rights, so I did it about 50+ times, this error occures once
sdv2k
Posts: 5
Joined: 22. Jul 2022, 13:05

Re: Can't install VirtualBox on Windows 11

Post by sdv2k »

Can you help me like IT=specialists?
scottgus1
Site Moderator
Posts: 20965
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Can't install VirtualBox on Windows 11

Post by scottgus1 »

sdv2k wrote:Follder exists, installer run with admin rights,
Please note that there's something between:
scottgus1 wrote:be sure that "Everyone" has full permissions to write into it.
Please post a screenshot using the forum's Upload Attachment tab showing C:\Temp's Properties, Security tab.

Also, be aware hat this forum is run by volunteer fellow Virtualbox users, not employees, so we all have lives too, and it may take some time for help to come.
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Can't install VirtualBox on Windows 11

Post by mpack »

sdv2k wrote:Can you help me like IT=specialists?
These are user to user discussion forums. There are no IT specialists here, and nobody owes you anything. Plus, a free download would entitle you to zero help even if we did work for Oracle.

Anything more along those lines will result in a locked topic.
fth0
Volunteer
Posts: 5668
Joined: 14. Feb 2019, 03:06
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Linux, Windows 10, ...
Location: Germany

Re: Can't install VirtualBox on Windows 11

Post by fth0 »

On your host, please check if one of the environment variables TMP, TEMP and USERPROFILE contains "C:\Temp." with a dot.

PS: There have been changes near the error message in VirtualBox 6.1.36, which allows for the possibility of a regression.
Post Reply