[solved]the specified Windows directory is not accessible

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
quick30
Newbie
Newbie
Posts: 2
Joined: Mon Jun 30, 2008 3:13 pm

[solved]the specified Windows directory is not accessible

Post by quick30 »

I installed wine some days ago from the ubuntu repo's. Unfortunately it doesn't works for me yet. :(

I start the configuration with the following command:

Code: Select all

user@machine:~$ winecfg
Warning: the specified Windows directory L"c:\\windows" is not accessible.
Warning: the specified System directory L"c:\\windows\\system32" is not accessible.
Warning: the specified Windows directory L"c:\\windows" is not accessible.
Warning: the specified System directory L"c:\\windows\\system32" is not accessible.
Then the wine windows comes up and i can work.

When i go to the stations tab and i see:
c: /media/cdrom0
d: /media/cdrom0
z: /

I think the c: setting is wrong. I try to chang it but then some other errors come up:

Code: Select all

err:winecfg:load_drives GetVolumeInformation() for 'C:\' failed, setting serial to 0
err:winecfg:load_drives GetVolumeInformation() for 'D:\' failed, setting serial to 0
err:shell:SHGetFolderPathW Failed to create directory L"c:\\windows\\profiles\\user\\Desktop".
What is wrong??

thanks for any reply. I can't seem to find a answer in the user manual or wiki.
Last edited by quick30 on Wed Jul 02, 2008 2:32 pm, edited 1 time in total.
austin987
Wine Developer
Wine Developer
Posts: 2383
Joined: Fri Feb 22, 2008 8:19 pm

the specified Windows directory is not accessible

Post by austin987 »

On Mon, Jun 30, 2008 at 3:29 PM, quick30 <[email protected]> wrote:
I installed wine some days ago from the ubuntu repo's. Unfortunately it doesn't works for me yet. :(

I start the configuration with the following command:

Code:
user@machine:~$ winecfg
Warning: the specified Windows directory L"c:\\windows" is not accessible.
Warning: the specified System directory L"c:\\windows\\system32" is not accessible.
Warning: the specified Windows directory L"c:\\windows" is not accessible.
Warning: the specified System directory L"c:\\windows\\system32" is not accessible.


Then the wine windows comes up and i can work.

When i go to the stations tab and i see:
c: /media/cdrom0
d: /media/cdrom0
z: /

I think the c: setting is wrong. I try to chang it but then some other errors come up:

Code:
err:winecfg:load_drives GetVolumeInformation() for 'C:\' failed, setting serial to 0
err:winecfg:load_drives GetVolumeInformation() for 'D:\' failed, setting serial to 0
err:shell:SHGetFolderPathW Failed to create directory L"c:\\windows\\profiles\\user\\Desktop".



What is wrong??

thanks for any reply. I can't seem to find a answer in the user manual or wiki.





Did you run wine as root?
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: the specified Windows directory is not accessible

Post by vitamin »

quick30 wrote:I installed wine some days ago from the ubuntu repo's. Unfortunately it doesn't works for me yet. :(

I start the configuration with the following command:

Code: Select all

user@machine:~$ winecfg
Warning: the specified Windows directory L"c:\\windows" is not accessible.
Warning: the specified System directory L"c:\\windows\\system32" is not accessible.
Warning: the specified Windows directory L"c:\\windows" is not accessible.
Warning: the specified System directory L"c:\\windows\\system32" is not accessible.
Remove ~/.wine directory, verify it is gone and run Wine as a normal user _ONLY_.
quick30
Newbie
Newbie
Posts: 2
Joined: Mon Jun 30, 2008 3:13 pm

Post by quick30 »

I tried to run it as a user; not a superuser (or root).
I think i only had a terminal open to make it possible to change some settings to a directory in order to make it accessible to all users who belong to the group "games". Come to think of it I must have run winecfg in the root terminal in stead of a normal user terminal. :(

So now i deleted the ~.wine directory. After that i ran wine as user ONLY. :roll:
Immediately after i started the command an new wine directory is made. I think my problems are solved because i don't get any of the errors of before.
thanks people! a stressfull time has ended. :)
Locked