winecfg error init_xdg SHGetFolderPathAndSubDirW

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Post Reply
qiaoyu9102
Level 1
Level 1
Posts: 6
Joined: Mon Jul 15, 2019 7:13 am

winecfg error init_xdg SHGetFolderPathAndSubDirW

Post by qiaoyu9102 » Mon Jul 15, 2019 7:44 am

hi, everyone, I'm running wine4.0-stable on Ubuntu 14.04 and encountered the following error when I run winecfg in the terminal.

0025:err:shell:SHGetFolderPathAndSubDirW failed to create directory L "C:\\users\\root\\\684c\9762"

I cannot link the folder to other folders.

What should I do to correct this?

jkfloris
Level 6
Level 6
Posts: 664
Joined: Thu Aug 14, 2014 10:10 am

Re: winecfg error init_xdg SHGetFolderPathAndSubDirW

Post by jkfloris » Tue Jul 16, 2019 3:16 am

... C:\\users\\root\\...
This directory is only created if you run Wine as root or with the sudo command.
Read the Wiki for more information:

https://wiki.winehq.org/FAQ#Should_I_ru ... as_root.3F
https://wiki.winehq.org/FAQ#I_ran_wine_ ... _errors.3F

Or rename the .wine folder in your home directory and try again.
Ubuntu 14.04
This Ubuntu version is no longer supported. Please update if possible.

qiaoyu9102
Level 1
Level 1
Posts: 6
Joined: Mon Jul 15, 2019 7:13 am

Re: winecfg error init_xdg SHGetFolderPathAndSubDirW

Post by qiaoyu9102 » Tue Jul 16, 2019 9:33 pm

Thank you!
I changed the user and this error disappears.

Post Reply