I am trying to install the docker toolbox on Window 8.1 Enterprise , but getting the following error.
asked Jul 5, 2016 at 11:38
MANISH PATHAKMANISH PATHAK
2,5824 gold badges27 silver badges31 bronze badges
This could be related to issue 435, which is followed by a pending PR 441
Change replaces ‘
userdocs
‘ variable usage with ‘userappdata
‘ to account for users with ‘My Documents
‘ locations which are not the default windows location.
(userdocs
is currently used in windows/Toolbox.iss#L239-L244
)
answered Jul 5, 2016 at 13:13
Workaround:
-Open SystemControl->System->Advanced Settings->Environment Settings
-add new Key «USERDOCS» pointing to a valid Path
-restart the installer completely to activate the var
answered Aug 7, 2016 at 16:37
As per Q28635548, for my case (working on a virtualized domain Windows 7 client) it helped to use regedit
to (temporarily) modify the
registry key with name
[HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionExplorerUser Shell Folders]Personal
into a directory that is currently available (e.g. some local path when if you’re currently disconnected from the domain)
answered Nov 15, 2016 at 14:19
krevelenkrevelen
3613 silver badges10 bronze badges
We use folder redirection here and have had issues similar to this with other apps (GnuCash, UFile). The problem in our case was a result of a feature called Redirected Folder Migration*, which in some cases did not update the user’s registry settings to point to the new location after the migration was completed (note this migration might occur weeks after the GPO was set).
Anyway, it’s not that the entry was blank, but that it pointed to a SERVERSHARE that had been brought offline weeks earlier.
Running a gpupdate /force
for every active user on every machine fixed our problem, as it updated the registry and then told the user he had to logoff / logon.
*Redirected Folder Migration allows an admin to specify that each user’s (e.g.) My Documents folder should be moved from one network location to another. It does this in a slow, measured fashion, the next time the user logs on to (any workstation on) the domain (so if your last user only logs on a month from now, the process takes a month to complete). It’s a lovely idea in theory, but in practice is a big PITA.
Incidentally, the ‘share doesn’t exist because it’s impersonating another user’ thing shouldn’t be an issue with properly redirected folders because the redirect should use a URL, not a mapped drive letter (e.g. \serverRedirectedUserFoldersSOME-USERMy Documents, although permissions might be an issue if you remove some default rights).
1 / 1 / 1 Регистрация: 20.10.2014 Сообщений: 26 |
|
1 |
|
28.12.2015, 09:59. Показов 18568. Ответов 8
Всем доброго времени суток. Начину издалека. Решил приобрести новый SSD, чтобы был побольше (120gb против 250gb) и чтобы не тормозил по мере заполнения объема оного (был Kingston SSDnow V300, стал SAMSUNG 850 EVO), соответственно встал вопрос переустановки ОСи, что всегда сопровождается неким выходом из зоны комфорта. Но я пересилил себя, и конечном счете ОСь была установлена, и показалось мне, что встала она «криво». В итоге, ОСь была переустановлена еще раз. Как мне показалось, на этот раз все встало нормально. В итоге, были установлены все нужные драйвера, программы, были произведена настройка «под себя», и все бы хорошо. Но во-время установки одного исполнительного файла, появилась следующая ошибка: Миниатюры
0 |
1 / 1 / 1 Регистрация: 20.10.2014 Сообщений: 26 |
|
28.12.2015, 10:34 [ТС] |
2 |
В общем, знатоки, выручайте. p.s. Win. 7 Ultimate x64 (крякнутая) Добавлено через 20 минут В общем, гуглил-гуглил, и как минимум в рунете ничего дельного не нашел.
0 |
Модератор 15221 / 7804 / 734 Регистрация: 03.01.2012 Сообщений: 32,168 |
|
28.12.2015, 12:16 |
3 |
Асоциальный, Проверьте права на папку «Мои документы» (если вы папку перенесли, а потом переустановили ОС, то эта перенесённая папка не перезаписалась аналогичной из новой системы, а её принадлежность старой системе осталась). Надо стать её владельцем из новой системы
0 |
1 / 1 / 1 Регистрация: 20.10.2014 Сообщений: 26 |
|
28.12.2015, 12:30 [ТС] |
4 |
gecata, попробовал, но увы — не помогло. Я первым делом переношу «мои документы» из «С» на «D», так что ничего я не забыл, да и проблемы тогда бы не было. Быть может, будут еще какие-нибудь варианты по решению данной проблемы?
0 |
Модератор 15221 / 7804 / 734 Регистрация: 03.01.2012 Сообщений: 32,168 |
|
28.12.2015, 13:04 |
5 |
Так сколько у вас этих папок на компе (и о какой точно папке речь? как она «официально» называется?)
0 |
1 / 1 / 1 Регистрация: 20.10.2014 Сообщений: 26 |
|
28.12.2015, 13:17 [ТС] |
6 |
Так сколько у вас этих папок на компе (и о какой точно папке речь? как она «официально» называется?) Папка «Мои Документы» может быть только одна, нет? По крайней мере, которую таковой воспринимает система. И называется она соответствующе. Не совсем понимаю вопрос.
0 |
Модератор 15221 / 7804 / 734 Регистрация: 03.01.2012 Сообщений: 32,168 |
|
28.12.2015, 15:00 |
7 |
Ну, во-первых, не одна. А в каждом из профилей по штуке. Во-вторых, её «официальное» имя — Documents (если речь не о библиотеке «Документы»). В-третьих, всё-таки, запустите поиск по всему компьютеру, забив в строчку поиска «Мои Документы» (без кавычек) и выложите скриншот — что получилось
2 |
1 / 1 / 1 Регистрация: 20.10.2014 Сообщений: 26 |
|
28.12.2015, 15:34 [ТС] |
8 |
Не знаю, что это даст, но вот: Миниатюры
0 |
1 / 1 / 1 Регистрация: 20.10.2014 Сообщений: 26 |
|
28.12.2015, 16:13 [ТС] |
9 |
РешениеПроблема была решена правкой реестра на: [HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionExplorerUser Shell Folders] Я уже не помню, какой именно путь был изначально, но других активных папок «Мои Документы» через поиск найдено не было (как видно по скриншоту). Зато после правки реестра на D диске появилась еще одна папка с соответствующим названием (была каким-то хитрым образом скрыта или черт его знает), однако работала она, вероятно, не корректно. В общем, для последующих поколений: суть выше указанной ошибки («Failed to expand shell folder constant userdocs») из первого поста, в проблемах с расположением папки «Мои Документы» (вероятно, из-за моих кривых рук, однако не уверен).
1 |
If you’ve moved the standard Windows folders (for example to a network share) then the installer may crash with the error «Failed to expand shell folder constant userdocs». Here are some workarounds that you can try:
- Try running the installer as administrator (right-click > Run As Administrator).
- Try using the Portable version instead: https://www.unifiedremote.com/download/other
- If you’re dealing with network drives, then this article may help.
If none of the above work, then the only sure way to resolve the issue is to move your Windows folders back to their default locations.
Still need help?
Contact Us
Contact Us
Last updated on April 17, 2017
Обновлено: 28.01.2023
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.
This thread is locked. You can follow the question or vote as helpful, but you cannot reply to this thread.
Report abuse
Harassment is any behavior intended to disturb or upset a person or group of people. Threats include any threat of suicide, violence, or harm to another. Any content of an adult theme or inappropriate to a community web site. Any image, link, or discussion of nudity. Any behavior that is insulting, rude, vulgar, desecrating, or showing disrespect. Any behavior that appears to violate End user license agreements, including providing product keys or links to pirated software. Unsolicited bulk mail or bulk advertising. Any link to or advocacy of virus, spyware, malware, or phishing sites. Any other inappropriate content or behavior as defined by the Terms of Use or Code of Conduct. Any image, link, or discussion related to child pornography, child nudity, or other child abuse or exploitation.
My name is Jeffrey and I am an Independent Advisor. I would be happy to help you today.
Follow these steps:
Press the Start key and type the word CMD or Powershell, right click on the command prompt and select Run as administrator, enter the following commands one by one followed by the Enter key:
•- DISM.exe /Online /Cleanup-image /Scanhealth
•- DISM.exe /Online /Cleanup-image /Restorehealth
•- DISM.exe /online /cleanup-image /startcomponentcleanup
•- sfc /scannow
Report abuse
Harassment is any behavior intended to disturb or upset a person or group of people. Threats include any threat of suicide, violence, or harm to another. Any content of an adult theme or inappropriate to a community web site. Any image, link, or discussion of nudity. Any behavior that is insulting, rude, vulgar, desecrating, or showing disrespect. Any behavior that appears to violate End user license agreements, including providing product keys or links to pirated software. Unsolicited bulk mail or bulk advertising. Any link to or advocacy of virus, spyware, malware, or phishing sites. Any other inappropriate content or behavior as defined by the Terms of Use or Code of Conduct. Any image, link, or discussion related to child pornography, child nudity, or other child abuse or exploitation.
27 people found this reply helpful
Thanks for your feedback, it helps us improve the site.
Thanks for your feedback.
After doing all that, this is what was left in the console:
«Windows Resource Protection did not find any integrity violations.»
Anything else I should do? Thanks for your help.
Report abuse
Harassment is any behavior intended to disturb or upset a person or group of people. Threats include any threat of suicide, violence, or harm to another. Any content of an adult theme or inappropriate to a community web site. Any image, link, or discussion of nudity. Any behavior that is insulting, rude, vulgar, desecrating, or showing disrespect. Any behavior that appears to violate End user license agreements, including providing product keys or links to pirated software. Unsolicited bulk mail or bulk advertising. Any link to or advocacy of virus, spyware, malware, or phishing sites. Any other inappropriate content or behavior as defined by the Terms of Use or Code of Conduct. Any image, link, or discussion related to child pornography, child nudity, or other child abuse or exploitation.
3 people found this reply helpful
Thanks for your feedback, it helps us improve the site.
Thanks for your feedback.
Report abuse
Harassment is any behavior intended to disturb or upset a person or group of people. Threats include any threat of suicide, violence, or harm to another. Any content of an adult theme or inappropriate to a community web site. Any image, link, or discussion of nudity. Any behavior that is insulting, rude, vulgar, desecrating, or showing disrespect. Any behavior that appears to violate End user license agreements, including providing product keys or links to pirated software. Unsolicited bulk mail or bulk advertising. Any link to or advocacy of virus, spyware, malware, or phishing sites. Any other inappropriate content or behavior as defined by the Terms of Use or Code of Conduct. Any image, link, or discussion related to child pornography, child nudity, or other child abuse or exploitation.
1 person found this reply helpful
Thanks for your feedback, it helps us improve the site.
Thanks for your feedback.
I also got the same error as Nullcasting.
I followed your post.
The following is was left in the CMD App.
Windows Resource Protection found corrupt files and successfully repaired them.
For online repairs, details are included in the CBS log file located at
windirLogsCBSCBS.log. For example C:WindowsLogsCBSCBS.log. For offline
repairs, details are included in the log file provided by the /OFFLOGFILE flag.
Checked the folder, the Log is quite large. Never saw that large of a amount from a scan of any kind.
Quite a detailed report.
I did have some issues with a update slowing things down last week and weekend.
Went back to previous version of Windows 10, build 19025 vb release 19112-1414.
Failed to expand shell folder constant userdocs
Всем доброго времени суток. Начину издалека. Решил приобрести новый SSD, чтобы был побольше.
Internal error: Failed to expand shell folder constant «localappdata»
Люди, помогите! Стало появлятся окно:Internal error: Failed to expand shell folder constant.
В командной строке от имени администратора выполните SET
Вывод команды сюда.
vavun, спасибо за ответ! завтра отпишусь. сегодня все уже разошлись по домам.
Добавлено через 15 часов 31 минуту
Microsoft Windows [Version 6.1.7601]
(c) Корпорация Microsoft (Microsoft Corp.), 2009. Все права защищены.
Драйвера обнови. Но знай обновление драйвера на разных устройствах может повести по разному.
Видеокарты? Как и где можно это обновить? Я пытался нажал обновить драйвера а компютер пишет что все необходимые драйвера установлены :/
перевел бы сначала
Не удалось развернуть константу папки оболочки » userdocs»
Это я уже перевёл, но что делать надо? Обновлять драйвера видео карты? Где? и Как?
пи100лет Просветленный (22806) карта тут ни при чем, скорее с путем установки что то
Люди, помогите! Стало появлятся окно:Internal error: Failed to expand shell folder constant «localappdata» Что это такое и как его можно убрать?
Failed to expand shell folder constant userdocs
Всем доброго времени суток. Начину издалека. Решил приобрести новый SSD, чтобы был побольше.
Direct 3D Device9:Present failed: Driver internal error
При запуске игры появляется окно "Direct 3D Device9:Present failed: Driver internal error. .
Failed to load resource: the server responded with a status of 500 (Internal Server Error)
Расположил скрипт в /public_html,указал директорию для парсинга путей к картинкам.
Читайте также:
- Conan exiles battleye ошибка
- Stalker lost path вылетает
- Как поменять ник в cs go
- Как убрать курсор в rainbow six siege
- Diablo 2 ошибка c000000d
Содержание
- Internal error failed to expand shell folder constant userdocs
- Internal error failed to expand shell folder constant userdocs
- Internal error failed to expand shell folder constant userdocs
- Как избежать ошибок «Не удалось раскрыть папку оболочки с константой userdocs» в Inno Setup
- Internal error failed to expand shell folder constant userdocs
I’m trying to run the Windows installer for Xojo ADK but I’m getting an error as described in the subject. I’m using the defaults for all options in the installer. This is on Windows 10. I’ve attached a screen shot of the installer error.
What am I overlooking? Do I need to uninstall previous versions of Valentina?
I don’t run Xojo in Windows. The only reason I need to install is so I can grab the Vcomponents files for my app installation.
Is the Documents folder mapped to a non-standard location (not the C:UsersusernameDocuments, for example)?
The path appears to be C:UsersAdministratorDocuments
Administrator is the account I sign on with.
That’s strange, yes, I think it makes a difference, we’ll check it.
Problem solved. It was a mapping problem. It appears there was some kind of alias for the Documents folder pointing to a shared drive that no longer existed. I think this was a carryover from a previous installation of Windows 8 with VMWare.
It would show in the Windows Explorer sidebar but would give an error when I clicked on it saying it was not connected. I removed that and now the installer is working as expected.
Источник
Internal error failed to expand shell folder constant userdocs
I’m trying to run the Windows installer for Xojo ADK but I’m getting an error as described in the subject. I’m using the defaults for all options in the installer. This is on Windows 10. I’ve attached a screen shot of the installer error.
What am I overlooking? Do I need to uninstall previous versions of Valentina?
I don’t run Xojo in Windows. The only reason I need to install is so I can grab the Vcomponents files for my app installation.
Is the Documents folder mapped to a non-standard location (not the C:UsersusernameDocuments, for example)?
The path appears to be C:UsersAdministratorDocuments
Administrator is the account I sign on with.
That’s strange, yes, I think it makes a difference, we’ll check it.
Problem solved. It was a mapping problem. It appears there was some kind of alias for the Documents folder pointing to a shared drive that no longer existed. I think this was a carryover from a previous installation of Windows 8 with VMWare.
It would show in the Windows Explorer sidebar but would give an error when I clicked on it saying it was not connected. I removed that and now the installer is working as expected.
Источник
Internal error failed to expand shell folder constant userdocs
I’m trying to run the Windows installer for Xojo ADK but I’m getting an error as described in the subject. I’m using the defaults for all options in the installer. This is on Windows 10. I’ve attached a screen shot of the installer error.
What am I overlooking? Do I need to uninstall previous versions of Valentina?
I don’t run Xojo in Windows. The only reason I need to install is so I can grab the Vcomponents files for my app installation.
Is the Documents folder mapped to a non-standard location (not the C:UsersusernameDocuments, for example)?
The path appears to be C:UsersAdministratorDocuments
Administrator is the account I sign on with.
That’s strange, yes, I think it makes a difference, we’ll check it.
Problem solved. It was a mapping problem. It appears there was some kind of alias for the Documents folder pointing to a shared drive that no longer existed. I think this was a carryover from a previous installation of Windows 8 with VMWare.
It would show in the Windows Explorer sidebar but would give an error when I clicked on it saying it was not connected. I removed that and now the installer is working as expected.
Источник
Как избежать ошибок «Не удалось раскрыть папку оболочки с константой 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 Мои документы, хотя при удалении некоторых прав по умолчанию могут возникнуть проблемы с разрешениями).
Источник
Internal error failed to expand shell folder constant userdocs
I’m trying to run the Windows installer for Xojo ADK but I’m getting an error as described in the subject. I’m using the defaults for all options in the installer. This is on Windows 10. I’ve attached a screen shot of the installer error.
What am I overlooking? Do I need to uninstall previous versions of Valentina?
I don’t run Xojo in Windows. The only reason I need to install is so I can grab the Vcomponents files for my app installation.
Is the Documents folder mapped to a non-standard location (not the C:UsersusernameDocuments, for example)?
The path appears to be C:UsersAdministratorDocuments
Administrator is the account I sign on with.
That’s strange, yes, I think it makes a difference, we’ll check it.
Problem solved. It was a mapping problem. It appears there was some kind of alias for the Documents folder pointing to a shared drive that no longer existed. I think this was a carryover from a previous installation of Windows 8 with VMWare.
It would show in the Windows Explorer sidebar but would give an error when I clicked on it saying it was not connected. I removed that and now the installer is working as expected.
Источник