I had the same problem;
Go to 'c:\Users\hp\.vscode\extensions\extensions.json' on your computer and rename the extensions.json file you can add an extra s to make it extensionss.json. Then go back to vscode and install the extension of your choice, a new extensions.json file will be created.
You can go ahead and delete the extensionss.json file.
All the best!
Answer from Emmanuel Kwoba on learn.microsoft.comI had the same problem;
Go to 'c:\Users\hp\.vscode\extensions\extensions.json' on your computer and rename the extensions.json file you can add an extra s to make it extensionss.json. Then go back to vscode and install the extension of your choice, a new extensions.json file will be created.
You can go ahead and delete the extensionss.json file.
All the best!
Hello @Rishant Jayaswal ,
Welcome to Microsoft Q&A forum.
The error message indicates that operation not permitted, perhaps it’s blocked by permission limitation. Please find the file(s) that mentioned in error message, right-click the file, select Properties, switch to Security tab, select the corresponding user, click Edit…, confirm that the account has been assigned the proper permissions.
Try to reboot your machine and directly open VS Code and install the extension(in case the file is locked by other program/process).
Besides, is there any permission limitation on your machine? Are you using any antivirus software/extension/proxy? If so, please try to disable them temporarily and test again.
Best Regards,
Tianyu
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
I don't know how this happened, but I ran into the same issue. I just checked the output of Log (Shared) in the vs code terminal, and I saw the following:
[2019-10-04 11:53:59.071] [sharedprocess] [info] Installing extension: myxvisual.vscode-ts-uml
[2019-10-04 11:53:59.075] [sharedprocess] [error] Failed to install extension: myxvisual.vscode-ts-uml EACCES: permission denied, open '/Users/sgtpooki/.vscode/extensions/.obsolete'
[2019-10-04 11:53:59.343] [sharedprocess] [info] Installing extension: myxvisual.vscode-ts-uml
[2019-10-04 11:53:59.345] [sharedprocess] [error] Failed to install extension: myxvisual.vscode-ts-uml EACCES: permission denied, open '/Users/sgtpooki/.vscode/extensions/.obsolete'
[2019-10-04 11:53:59.627] [sharedprocess] [info] Installing extension: myxvisual.vscode-ts-uml
[2019-10-04 11:53:59.630] [sharedprocess] [error] Failed to install extension: myxvisual.vscode-ts-uml EACCES: permission denied, open '/Users/sgtpooki/.vscode/extensions/.obsolete'
[2019-10-04 11:53:59.771] [sharedprocess] [info] Installing extension: myxvisual.vscode-ts-uml
[2019-10-04 11:53:59.776] [sharedprocess] [error] Failed to install extension: myxvisual.vscode-ts-uml EACCES: permission denied, open '/Users/sgtpooki/.vscode/extensions/.obsolete'
[2019-10-04 11:54:00.034] [sharedprocess] [info] Installing extension: myxvisual.vscode-ts-uml
[2019-10-04 11:54:00.036] [sharedprocess] [error] Failed to install extension: myxvisual.vscode-ts-uml EACCES: permission denied, open '/Users/sgtpooki/.vscode/extensions/.obsolete'
[2019-10-04 11:54:00.184] [sharedprocess] [info] Installing extension: myxvisual.vscode-ts-uml
[2019-10-04 11:54:00.186] [sharedprocess] [error] Failed to install extension: myxvisual.vscode-ts-uml EACCES: permission denied, open '/Users/sgtpooki/.vscode/extensions/.obsolete'
[2019-10-04 11:54:00.472] [sharedprocess] [info] Installing extension: myxvisual.vscode-ts-uml
[2019-10-04 11:54:00.475] [sharedprocess] [error] Failed to install extension: myxvisual.vscode-ts-uml EACCES: permission denied, open '/Users/sgtpooki/.vscode/extensions/.obsolete'
[2019-10-04 11:54:00.760] [sharedprocess] [info] Installing extension: myxvisual.vscode-ts-uml
[2019-10-04 11:54:00.762] [sharedprocess] [error] Failed to install extension: myxvisual.vscode-ts-uml EACCES: permission denied, open '/Users/sgtpooki/.vscode/extensions/.obsolete'
[2019-10-04 11:54:00.911] [sharedprocess] [info] Installing extension: myxvisual.vscode-ts-uml
[2019-10-04 11:54:00.914] [sharedprocess] [error] Failed to install extension: myxvisual.vscode-ts-uml EACCES: permission denied, open '/Users/sgtpooki/.vscode/extensions/.obsolete'
[2019-10-04 11:54:01.174] [sharedprocess] [info] Installing extension: myxvisual.vscode-ts-uml
[2019-10-04 11:54:01.176] [sharedprocess] [error] Failed to install extension: myxvisual.vscode-ts-uml EACCES: permission denied, open '/Users/sgtpooki/.vscode/extensions/.obsolete'
[2019-10-04 11:54:01.381] [sharedprocess] [info] Installing extension: myxvisual.vscode-ts-uml
[2019-10-04 11:54:01.383] [sharedprocess] [error] Failed to install extension: myxvisual.vscode-ts-uml EACCES: permission denied, open '/Users/sgtpooki/.vscode/extensions/.obsolete'
Idk what this file is, but I checked, and it had the following permissions:
$ ls -lhatr /Users/sgtpooki/.vscode/extensions
total 8
drwxr-xr-x 3 sgtpooki ANT\Domain Users 96B Jul 17 11:39 ..
drwxr-xr-x 11 sgtpooki ANT\Domain Users 352B Aug 1 12:39 orta.vscode-jest-3.0.2
drwxr-xr-x 11 sgtpooki ANT\Domain Users 352B Aug 14 21:18 esbenp.prettier-vscode-1.9.0
drwxr-xr-x 11 sgtpooki ANT\Domain Users 352B Aug 16 15:45 jvandyke.vscode-circleci-0.5.0
drwxr-xr-x 11 sgtpooki ANT\Domain Users 352B Aug 20 12:58 dbaeumer.vscode-eslint-1.9.1
drwxr-xr-x 19 sgtpooki ANT\Domain Users 608B Aug 21 16:18 gruntfuggly.todo-tree-0.0.142
drwxr-xr-x 11 sgtpooki ANT\Domain Users 352B Aug 21 16:18 fabiospampinato.vscode-github-notifications-bell-2.3.0
drwxr-xr-x 26 root ANT\Domain Users 832B Aug 22 16:00 jebbs.plantuml-2.11.2
drwxr-xr-x 15 root ANT\Domain Users 480B Aug 23 12:18 esbenp.prettier-vscode-1.10.0
drwxr-xr-x 10 root ANT\Domain Users 320B Aug 23 13:11 myxvisual.vscode-ts-uml-1.0.4
drwxr-xr-x 12 sgtpooki ANT\Domain Users 384B Aug 23 13:11 .
-rw-r--r-- 1 root ANT\Domain Users 37B Aug 26 11:14 .obsolete
So I deleted it.. then I tried installing the extension again:
[2019-10-04 11:54:13.024] [sharedprocess] [info] Starting to clean up unused language packs.
[2019-10-04 11:55:20.951] [sharedprocess] [info] Installing extension: myxvisual.vscode-ts-uml
[2019-10-04 11:55:23.088] [sharedprocess] [info] Downloaded extension: myxvisual.vscode-ts-uml /var/folders/0j/swbv2kwd7mgbhtp39k6dk94w277jgc/T/4288560a-75a5-4066-ba05-44cdbd470e3a
[2019-10-04 11:55:23.115] [sharedprocess] [error] Failed to install extension: myxvisual.vscode-ts-uml Unable to delete the existing folder '/Users/sgtpooki/.vscode/extensions/myxvisual.vscode-ts-uml-1.0.4' while installing the extension 'myxvisual.vscode-ts-uml'. Please delete the folder manually and try again
soo... then I deleted that folder:
sudo rm -rf /Users/sgtpooki/.vscode/extensions/myxvisual.vscode-ts-uml-1.0.4
Then I tried installing the extension again and it worked.
[2019-10-04 11:56:02.127] [sharedprocess] [info] Installing extension: myxvisual.vscode-ts-uml
[2019-10-04 11:56:02.472] [sharedprocess] [info] Downloaded extension: myxvisual.vscode-ts-uml /var/folders/0j/swbv2kwd7mgbhtp39k6dk94w277jgc/T/7fd93d6c-a5eb-4191-8935-cd7f349a769a
[2019-10-04 11:56:03.052] [sharedprocess] [info] Extracted extension to /Users/sgtpooki/.vscode/extensions/.myxvisual.vscode-ts-uml-1.0.4: myxvisual.vscode-ts-uml
[2019-10-04 11:56:03.053] [sharedprocess] [info] Renamed to /Users/sgtpooki/.vscode/extensions/myxvisual.vscode-ts-uml-1.0.4
[2019-10-04 11:56:03.054] [sharedprocess] [info] Installation completed. myxvisual.vscode-ts-uml
[2019-10-04 11:56:03.094] [sharedprocess] [info] Extensions installed successfully: myxvisual.vscode-ts-uml
I have no idea how I got into this state, but I did, and out of all of the similar issues found online, no one else seems to have run into this particular version, but hopefully this helps you solve your issue.
At the very least, check the output tab in the vs code terminal, and toggle the different terminals in the top right:

- Go to Control Panel > Network and Sharing Center > Choose Change Adapter Settings (On the left)
- Choose the network you're using (Your WiFi or Ethernet)
- Go to properties > Choose Internet Protocol Version 4 (TCP/IPv4)
- Choose the following DNS server adresses:
- Prefered DNS server :
8.8.8.8 - Alternate DNS server :
8.8.4.4
- Prefered DNS server :
- Press OK and find Internet Protocol Version 6 (TCP/IPv6)
- Choose the following DNS server adresses:
- Prefered DNS server :
2001:4860:4860::8888 - Alternate DNS server :
2001:4860:4860::8844
- Prefered DNS server :
- Press OK and one more OK to save these changes
This will fix the problem
I cannot install any extensions.
c# - Unable to Install Visual Studio Code Extensions - Stack Overflow
VS code extension failing to install
Failed to install '[extensions-name]' Download Manually
Videos
change DNSs to (8.8.8.8, 8.8.4.4)
I was able to install some extensions after my network admin disabled SSL Inspection on my machine.
This is not ideal as I wouldn't want this turned off for everything.
After re-enabling inspection, I set my User Settings to
"http.proxyStrictSSL": true
I am still unable to download packages, but this does appear to be the problem.