Internal error failed to expand shell folder constant userdesktop

WinMerge-2.16.6-x64-Setup_no_support_for_per-user_installation.exe running under system context throws the error below. I see the use of SHGetFolderPath which is deprecate, but I don't see that...

According to the logs, it looks like you are installing WinMerge silently using software like System Center Configuration Manager instead of the usual way.
Is this my guess correct?

When I do a silent installation with administrative privileges, I get the following log output.

2020-06-05 22:08:00.493   Log opened. (Time zone: UTC+09:00)
2020-06-05 22:08:00.493   Setup version: Inno Setup version 5.6.1 (u)
2020-06-05 22:08:00.493   Original Setup EXE: c:devwinmergeBuildReleasesWinMerge-2.16.6-x64-Setup_no_support_for_per-user_installation.exe
2020-06-05 22:08:00.493   Setup command line: /SL5="$151FCA,6798723,121344,c:devwinmergeBuildReleasesWinMerge-2.16.6-x64-Setup_no_support_for_per-user_installation.exe" /VERYSILENT /NOCLOSEAPPLICATIONS /NORESTARTAPPLICATIONS /NORESTART /SP- /SUPPRESSMSGBOXES /LOG=C:tmpWinMerge-2.16.6-x64-Setup_no_support_for_per-user_installation.exe.log
2020-06-05 22:08:00.493   Windows version: 10.0.19041  (NT platform: Yes)
2020-06-05 22:08:00.493   64-bit Windows: Yes
2020-06-05 22:08:00.493   Processor architecture: x64
2020-06-05 22:08:00.493   User privileges: Administrative
2020-06-05 22:08:00.501   64-bit install mode: Yes
2020-06-05 22:08:00.508   Created temporary directory: C:UserssawanAppDataLocalTempis-EP6BD.tmp
2020-06-05 22:08:00.516   -- DLL function import --
2020-06-05 22:08:00.516   Function name: GetSysColor
2020-06-05 22:08:00.516   DLL name: user32.dll
2020-06-05 22:08:00.516   Dest DLL name: user32.dll
2020-06-05 22:08:00.516   Importing the DLL function.
2020-06-05 22:08:00.516   Successfully imported the DLL function. Delay loaded? No
2020-06-05 22:08:01.376   Starting the installation process.
2020-06-05 22:08:01.432   Directory for uninstall files: C:Program FilesWinMerge
....

One interesting difference from your log is that the Created temporary directory line in your log does not include the user’s name.
Perhaps the account that installs WinMerge is not the same account that performs the usual GUI operations.
So I assume it is a failed attempt to get the desktop folder path.

Install as a normal user or pull requests are welcome.

Содержание

  1. Installation error
  2. Installation error
  3. Re: Installation error
  4. Re: Installation error
  5. Failed to expand shell folder constant “userprograms” — “SHGetFolderPath failed with code 0x80070002
  6. KeePass Bugs
  7. A lightweight and easy-to-use password manager
  8. Group
  9. Searches
  10. #1230 Internal error: Failed to expand shell folder constant «userdesktop»
  11. Discussion
  12. KeePass Bugs
  13. A lightweight and easy-to-use password manager
  14. Group
  15. Searches
  16. #1719 Internal error: Failed to expand shell folder constant «userdesktop»
  17. Installation error on windows 10
  18. Как избежать ошибок «Не удалось раскрыть папку оболочки с константой userdocs» в Inno Setup

Installation error

Installation error

I am trying to install WinSCP version 5.1.7 on a Windows 7 Enterprise HP laptop. I have selected the default installation settings and receive the following error: Internal error: Failed to expand shell folder constant «userdesktop». My Desktop, Favorites and Personal/Documents directories are on a network drive. I have updated the registry entries, but I still receive the error.

Here is the log file from my last install attempt:

