Error"Could not creat temporary directory" on Windows Host!

Discussions related to using VirtualBox on Windows hosts.
2008Lenovo
Posts: 4
Joined: 10. Apr 2009, 12:48
Primary OS: MS Windows Vista
VBox Version: OSE Debian
Guest OSses: Ubuntu

Error"Could not creat temporary directory" on Windows Host!

Post by 2008Lenovo »

Why do I double-click Setup VirtualBox-2.2.0, it express "Could not creat temporary directory", this means it can not be installed! My system is Windows Vista Home Premium SP1!
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Error"Could not creat temporary directory" on Windows Host!

Post by Perryg »

2008Lenovo wrote:Why do I double-click Setup VirtualBox-2.2.0, it express "Could not creat temporary directory", this means it can not be installed! My system is Windows Vista Home Premium SP1!
Try un-installing your present VBox and then reboot. Then install the new version. Be sure that you install to the same directory that the original one was in.
zzb
Posts: 1
Joined: 12. Apr 2009, 04:30
Primary OS: MS Windows XP
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Debian Lenny

Re: Error"Could not creat temporary directory" on Windows Host!

Post by zzb »

I am using Windows XP, the same problem appears. And I tried to uninstall the previous version (2.1.4) first, but the problem still existed. I have only 100MB space total in C: , wonder if this is the cause.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Error"Could not creat temporary directory" on Windows Host!

Post by Perryg »

zzb wrote:I am using Windows XP, the same problem appears. And I tried to uninstall the previous version (2.1.4) first, but the problem still existed. I have only 100MB space total in C: , wonder if this is the cause.
Sounds to me like you need to clear off some drive space. Should improve the performance a lot as well.
dduster
Posts: 2
Joined: 12. Apr 2009, 13:14
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: Ubuntu

Re: Error"Could not creat temporary directory" on Windows Host!

Post by dduster »

Same here - "Could not create temporary directory".

Seems to be a localization issue (at least for me): my XP user name is in Hebrew. Once I switch to, say, "Administrator", I no longer see this message.

It still fails re-installation, but that's another (?) issue.

dd.
friskgetter
Posts: 1
Joined: 11. Apr 2009, 03:07
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: ubuntu

Re: Error"Could not creat temporary directory" on Windows Host!

Post by friskgetter »

I encounter the same phenomenon, too. However, my HDD still has the free space.(20GB)

OS of HOST is XP(sp3).
2008Lenovo
Posts: 4
Joined: 10. Apr 2009, 12:48
Primary OS: MS Windows Vista
VBox Version: OSE Debian
Guest OSses: Ubuntu

Re: Error"Could not creat temporary directory" on Windows Host!

Post by 2008Lenovo »

Is there anybody had completely solved this problem? Please give a solution! Plese! Waiting in a hurry ... ...
echiz
Posts: 2
Joined: 16. Apr 2009, 03:23
Primary OS: MS Windows Vista
VBox Version: OSE other
Guest OSses: Windows 2003

Re: Error"Could not creat temporary directory" on Windows Host!

Post by echiz »

maybe you are right
dduster wrote:Same here - "Could not create temporary directory".

Seems to be a localization issue (at least for me): my XP user name is in Hebrew. Once I switch to, say, "Administrator", I no longer see this message.

It still fails re-installation, but that's another (?) issue.

dd.
echiz
Posts: 2
Joined: 16. Apr 2009, 03:23
Primary OS: MS Windows Vista
VBox Version: OSE other
Guest OSses: Windows 2003

Re: Error"Could not creat temporary directory" on Windows Host!

Post by echiz »

I solved this problem.
you can create a account with english,like "administrator" or "theuser".Don't use chinese.
then add the account in the computer's local administrator group.
after that,login as the account and install it.

it's problem form no english account......
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Error"Could not creat temporary directory" on Windows Host!

Post by Perryg »

Or in Vista you can right click on the install exe and tell it to run as administrator.

Sorry I just had time to read the replies.
pentagonik
Oracle Corporation
Posts: 309
Joined: 19. May 2008, 16:09
Primary OS: Ubuntu other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Too many to specify!
Contact:

Re: Error"Could not creat temporary directory" on Windows Host!

Post by pentagonik »

@all who have problems using non-English user names regarding the temporary directory: Which Windows version and language for Windows do you use? What language / user names do I have to enter to reproduce this problem? Maybe you could paste me your temp path here? (It's in a hidden directory in "C:\Documents and Settings\<Your username>\Local Settings\Temp" usually). Thanks!
mroseneo
Posts: 3
Joined: 24. Jul 2009, 16:46
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Ubuntu

Re: Error"Could not creat temporary directory" on Windows Host!

Post by mroseneo »

Hello, I am having the same problem. I have been waiting for ever for this to be fixed. I was hoping that 3.0 would fix this but that is not the case.

I am using a Japanese version of Windows 7 RC 32-bit.

When i try to install virtualbox, the following message is displayed:

Could not create temporary directory! Path :C?Users??????AppDate?Local?Temp??VirtualBox

ERROR: A string claiming to be UTF-8 is incorrectly encoded.

This has not worked for me ever even on a Japanese windows XP system. I can install fine on a Japanese Ubuntu system though.

Im guessing this is the same for Korean, Chinese or any other non Roman based language.
baf
Volunteer
Posts: 829
Joined: 27. Sep 2008, 06:18
Primary OS: Mac OS X Leopard
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: linux,xp,win7
Location: Luleå or Skellefteå, Sweden

Re: Error"Could not creat temporary directory" on Windows Host!

Post by baf »

Try adding
TEMP=c:\temp
as a global envirinment variable and create that directory.
Some say: "You learn as long as you live".
My way: "You live as long as you learn".
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Error"Could not creat temporary directory" on Windows Host!

Post by Perryg »

Path :C?Users??????AppDate?Local?Temp??VirtualBox
From what I see the statement is trying to produce the following
C\Users\Michael\AppData\Local\Temp\\VirtualBox
Notice that there appears to be no : after the C and the double \\ after Temp
I have see this reported here before but for the life of me I have no clue what the outcome was.


EDIT:
Here is one suggestion http://forums.virtualbox.org/viewtopic.php?f=6&t=16487 says to run the install by selecting run as administer.
And a ticket opened 3 months ago http://www.virtualbox.org/ticket/3873
mroseneo
Posts: 3
Joined: 24. Jul 2009, 16:46
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Ubuntu

Re: Error"Could not creat temporary directory" on Windows Host!

Post by mroseneo »

Thanks for the reply.

Sorry, I input the directory incorrectly it should be

C:?Users??????AppDate?Local?Temp??VirtualBox

with the colon after the C

It seems like a valid directory to me.

How do I change the temp folder in Windows 7?

It is a bit disappointing that Sun or the Virtualbox team is just ignoring people in Asian countries. This has not worked for a long time, and there has been no fix for it. Why is there a Japanese page at Sun Japan for Virtualbox but it does not work on Japanese systems? Has anyone even tested this on a Japanese system?

I guess i can't complain about a free product, but this should be something that can easily fixed.
Post Reply