function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Sahu AnujSahu Anuj 

Authorize an org - failed after VSCode restart.

Hi All,

Do I have to everytime authorize an org after restarting vs code. I did in the morning and now not showing any org.

User-added image

Suraj Tripathi 47Suraj Tripathi 47

Hi,

The following solution worked for me
Run command prompt 𝐚𝐬 𝐚𝐝𝐦𝐢𝐧 (𝘚𝘵𝘢𝘳𝘵 > 𝘤𝘮𝘥 > 𝘙𝘪𝘨𝘩𝘵-𝘊𝘭𝘪𝘤𝘬 > 𝘙𝘶𝘯𝘈𝘴 𝘈𝘥𝘮𝘪𝘯)
Run the command: 𝐧𝐞𝐭𝐬𝐭𝐚𝐭 -𝐚𝐨𝐧
CTRL+F, to search for 𝟏𝟕𝟏𝟕
Note the number displayed in the 𝐏𝐈𝐃 𝐜𝐨𝐥𝐮𝐦𝐧 in the same row where 1717 was found. In my case, it's 𝟒𝟔𝟒𝟖
Open Task Manager > Click on Details Tab > Sort by PID
Locate the number from step 4 (in my case 𝟒𝟔𝟒𝟖)
Right-Click > End Task
Go back to VS Code and run the command again "𝘚𝘵𝘢𝘳𝘵𝘪𝘯𝘨 𝘚𝘍𝘋𝘟: 𝘈𝘶𝘵𝘩𝘰𝘳𝘪𝘻𝘦 𝘢𝘯 𝘖𝘳𝘨"
Hope it helps :)

Please mark it as the Best If your query is solved.

Thank You

Sahu AnujSahu Anuj
Thanks Suraj, somehow I managed to made vs code work for me.
May be I can refer your help in future if required.
Thanks again!