2013-09-16 11:11:18.846 Log opened. (Time zone: UTC-07:00)
2013-09-16 11:11:18.846 Setup version: Inno Setup version 5.4.3 (u)
2013-09-16 11:11:18.846 Original Setup EXE: C:UsersxxxxxDownloadswinscp517setup.exe
2013-09-16 11:11:18.846 Setup command line: /SL5=»$C093E,4520388,140800,C:UsersxxxxxDownloadswinscp517setup.exe» /SPAWNWND=$A06B2 /NOTIFYWND=$1405BA /log=»winscpinst.log» /saveinf=»instsave.txt»
2013-09-16 11:11:18.846 Windows version: 6.1.7601 SP1 (NT platform: Yes)
2013-09-16 11:11:18.846 64-bit Windows: Yes
2013-09-16 11:11:18.846 Processor architecture: x64
2013-09-16 11:11:18.846 User privileges: Administrative
2013-09-16 11:11:20.221 64-bit install mode: No
2013-09-16 11:11:20.221 Created temporary directory: C:UsersxxxxxAppDataLocalTempis-GS4TG.tmp
2013-09-16 11:11:28.771 License accepted
2013-09-16 11:11:35.992 Starting the installation process.
2013-09-16 11:11:35.992 Warning: SHGetFolderPath failed with code 0x80070003 on folder 0x8010
2013-09-16 11:11:35.992 Fatal exception during installation process (Exception):
Internal error: Failed to expand shell folder constant «userdesktop»
2013-09-16 11:11:35.992 Exception message:
2013-09-16 11:11:35.992 Message box (OK):
Internal error: Failed to expand shell folder constant «userdesktop»
2013-09-16 11:11:38.835 User chose OK.
2013-09-16 11:11:38.835 Message box (OK):
Setup was not completed.

Please correct the problem and run Setup again.
2013-09-16 11:11:40.641 User chose OK.
2013-09-16 11:11:40.641 Rolling back changes.
2013-09-16 11:11:40.641 Starting the uninstallation process.
2013-09-16 11:11:40.641 Uninstallation process succeeded.
2013-09-16 11:11:42.149 Deinitializing Setup.
2013-09-16 11:11:42.149 Preparing intallation report
2013-09-16 11:11:42.149 Sending installation report:
2013-09-16 11:11:42.492 Installation report send result: 200 OK
2013-09-16 11:11:42.507 Log closed.

Re: Installation error

Re: Installation error

Thank you for the suggestion. I saw this post, but Windows 7 doesn’t have the same issues as Windows XP.

I actually solved the issues late yesterday. The shell folder for my desktop was updated with a mapped drive reference. I had to update the reference to a fully qualified/UNC reference. I was able to install the WinSCP client.

Failed to expand shell folder constant “userprograms” — “SHGetFolderPath failed with code 0x80070002

I get the following error on Windows 10 when installing via the system account or SCCM «Failed to expand shell folder constant “userprograms” — “SHGetFolderPath failed with code 0x80070002»

This error only happens when installing with the System account or SCCM the first 2 times on Windows 10. If install with just the administrators account it doesn’t happen at all. In addition,
SHGetFolderPath has been a deprecated function since Windows Vista.

2016-02-03 15:05:14.549 Log opened. (Time zone: UTC-05:00)
2016-02-03 15:05:14.549 Setup version: Inno Setup version 5.5.5 (u)
2016-02-03 15:05:14.549 Original Setup EXE: C:WindowsTempWinSCPWINSCP

1.EXE
2016-02-03 15:05:14.549 Setup command line: /SL5=»$1001BE,5331554,166912,C:WindowsTempWINSCP

Источник

KeePass Bugs

A lightweight and easy-to-use password manager

Group

Searches

#1230 Internal error: Failed to expand shell folder constant «userdesktop»

I tried to upgrade from 2.24 with KeePass-2.25-Setup.exe but received this error.

I had changed the location of my Desktop folder to W:Desktop, which is a mapped network folder. Note that this error appears regardless of whether I choose to add a desktop icon in the setup options, so I don’t know why KeePass would need to access the desktop folder. My OS is Windows Vista Home Premium, version 6.0 (Build 6002: Service Pack 2).

Destination location:
C:Program FilesKeePass Password Safe 2

Setup type:
Full installation

Selected components:
Core KeePass Application Files
Help Manual
Native Support Library (KeePass 1.x)
XSL Stylesheets for KDBX XML Files
Optimize KeePass Performance
Optimize KeePass On-Demand Start-Up Performance

Additional tasks:
Associate KeePass with the .kdbx file extension

Discussion

Sounds like a problem with the installer program (Inno Setup) rather than KeePass.
To get around it download the zip package and extract all files over the top of the old KeePass files, except keepass.config.xml.

I agree with Paul; this is related to the setup, not KeePass. You moved the desktop in such a way that Inno Setup doesn’t find it anymore.

