Внутренняя ошибка failed to expand shell folder localappdata

Обновлено: 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

Содержание

  1. Internal error failed to expand shell folder constant userdocs
  2. Internal error failed to expand shell folder constant userdocs
  3. Internal error failed to expand shell folder constant userdocs
  4. Как избежать ошибок «Не удалось раскрыть папку оболочки с константой userdocs» в Inno Setup
  5. Internal error failed to expand shell folder constant userdocs

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.

Источник

0 / 0 / 0

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

Сообщений: 22

1

09.06.2014, 22:25. Показов 11383. Ответов 58


Студворк — интернет-сервис помощи студентам

Люди, помогите! Стало появлятся окно:Internal error: Failed to expand shell folder constant «localappdata» Что это такое и как его можно убрать?



0



14341 / 6169 / 327

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

Сообщений: 20,691

09.06.2014, 22:42

2

«восстановление системы» — если не отключено.



0



0 / 0 / 0

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

Сообщений: 22

09.06.2014, 22:47

 [ТС]

3

А подробнее? Я не сильно шарю в этих делах



0



Модератор

Эксперт Windows

8716 / 3341 / 244

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

Сообщений: 13,601

10.06.2014, 06:30

4



0



0 / 0 / 0

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

Сообщений: 22

10.06.2014, 22:12

 [ТС]

5

Спасибо!

Добавлено через 55 минут
А, блииииин! Нет. Опять это окно появилось! Сделала всё по инструкции. Я в растройстве! Что теперь делать?



0



vavun

10571 / 5535 / 864

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

Сообщений: 15,660

10.06.2014, 22:59

6

Skrepka, откройте командную строку и введите

Bash
1
echo %LOCALAPPDATA%

Должна появится строка вида
C:Users<ваша учетка>AppDataLocal

Есть такая ?

Проверьте существует ли она на самом деле (скрытая, системная)

Проверить можно так
(командная строка)

Bash
1
explorer %LOCALAPPDATA%

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



0



0 / 0 / 0

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

Сообщений: 22

11.06.2014, 21:21

 [ТС]

7

Я почему то у себя в командной строке не могу найти этот Код Bash?



0



10571 / 5535 / 864

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

Сообщений: 15,660

11.06.2014, 21:31

8

Какой bash ? о_О Я команду BB-кодом выделил (традиция такая)
Вы хоть на скрин посмотрите.

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



1



0 / 0 / 0

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

Сообщений: 22

13.06.2014, 20:43

 [ТС]

9

У меня вышло: «echo %LOCALAPPDATA% Не существует или не является каталогом»
Что дальше?



0



10571 / 5535 / 864

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

Сообщений: 15,660

13.06.2014, 20:53

10

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

У меня вышло: «echo %LOCALAPPDATA% Не существует или не является каталогом»
Что дальше?

Покажите что у вас в реестре вот тут ?

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

Далее

Выполните в командной строке
explorer C:Users%USERNAME%AppDataLocal
Должна открыться соответствующая папка

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

Если не открылась, то поищите вручную (AppData скрытая)



0



14341 / 6169 / 327

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

Сообщений: 20,691

13.06.2014, 20:58

11

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

Выполните в командной строке explorer C:Users%USERNAME%AppDataLocal

лучше — Пуск — поле поиска — и вводим.



0



0 / 0 / 0

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

Сообщений: 22

13.06.2014, 21:11

 [ТС]

12

редактор реестра во вложении



0



10571 / 5535 / 864

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

Сообщений: 15,660

13.06.2014, 21:15

13

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

редактор реестра во вложении

А где вложение то ?



0



0 / 0 / 0

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

Сообщений: 22

13.06.2014, 21:26

 [ТС]

14

Я еще не могу толком разобрать в вашем форуме. Вложение не отправляется. Пишет, что превышает размер 100 мб.
По этой папке explorer C:Users%USERNAME%AppDataLocal пишет не существует или не является каталогом….



0



10571 / 5535 / 864

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

Сообщений: 15,660

13.06.2014, 21:32

15

Skrepka, попробуйте через другой браузер, может баг.

инструкция GIF

https://www.cyberforum.ru/attachments/396747d1399634535

Нужно увидеть ваш реестр (ветку HKEY_CURRENT_USERVolatile Environment) как на скрине.
Жду скриншота. (или сделайте экспорт ветки (ПКМ экспортировать) и отправьте содержимое *.reg файла просто, как текст)

И в третий раз спрашиваю: существует ли папка local в вашем профиле ?

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



0



0 / 0 / 0

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

Сообщений: 22

13.06.2014, 21:45

 [ТС]

16

Через поиск я нашла 2 папки CommonAppData в папке С:Documents and SettingsAdminLocal SettingstempNero0200120 Может быть это из-за нерки выскакивает. удалить ее может быть? У меня с вложением беда……



0



14341 / 6169 / 327

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

Сообщений: 20,691

13.06.2014, 21:49

17

Skrepka, у Вас, какая Операционная система установлена?



1



vavun

13.06.2014, 21:50

Не по теме:

dzu, теперь уже ясно, что хрюша
А в хрюше нету LOCALAPPDATA. Видать софт появился, который не поддерживает ХР



0



14341 / 6169 / 327

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

Сообщений: 20,691

13.06.2014, 21:53

19

Не по теме:

vavun, для убедительности ..а то ищем невесть что .

Добавлено через 1 минуту
автозагрузку смотреть нужно.



0



0 / 0 / 0

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

Сообщений: 22

13.06.2014, 21:54

 [ТС]

20

Microsoft zverdvd



0



Internal Error: “Failed to Expand Shell Folder Constant”

SYMPTOMS

While installing Genie Backup Manager (GBM) on Windows Vista, the following error occurs with the message:

