- Remove From My Forums
-
Question
-
I was working with VS 2017 earlier today, then it closed. When I tried to reopen I got the error:
«A problem occurred when loading the Microsoft Visual Studio menu. To fix this problem, run ‘devenv.exe /resetsettings’ from the command prompt. Note this command resets your environment settings.
I ran the command as the administrator and it does not work, any suggestions?
Answers
-
Hi Azryel242,
Thank you for posting in MSDN forum!
According to the error message, please check
this similar issue and have a try with the following:
- Check the System Environment Variables and see if there have a string which was over 2048 characters or not, if it is exists, making sure this is below 2048 characters, it will solve the problem.
Make sure you restart explorer.exe after changing the path variables and getting them under 2048 characters. - Clean up all folders and files under the folder: %LocalAppData%\Microsoft\VisualStudio\15.0_xxx\ and restart the VS 2017 to check it again.
- Reboot the computer and open VS 2017
- Re-run the VS installer as administrator and More-Repair
Hope my answer would be helpful and looking forwards your reply.
Best Regards,
Sara
MSDN Community Support Please remember to click «Mark as Answer» the responses that resolved your issue, and to click «Unmark as Answer» if not. This can be beneficial to other community members reading this thread. If you have any
compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com-
Marked as answer by
Thursday, January 31, 2019 3:59 PM
- Check the System Environment Variables and see if there have a string which was over 2048 characters or not, if it is exists, making sure this is below 2048 characters, it will solve the problem.
На чтение 3 мин. Просмотров 74 Опубликовано 15.12.2019
Файл devenv.exe из Microsoft Corporation является частью Microsoft Development Environment. devenv.exe, расположенный в c:Program FilesMicrosoft Visual StudioCOMMONIDEIDE98 с размером файла 264464.00 байт, версия файла 6.00.8167 , подпись 4F0AF04245330AB3B3C19A34285165CA.
В вашей системе запущено много процессов, которые потребляют ресурсы процессора и памяти. Некоторые из этих процессов, кажется, являются вредоносными файлами, атакующими ваш компьютер.
Чтобы исправить критические ошибки devenv.exe,скачайте программу Asmwsoft PC Optimizer и установите ее на своем компьютере
Содержание
- 1- Очистите мусорные файлы, чтобы исправить devenv.exe, которое перестало работать из-за ошибки.
- 2- Очистите реестр, чтобы исправить devenv.exe, которое перестало работать из-за ошибки.
- 3- Настройка Windows для исправления критических ошибок devenv.exe:
- Как вы поступите с файлом devenv.exe?
- Некоторые сообщения об ошибках, которые вы можете получить в связи с devenv.exe файлом
- DEVENV.EXE
- процессов:
1- Очистите мусорные файлы, чтобы исправить devenv.exe, которое перестало работать из-за ошибки.
- Запустите приложение Asmwsoft Pc Optimizer.
- Потом из главного окна выберите пункт «Clean Junk Files».
- Когда появится новое окно, нажмите на кнопку «start» и дождитесь окончания поиска.
- потом нажмите на кнопку «Select All».
- нажмите на кнопку «start cleaning».
2- Очистите реестр, чтобы исправить devenv.exe, которое перестало работать из-за ошибки.
3- Настройка Windows для исправления критических ошибок devenv.exe:
- Нажмите правой кнопкой мыши на «Мой компьютер» на рабочем столе и выберите пункт «Свойства».
- В меню слева выберите » Advanced system settings».
- В разделе «Быстродействие» нажмите на кнопку «Параметры».
- Нажмите на вкладку «data Execution prevention».
- Выберите опцию » Turn on DEP for all programs and services . » .
- Нажмите на кнопку «add» и выберите файл devenv.exe, а затем нажмите на кнопку «open».
- Нажмите на кнопку «ok» и перезагрузите свой компьютер.
Всего голосов ( 40 ), 23 говорят, что не будут удалять, а 17 говорят, что удалят его с компьютера.
Как вы поступите с файлом devenv.exe?
(devenv.exe) столкнулся с проблемой и должен быть закрыт. Просим прощения за неудобство.
(devenv.exe) перестал работать.
devenv.exe. Эта программа не отвечает.
(devenv.exe) — Ошибка приложения: the instruction at 0xXXXXXX referenced memory error, the memory could not be read. Нажмитие OK, чтобы завершить программу.
(devenv.exe) не является ошибкой действительного windows-приложения.
(devenv.exe) отсутствует или не обнаружен.
Проверьте процессы, запущенные на вашем ПК, используя базу данных онлайн-безопасности. Можно использовать любой тип сканирования для проверки вашего ПК на вирусы, трояны, шпионские и другие вредоносные программы.
процессов:
Cookies help us deliver our services. By using our services, you agree to our use of cookies.
1. У Вас на компьютере Microsoft Visual Studio установлен? Не знаете, что это такое? Тогда удаляйте — Вам он ни к чему. Если нужен — переустановите, сделайте обновление или удалите и установите другую версию (самая лучшая, на мой взгляд, 2012 Ultimate, могу подарить лицензионную, пишите в почту тогда) .
2. Возможно, вирус. Проверьте компьютер антивирусом, а также посмотрите его автозагрузку. Можно сделать вручную (меню Пуск и реестр) , но лучше специальными программами, например, CleanGenius или Advanced SystemCare. Лучше вообще оттуда всё удалить — из автозагрузке, потому что реально там ничего обычно не нужно, только ЦП жрать да память.
Быстро зарегистрирует DLL в системе и исправит ошибки
Быстро зарегистрирует DLL в системе и исправит ошибки
We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”, you consent to the use of ALL the cookies.
Платформа | Файл | Продукт | Язык | Описание |
---|---|---|---|---|
32bit Windows 2000 |
VsLogP.dll v. 8.0.50727.42 |
Microsoft Visual Studio 2005 v. 8.0.50727.42 |
English (U.S.) | Microsoft Visual Studio 2005 |
Cookie | Duration | Description |
---|---|---|
cookielawinfo-checkbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category «Analytics». |
cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category «Functional». |
cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category «Necessary». |
cookielawinfo-checkbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category «Other. |
cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category «Performance». |
viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |
Problem is with security setting .
After 2-3 hours of Googling i found many solution but none of them work then i tried these solutions .
There is one folder in your machine: "C:\ProgramData".
Don't worry if you don't see this folder, unhide all the folders, you will find it there.
I did not had the rights on "C:\ProgramData\Microsoft\VisualStudio" .
See if you have full rights on the same.
If your are not able to open this folder, This means that you do not have rights on this.
to give rights follow the steps below :
1) Right click on the folder "VisualStudio."
2) Go to Properties->Security. See if your PC name is there in the user names list,
if not , then add it.
3) Go to Advanced -> Owner -> Edit -> Other users or groups. add your PC name,
i.e add yourself as the owner of the folder and give full rights.
Which is found here Application-data-folder-error . I was unable to change security of ProgramData files then i tried this solution .
1. On the root folder, right click, select properties, select security tab.
2. Click Advanced
3. The window that pops up should show the current owner. Click "Change."
The "Select User or Group" pop up box appears.
4. In the text box, type in your current user name (you should be an admin), and hit the
"Check Names" button. Your name will be replaced with the "official" system
name (i.e.,preceded by computer name and back slash).
5. Click OK
6. The box disappears, sending you back to the Advanced Security Settings window.
7. A new tick box appears below owner, with the text "Replace owner on subcontainers and
objects" Select this tick box.
8. I also selected the tick box "Replace all child object permission entries
with inheritable permission entries from this object", but I think I had to run this twice
- once with this box ticked and once without.
9. Make sure that "everyone" appears on the Permission entries window, if not,
click add. The same box that appears in step 4 shows up again.
Type everyone, click "Check Names" and then "OK"
10. Hit apply
which is found here Permission error.
Finally it works cheers Hope it will help to some other .
Scenario:
- Open Visual Studio 2019 Developer Command Prompt v16.3.5
cd c:\some_solution
devenv.exe libogg.sln /Build
- devenv.exe immediately exits instead of build! Very disappointed…
.
Why and how to solve?
P.S. In GUI mode VS builds libogg.sln
as expected.
P.P.S. Product info:
Microsoft Visual Studio Community 2019
Version 16.3.5
VisualStudio.16.Release/16.3.5+29411.108
Microsoft .NET Framework
Version 4.8.03752
asked Oct 23, 2019 at 20:35
1
devenv.exe will work, but will not direct output to the console. Use devenv.com if you want to see the output.
Commands that begin with devenv are handled by the devenv.com utility, which delivers output through standard system streams, such as stdout and stderr. The utility determines the appropriate I/O redirection when it captures output, for example to a .txt file.
Alternatively, commands that begin with devenv.exe can use the same switches, but the devenv.com utility is bypassed. Using devenv.exe directly prevents output from appearing on the console.
https://learn.microsoft.com/en-us/visualstudio/ide/reference/devenv-command-line-switches
answered Dec 22, 2020 at 17:48
Yes this is exit immediately, but it is doing its operation on our backend, actually, it is building the package. you can verify this from your File Explorer. If you want to know what is exactly happening while applying devenv.exe *.sln /Build
then you have to use devenv.com *.sln /Build
. this command will give you a detailed log while it’s running.
answered Apr 22, 2022 at 9:17
chiducafchiducaf
7735 silver badges8 bronze badges
Информация о файле | Описание |
---|---|
Размер файла: | 557 kB |
Дата и время изменения файла: | 2019:12:02 17:14:41+00:00 |
Тип файла: | Win32 EXE |
Тип MIME: | application/octet-stream |
Тип компьютера: | Intel 386 or later, and compatibles |
Метка времени: | 2010:03:18 10:04:35+00:00 |
Тип PE: | PE32 |
Версия компоновщика: | 10.0 |
Размер кода: | 274944 |
Размер инициализированных данных: | 291328 |
Размер неинициализированных данных: | 0 |
Точка входа: | 0x1e80d |
Версия ОС: | 5.1 |
Версия образа: | 10.0 |
Версия подсистемы: | 5.1 |
Подсистема: | Windows GUI |
Номер версии файла: | 10.0.30319.1 |
Номер версии продукта: | 10.0.30319.1 |
Маска флагов файлов: | 0x003f |
Флаги файлов: | (none) |
Файловая ОС: | Win32 |
Тип объектного файла: | Executable application |
Подтип файла: | 0 |
Код языка: | English (U.S.) |
Набор символов: | Unicode |
Наименование компании: | Microsoft Corporation |
Описание файла: | Microsoft Visual Studio 2010 |
Версия файла: | 10.0.30319.1 built by: RTMRel |
Внутреннее имя: | devenv.exe |
Авторское право: | © Microsoft Corporation. All rights reserved. |
Название продукта: | Microsoft® Visual Studio® 2010 |
Версия продукта: | 10.0.30319.1 |
✻ Фрагменты данных файлов предоставлены участником Exiftool (Phil Harvey) и распространяются под лицензией Perl Artistic.