Best regards,
Dominik

  • status: open —> closed

Since this is the first thing that comes up in a search for the error, here is how i fixed it:

It appears the installer doesn’t like mapped network drives. I have moved my desktop to U:/Desktop. In the registry i went to HKEY_CURRENT_USER —> Software —> Microsoft —> Windows —> Current Version —> Explorer —> User Shell Folders. Changed the Desktop key from the mapped network driver to the FQDN \serverfolderdesktop. Saved and the installation went off without a hitch. I then changed it back and everything works fine.

Источник

KeePass Bugs

A lightweight and easy-to-use password manager

Group

Searches

#1719 Internal error: Failed to expand shell folder constant «userdesktop»

We’re getting the following error when installing KeePass 2.3.x using ConfigMgr, which uses the SYSTEM context to install:

Internal error: Failed to expand shell folder constant «userdesktop»

The first installation always fails. The second time, however, it works.

Probably an issue with innosetup as other people have reported it for different apps:
https://winscp.net/forum/viewtopic.php?t=23278

Log file as follows:

2018-02-20 12:06:57.206 Log opened. (Time zone: UTC+11:00)
2018-02-20 12:06:57.206 Setup version: Inno Setup version 5.5.9 (u)
2018-02-20 12:06:57.206 Original Setup EXE: C:Windowsccmcache3nKeePassSetup.exe
2018-02-20 12:06:57.206 Setup command line: /SL5=»$302C8,2598621,121344,C:Windowsccmcache3nKeePassSetup.exe» /VERYSILENT /DIR=»C:Program Files (x86)KeePass Password Safe» /LOG=»C:WindowsCCMLOGSInstall_KeePassPasswordSafe_2.34.log»
2018-02-20 12:06:57.206 Windows version: 10.0.16299 (NT platform: Yes)
2018-02-20 12:06:57.206 64-bit Windows: Yes
2018-02-20 12:06:57.206 Processor architecture: x64
2018-02-20 12:06:57.206 User privileges: Administrative
2018-02-20 12:06:57.209 64-bit install mode: No
2018-02-20 12:06:57.228 Created temporary directory: C:TEMPis-MBQHB.tmp
2018-02-20 12:06:57.517 Warning: SHGetFolderPath failed with code 0x80070002 on folder 0x8010
2018-02-20 12:06:57.517 Exception message:
2018-02-20 12:06:57.517 Message box (OK):
Internal error: Failed to expand shell folder constant «userdesktop»

This might be a good solution here:

Happy to assist with verifying that any solution works, as some users just give up and don’t click Install the second time to achieve a successful installation.

Источник

Installation error on windows 10

While installing application HeidiSql 10.3 in system context on windows 10. installation is getting failed.

2020-02-27 13:52:36.323 Log opened. (Time zone: UTC+05:30) 2020-02-27 13:52:36.323 Setup version: Inno Setup version 6.0.2 (u) 2020-02-27 13:52:36.323 Original Setup EXE: C:TempPKGHeidiSQL_10.3.0.5771_Setup.exe 2020-02-27 13:52:36.323 Setup command line: /SL5=»$30176,20303153,839168,C:TempPKGHeidiSQL_10.3.0.5771_Setup.exe» /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /MERGETASKS=»!desktopicon,fileassoc» /LOG=»C:tempInstall.log» 2020-02-27 13:52:36.323 Windows version: 10.0.17763 (NT platform: Yes) 2020-02-27 13:52:36.323 64-bit Windows: Yes 2020-02-27 13:52:36.323 Processor architecture: x64 2020-02-27 13:52:36.323 User privileges: Administrative 2020-02-27 13:52:36.323 Administrative install mode: Yes 2020-02-27 13:52:36.339 Install mode root key: HKEY_LOCAL_MACHINE 2020-02-27 13:52:36.339 64-bit install mode: Yes 2020-02-27 13:52:36.339 Created temporary directory: C:WINDOWSTEMPis-G11DH.tmp 2020-02-27 13:52:36.620 Warning: SHGetFolderPath failed with code 0x80070002 on folder 0x8005 2020-02-27 13:52:36.620 Exception message: 2020-02-27 13:52:36.620 Defaulting to OK for suppressed message box (OK): Internal error: Failed to expand shell folder constant «userdocs» 2020-02-27 13:52:36.620 Deinitializing Setup. 2020-02-27 13:52:36.620 Log closed.