Internal Error: Failed to expand shell folder constant “userappdata”

CAUSE

This problem is caused by a Vista conflict.

RESOLUTION

Set the My Documents folder to its default values as follows:

Using Windows Explorer, right-click the My Documents folder → Properties → Select the option for returning the position to its default value.

C:Documents and settings → All Users Documents → under properties you will see attributes and the settings for “read-only”

Setting back the default value for My Documents is just a workaround, which usually fixes the default read/write rights for the My Documents folder.

APPLIES TO: Genie Backup Manager (GBM).

Failed to expand shell folder constant userdocs

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

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

Internal error. Failed to expand shell folder constant «userstartup»
Всем привет, уважаемые форумчане! возникла проблема при установке приложения на компьютер. скрин в.

Internal error: Failed to expand shell folder constant «localappdata»
Люди, помогите! Стало появлятся окно:Internal error: Failed to expand shell folder constant.

Не видит стили при ЧПУ по адресу вида http://host/index.php/some-folder/other-folder
Собственно как? Сервер проглатывает такую строку, а вот пхп начинает чудить, не видит таблиц.

Expected constant expression; cannot allocate an array of constant size 0
Доброго утра. Народ помогите, вот программа оформлена в виде функции #include #include.

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

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

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

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

Источник

internal error — failed to expand shell folder constant «user docs

You have mentioned that you don’t remember the location so, created a new folder with the same name which will not work. Try the below methods.

METHOD 1

1. Right Click on Start

2. Select Explore from the Menu

3. Click on the Users Folder and see if you are able to find the folder.

METHOD 2

Type this command %USERPROFILE%Documents in the start search box and check if you are able to find the folder.

METHOD 3

· Click on Start and in the start search box type regedit and press enter

· Go to the location HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionExplorerUser Shell Folders

Once “User Shell Folders” is highlighted, right click that key and select export and save that to your computer as a backup.

Once you have exported that key, select “User Shell Folder” and on the right pane locate Personal and see what the path is set to. Set it to the default which will be %USERPROFILE%Documents (Double click Personal to change the Value). If the Personal is missing from there you are going to create it. Follow the steps below.

While User Shell Folders is still highlighted, in that right pane right click an open area and select new, then Expandable String Value. Once that Value is created (Personal), right click that new Value and select modify. In the Value data field type or copy and paste the following as the Value %USERPROFILE%Documents and click ok.

For more information visit

Thanks and Regards,

Bindu S: MICROSOFT SUPPORT
Visit our Microsoft Answers Feedback Forum and let us know what you think.

Источник

Avoiding “Failed to expand shell folder constant userdocs” errors in Inno Setup

I install some sample documents into a ‘PerfectTablePlan’ sub-folder of the standard ‘My documents’ folder on Windows. This works fine for 99%+ of users. But if a user doesn’t have a ‘My documents’ folder I get a number of ugly error messages of the form:

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

This is not very confidence inspiring for the user!

It is acceptable to not install the samples for these users (or install them somewhere else). But not to show the ugly error messages.

The problem seems to come from the ExpandConstant macro expansion of .

Is there some way I can get the path of ‘My documents’ without using a macro?

Or some way to suppress the error message? ExpandConstant throws an exception: http://www.jrsoftware.org/ishelp/index.php?topic=isxfunc_expandconstant

The relevant parts of my .iss file looks like this:

2 Answers 2

Failed to expand shell folder constant ‘constant name’

is raised when the internally called SHGetFolderPath function (called from inside ExpandConstant when expanding a shell folder constant) returns an empty path string for the given folder CSIDL, in this case for the CSIDL_PERSONAL identifier.

That means the user doesn’t have the CSIDL_PERSONAL folder. It makes me wonder how can one configure Windows’ user account to not have that folder. Well, you can workaround this issue (or Windows misconfiguration ?) by catching the raised internal exception in the try..except block:

But I’ve never heard about possibility of not having the CSIDL_PERSONAL folder. Please note, that the above code protects only the constant.

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.

Источник

  • Remove From My Forums
  • Вопрос

  • I get Internal error:message failed to expand shell folder constant «userappdata» can anyone help please can’t afford to take it in to have fixed.

    Thank You

Ответы

  • Hi chazzy1957,

    What actions has been done before this error occurred?

    Any error messages logged in
    Event Viewer?

    For the error messages you shared above, please take a check at the following two registry settings:

    • HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionExplorerUser Shell Folders

    • HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionExplorerUser Shell Folders

    Specially for the AppData value, make sure it is %USERPROFILE%AppDataRoaming.

    You may follow the steps mentioned in the article below:

    You receive an «Error 1606» error message when you try to install or remove a Microsoft program

    Also remember to run a full PC scan.

    Best regards


    Michael Shao
    TechNet Community Support

    • Изменено

      13 января 2015 г. 8:13

    • Предложено в качестве ответа
      Cloud_TS
      22 января 2015 г. 5:24
    • Помечено в качестве ответа
      Cloud_TS
      26 января 2015 г. 1:12

Возможно, вам также будет интересно:

  • Внутренняя ошибка программы установки свяжитесь со службой техподдержки alcohol 120
  • Внутренняя ошибка failed to expand shell folder constant userdocs как исправить
  • Внутренняя ошибка failed to expand shell folder constant userdocs war thunder
  • Внутренняя ошибка failed to expand shell folder constant userdesktop
  • Внутренняя ошибка failed to expand shell folder constant fonts

  • Понравилась статья? Поделить с друзьями:
    0 0 голоса
    Рейтинг статьи
    Подписаться
    Уведомить о
    guest

    0 комментариев
    Старые
    Новые Популярные
    Межтекстовые Отзывы
    Посмотреть все комментарии