Could you try to install in your own user’s context, not in system contect? Or as administrator.

Источник

Как избежать ошибок «Не удалось раскрыть папку оболочки с константой userdocs» в Inno Setup

Я устанавливаю несколько образцов документов в подпапку «PerfectTablePlan» стандартной папки «Мои документы» в Windows. Это отлично работает для 99% + пользователей. Но если у пользователя нет папки «Мои документы», я получаю несколько уродливых сообщений об ошибках вида:

Internal error:Failed to expand shell folder constant “userdocs”

Это не очень вселяет уверенность у пользователя!

Допускается не устанавливать образцы для этих пользователей (или устанавливать их где-нибудь еще). Но не для того, чтобы показывать уродливые сообщения об ошибках.

Проблема, похоже, связана с расширением макроса ExpandConstant для .

Есть ли способ получить путь к «Моим документам» без использования макроса?

Или каким-то образом подавить сообщение об ошибке? ExpandConstant выдает исключение: http://www.jrsoftware.org/ishelp/index.php?topic=isxfunc_expandconstant

Соответствующие части моего файла .iss выглядят так:

Failed to expand shell folder constant ‘constant name’

возникает, когда вызываемая изнутри SHGetFolderPath функция (вызываемая изнутри ExpandConstant при раскрытии константы папки оболочки) возвращает пустую строку пути для данной папки CSIDL, в данном случае для CSIDL_PERSONAL идентификатора.

Это означает, что у пользователя нет CSIDL_PERSONAL папки. Это заставляет меня задаться вопросом, как можно настроить учетную запись пользователя Windows, чтобы не было этой папки. Что ж, вы можете обойти эту проблему (или неправильную конфигурацию Windows?), Перехватив возникшее внутреннее исключение в try..except блоке:

Но я никогда не слышал о возможности отсутствия CSIDL_PERSONAL папки. Обратите внимание, что приведенный выше код защищает только константу.

Здесь мы используем перенаправление папок, и у нас были проблемы, похожие на это, с другими приложениями (GnuCash, UFile). В нашем случае проблема возникла из-за функции под названием «Миграция перенаправленной папки *», которая в некоторых случаях не обновляла параметры реестра пользователя, чтобы они указывали на новое местоположение после завершения миграции (обратите внимание, что эта миграция может произойти через несколько недель после того, как объект групповой политики был набор).

В любом случае, дело не в том, что запись была пустой, а в том, что она указывала на SERVER SHARE, который был отключен неделями ранее.

Запуск a gpupdate /force для каждого активного пользователя на каждой машине устранил нашу проблему, поскольку он обновил реестр, а затем сказал пользователю, что он должен выйти / войти в систему.

* Перенаправленная миграция папок позволяет администратору указать, что папка «Мои документы» каждого пользователя (например,) должна быть перемещена из одного сетевого местоположения в другое. Он делает это медленно и размеренно, когда в следующий раз пользователь войдет в домен (на любую рабочую станцию) в домен (так что, если ваш последний пользователь входит в систему только через месяц, процесс займет месяц). В теории это прекрасная идея, но на практике это большая PITA.

Между прочим, «общий ресурс не существует, потому что он олицетворяет другого пользователя» не должен быть проблемой с правильно перенаправленными папками, потому что перенаправление должно использовать URL-адрес, а не букву подключенного диска (например, \ server RedirectedUserFolders SOME-USER Мои документы, хотя при удалении некоторых прав по умолчанию могут возникнуть проблемы с разрешениями).

Источник

CoachKA
Joined:
2013-09-16
Posts:
2

2013-09-16 20:08

I am trying to install WinSCP version 5.1.7 on a Windows 7 Enterprise HP laptop. I have selected the default installation settings and receive the following error: Internal error: Failed to expand shell folder constant «userdesktop». My Desktop, Favorites and Personal/Documents directories are on a network drive. I have updated the registry entries, but I still receive the error.

Here is the log file from my last install attempt:

2013-09-16 11:11:18.846 Log opened. (Time zone: UTC-07:00)

2013-09-16 11:11:18.846 Setup version: Inno Setup version 5.4.3 (u)

2013-09-16 11:11:18.846 Original Setup EXE: C:UsersxxxxxDownloadswinscp517setup.exe

2013-09-16 11:11:18.846 Setup command line: /SL5=»$C093E,4520388,140800,C:UsersxxxxxDownloadswinscp517setup.exe» /SPAWNWND=$A06B2 /NOTIFYWND=$1405BA /log=»winscpinst.log» /saveinf=»instsave.txt»

2013-09-16 11:11:18.846 Windows version: 6.1.7601 SP1 (NT platform: Yes)

2013-09-16 11:11:18.846 64-bit Windows: Yes

2013-09-16 11:11:18.846 Processor architecture: x64

2013-09-16 11:11:18.846 User privileges: Administrative

2013-09-16 11:11:20.221 64-bit install mode: No

2013-09-16 11:11:20.221 Created temporary directory: C:UsersxxxxxAppDataLocalTempis-GS4TG.tmp

2013-09-16 11:11:28.771 License accepted

2013-09-16 11:11:35.992 Starting the installation process.

2013-09-16 11:11:35.992 Warning: SHGetFolderPath failed with code 0x80070003 on folder 0x8010

2013-09-16 11:11:35.992 Fatal exception during installation process (Exception):

Internal error: Failed to expand shell folder constant «userdesktop»

2013-09-16 11:11:35.992 Exception message:

2013-09-16 11:11:35.992 Message box (OK):

Internal error: Failed to expand shell folder constant «userdesktop»

2013-09-16 11:11:38.835 User chose OK.

2013-09-16 11:11:38.835 Message box (OK):

Setup was not completed.

Please correct the problem and run Setup again.

2013-09-16 11:11:40.641 User chose OK.

2013-09-16 11:11:40.641 Rolling back changes.

2013-09-16 11:11:40.641 Starting the uninstallation process.

2013-09-16 11:11:40.641 Uninstallation process succeeded.

2013-09-16 11:11:42.149 Deinitializing Setup.

2013-09-16 11:11:42.149 Preparing intallation report

2013-09-16 11:11:42.149 Sending installation report: <invalid hyperlink removed by admin>

2013-09-16 11:11:42.492 Installation report send result: 200 OK

2013-09-16 11:11:42.507 Log closed.

Reply with quote

Advertisement

martin◆

Site Admin
martin avatar
Joined:
2002-12-10
Posts:
38,466
Location:
Prague, Czechia

2013-09-19

Reply with quote

Guest

2013-09-19 16:29

Thank you for the suggestion. I saw this post, but Windows 7 doesn’t have the same issues as Windows XP.

I actually solved the issues late yesterday. The shell folder for my desktop was updated with a mapped drive reference. I had to update the reference to a fully qualified/UNC reference. I was able to install the WinSCP client.

Reply with quote

nick0208

Guest

2016-02-08 20:27

I get the following error on Windows 10 when installing via the system account or SCCM «Failed to expand shell folder constant “userprograms” — “SHGetFolderPath failed with code 0x80070002»

This error only happens when installing with the System account or SCCM the first 2 times on Windows 10. If install with just the administrators account it doesn’t happen at all. In addition,

SHGetFolderPath has been a deprecated function since Windows Vista.

2016-02-03 15:05:14.549 Log opened. (Time zone: UTC-05:00)

2016-02-03 15:05:14.549 Setup version: Inno Setup version 5.5.5 (u)

2016-02-03 15:05:14.549 Original Setup EXE: C:WindowsTempWinSCPWINSCP~1.EXE

2016-02-03 15:05:14.549 Setup command line: /SL5=»$1001BE,5331554,166912,C:WindowsTempWINSCP~1.EXE» /VERYSILENT /LOADINF=64bit.inf /NORESTART /NOCANDY /LOADINF=64bit.inf /LOG=C:PROGRA~2PkglogsWinSCPWINSCP~1.6Vendor_INST.LOG

2016-02-03 15:05:14.549 Windows version: 6.3.9600 (NT platform: Yes)

2016-02-03 15:05:14.549 64-bit Windows: Yes

2016-02-03 15:05:14.549 Processor architecture: x64

2016-02-03 15:05:14.549 User privileges: Administrative

2016-02-03 15:05:14.549 64-bit install mode: No

2016-02-03 15:05:14.549 Created temporary directory: C:WINDOWSTEMPis-VJQCH.tmp

2016-02-03 15:05:17.221 Extracting temporary file: C:WINDOWSTEMPis-VJQCH.tmpcommander.bmp

2016-02-03 15:05:17.550 Extracting temporary file: C:WINDOWSTEMPis-VJQCH.tmpexplorer.bmp

2016-02-03 15:05:17.878 Extracting temporary file: C:WINDOWSTEMPis-VJQCH.tmppaypalcard.bmp

2016-02-03 15:05:17.878 License accepted

2016-02-03 15:05:17.878 Warning: SHGetFolderPath failed with code 0x80070002 on folder 0x8002

2016-02-03 15:05:17.878 Exception message:

2016-02-03 15:05:17.878 Message box (OK):

Internal error: Failed to expand shell folder constant «userprograms»

2016-02-03 15:05:51.993 User chose OK.

2016-02-03 15:05:51.993 Deinitializing Setup.

2016-02-03 15:05:51.993 Preparing intallation report

2016-02-03 15:05:51.993 Sending installation report: <link removed by admin>

2016-02-03 15:05:52.008 Error sending installation report: WinHttp.WinHttpRequest: The server name or address could not be resolved

2016-02-03 15:05:52.805 Log closed.

Reply with quote

martin◆

Site Admin
martin avatar
Joined:
2002-12-10
Posts:
38,466
Location:
Prague, Czechia

2016-02-10

Thanks for your report.

Can you send me an email, so I can send you back a development version of WinSCP for testing? Please include link back to this topic in your email. Also note in this topic that you have sent the email. Thanks.

You will find my address (if you log in) in my forum profile.

Reply with quote

Advertisement

martin◆

Site Admin
martin avatar

2016-02-16

This bug has been added to the tracker:

https://winscp.net/tracker/1398

Reply with quote

Advertisement

1 / 1 / 1

Регистрация: 20.10.2014

Сообщений: 26

1

28.12.2015, 09:59. Показов 17344. Ответов 8


Всем доброго времени суток.

Начину издалека. Решил приобрести новый SSD, чтобы был побольше (120gb против 250gb) и чтобы не тормозил по мере заполнения объема оного (был Kingston SSDnow V300, стал SAMSUNG 850 EVO), соответственно встал вопрос переустановки ОСи, что всегда сопровождается неким выходом из зоны комфорта. Но я пересилил себя, и конечном счете ОСь была установлена, и показалось мне, что встала она «криво». В итоге, ОСь была переустановлена еще раз. Как мне показалось, на этот раз все встало нормально. В итоге, были установлены все нужные драйвера, программы, были произведена настройка «под себя», и все бы хорошо. Но во-время установки одного исполнительного файла, появилась следующая ошибка:

Миниатюры

Failed to expand shell folder constant userdocs
 

__________________
Помощь в написании контрольных, курсовых и дипломных работ, диссертаций здесь



0



1 / 1 / 1

Регистрация: 20.10.2014

Сообщений: 26

28.12.2015, 10:34

 [ТС]

2

В общем, знатоки, выручайте.

p.s. Win. 7 Ultimate x64 (крякнутая)

Добавлено через 20 минут
Забыл добавить, что имею склонность переносить папку мои документы. Мне кажется, что проблема может быть в этом. Исполнительный файл, которым я пользуюсь, создает папки в «Моих Документах». Я заметил, что на этой папке стоит параметр «только чтение», и убрать его никак нельзя (возвращается обратно). Так же заметил, что «Мои Документы» больше нельзя перенести.

В общем, гуглил-гуглил, и как минимум в рунете ничего дельного не нашел.



0



Модератор

Эксперт HardwareЭксперт Windows

15151 / 7739 / 726

Регистрация: 03.01.2012

Сообщений: 31,809

28.12.2015, 12:16

3

Асоциальный, Проверьте права на папку «Мои документы» (если вы папку перенесли, а потом переустановили ОС, то эта перенесённая папка не перезаписалась аналогичной из новой системы, а её принадлежность старой системе осталась). Надо стать её владельцем из новой системы



0



1 / 1 / 1

Регистрация: 20.10.2014

Сообщений: 26

28.12.2015, 12:30

 [ТС]

4

gecata, попробовал, но увы — не помогло. Я первым делом переношу «мои документы» из «С» на «D», так что ничего я не забыл, да и проблемы тогда бы не было.

Быть может, будут еще какие-нибудь варианты по решению данной проблемы?



0



Модератор

Эксперт HardwareЭксперт Windows

15151 / 7739 / 726

Регистрация: 03.01.2012

Сообщений: 31,809

28.12.2015, 13:04

5

Так сколько у вас этих папок на компе (и о какой точно папке речь? как она «официально» называется?)



0



1 / 1 / 1

Регистрация: 20.10.2014

Сообщений: 26

28.12.2015, 13:17

 [ТС]

6

Цитата
Сообщение от gecata
Посмотреть сообщение

Так сколько у вас этих папок на компе (и о какой точно папке речь? как она «официально» называется?)

Папка «Мои Документы» может быть только одна, нет? По крайней мере, которую таковой воспринимает система. И называется она соответствующе. Не совсем понимаю вопрос.



0



Модератор

Эксперт HardwareЭксперт Windows

15151 / 7739 / 726

Регистрация: 03.01.2012

Сообщений: 31,809

28.12.2015, 15:00

7

Ну, во-первых, не одна. А в каждом из профилей по штуке. Во-вторых, её «официальное» имя — Documents (если речь не о библиотеке «Документы»). В-третьих, всё-таки, запустите поиск по всему компьютеру, забив в строчку поиска «Мои Документы» (без кавычек) и выложите скриншот — что получилось



2



1 / 1 / 1

Регистрация: 20.10.2014

Сообщений: 26

28.12.2015, 15:34

 [ТС]

8

Не знаю, что это даст, но вот:

Миниатюры

Failed to expand shell folder constant userdocs
 



0



1 / 1 / 1

Регистрация: 20.10.2014

Сообщений: 26

28.12.2015, 16:13

 [ТС]

9

Лучший ответ Сообщение было отмечено gecata как решение

Решение

Проблема была решена правкой реестра на:

[HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurre ntVersionExplorerUser Shell Folders]
«Personal»=»D:Files»

Я уже не помню, какой именно путь был изначально, но других активных папок «Мои Документы» через поиск найдено не было (как видно по скриншоту). Зато после правки реестра на D диске появилась еще одна папка с соответствующим названием (была каким-то хитрым образом скрыта или черт его знает), однако работала она, вероятно, не корректно.

В общем, для последующих поколений: суть выше указанной ошибки («Failed to expand shell folder constant userdocs») из первого поста, в проблемах с расположением папки «Мои Документы» (вероятно, из-за моих кривых рук, однако не уверен).



1



Windows 10: Internal Error: Failed to expand shell folder constant ‘userdesktop’

Discus and support Internal Error: Failed to expand shell folder constant ‘userdesktop’ in Windows 10 BSOD Crashes and Debugging to solve the problem; Hello, got this baffling error upon startup today. I’ve never seen this error before, and I am not sure what this was in response to (the only thing…
Discussion in ‘Windows 10 BSOD Crashes and Debugging’ started by Nullcasting, Oct 30, 2019.

  1. Internal Error: Failed to expand shell folder constant ‘userdesktop’

    Hello, got this baffling error upon startup today. I’ve never seen this error before, and I am not sure what this was in response to (the only thing that had happened was a few apps launching that launch when my computer starts up). Should I be worried about this, and is there anything I can do to fix/avoid this problem? Thank you in advance.

    :)

  2. Constant BSOD in VR: Video Scheduler Internal Error

    Did you create a restore point if so you can restore it from when your system is working fine if not you can follow this steps actually work for me..
    Solution 1. Reinstall the driver if you have A discrete GPU
    Solution 2. Install motherboard chipset if you have integrated GPU.
    How to fix Windows BSOD Video_scheduler_internal_error (Win 10 & 8.1) — Error Solutions

  3. Constant script errors and slow loading pages in 10 internet explorer 11

    I have done the steps listed above. They have not helped and I am still getting constant script errors, along with slow loading pages. Are there any other suggestions?

  4. Internal Error: Failed to expand shell folder constant ‘userdesktop’

    Constant Muting Internal Microphone

    Hi Terri,

    If the internal microphone of your device is muting on its own, it can be due to an incompatible driver, broken system components or a software conflict has occurred. To isolate your concern, we’d like to confirm if you’ve made some
    changes and updates on your computer prior to the issue.

    Additionally, we suggest that you run the troubleshooter to fix any sound issues. Please check this
    article for the instructions and choose from the drop-down list for other troubleshooting
    steps that you can follow.

    Let us know how it goes after performing the suggested steps.

Thema:

Internal Error: Failed to expand shell folder constant ‘userdesktop’

  1. Internal Error: Failed to expand shell folder constant ‘userdesktop’ — Similar Threads — Internal Error Failed

  2. Desktop Shell Folder Merged with User Shell Folder

    in Windows 10 Network and Sharing

    Desktop Shell Folder Merged with User Shell Folder: Tried to move some files between drives to free up space on C. Ended up transferring the entire Desktop Shell to D. When I moved it back, it merged Desktop with User and now the User Shell Folders in Registry are a bit of a mess.I moved Desktop back into its own User Shell…
  3. Desktop Shell Folder Merged with User Shell Folder

    in Windows 10 Gaming

    Desktop Shell Folder Merged with User Shell Folder: Tried to move some files between drives to free up space on C. Ended up transferring the entire Desktop Shell to D. When I moved it back, it merged Desktop with User and now the User Shell Folders in Registry are a bit of a mess.I moved Desktop back into its own User Shell…
  4. Desktop Shell Folder Merged with User Shell Folder

    in Windows 10 Software and Apps

    Desktop Shell Folder Merged with User Shell Folder: Tried to move some files between drives to free up space on C. Ended up transferring the entire Desktop Shell to D. When I moved it back, it merged Desktop with User and now the User Shell Folders in Registry are a bit of a mess.I moved Desktop back into its own User Shell…
  5. Error: Failed to expand the files

    in Windows 10 Ask Insider

    Error: Failed to expand the files: I’m trying to install simple Canon DSLR utility and this comes up, no matter the version. Latest update of the utility is 2022. Windows 10. Is it even possible to overcome this? Google has only a couple 2012 suggestions of this.

    submitted by /u/ar1ntas
    [link] [comments]…

  6. Internal error failed to expand shell folder userdesktop

    in Windows 10 Customization

    Internal error failed to expand shell folder userdesktop: Hola buenas tardes, venia para preguntar sobre el error «Internal error failed to expand shell folder userdesktop» que me ha salido al encender el PC
    Me gustaría saber si es grave y como solucionarlo.

    Gracias de antemano….

  7. Internal Error: Failed to expand shell folder constant «userdesktop»

    in Windows 10 BSOD Crashes and Debugging

    Internal Error: Failed to expand shell folder constant «userdesktop»: i just turned on my PC and got this error, i have this PC for about a month and i’m afraid that something bad happened to it, what should i do?

    https://answers.microsoft.com/en-us/windows/forum/all/internal-error-failed-to-expand-shell-folder/7b0e30d4-1323-430b-8ffd-257bd4fd22bf

  8. Internal error: Failed to expand shell folder constant «userstartmenu»

    in Windows 10 BSOD Crashes and Debugging

    Internal error: Failed to expand shell folder constant «userstartmenu»: Error in title comes up when trying to install various programs, and prevents installation. I have not been able to find anything online. I have tried the regedit fix for when the same internal error says «userappdata» but it did not help. I have also restored to a restore…
  9. Constant internal power error BSOD

    in Windows 10 BSOD Crashes and Debugging

    Constant internal power error BSOD: Hello,

    I have a XPS 9365 that has been experiencing issues with BSOD relatively consistently since July. The latest Windows update (1903) has appeared to make the issues much worse.

    I recently reinstalled windows in an attempt to fix the consistent BSOD, but the Dell…

  10. Favorites Folder Not Expanding

    in Windows 10 Customization

    Favorites Folder Not Expanding: [img]

    I got the favorites to show but it does have the «>» arrow but when I click it don’t expand but goes to the folder, any ideas on how to make this thing expand?

    148255

Users found this page by searching for:

  1. internal error failed to expand shell folder constant userdesktop

    ,

  2. internal error failed to expand shell folder constent userdesktop

    ,

  3. Failed to expand shell folder constan underdesktop

    ,

  4. failed toexpand shell constant user desktop,
  5. internal error expand app constant before


Windows 10 Forums

Понравилась статья? Поделить с друзьями:
  • Internal error failed to expand shell folder constant localappdata
  • Internal error failed to expand group constant
  • Internal error extract temporary file size the file back png was not found
  • Internal error during incrbuildimage
  • Internal error code 111 activator can not start unsupported os что делать