Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]: Disabling IntelliCode data collection crashes VS #286

Closed
ntrzr opened this issue Nov 11, 2023 · 2 comments
Closed

[BUG]: Disabling IntelliCode data collection crashes VS #286

ntrzr opened this issue Nov 11, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@ntrzr
Copy link

ntrzr commented Nov 11, 2023

Description

Checking-in the option "Disable participation in IntelliCode data collection" will result in Visual Studio (2022 17.7.6) being unresponsive upon loading any project solution.

OS

Microsoft Windows
Version 22H2 (OS Build 19045.3570)

Reproduction steps

  1. Check-in the option mentioned above and run the script
  2. Open Visual Studio, load/create a project, within 5-10 seconds of the project loading successfully VS will hang forever and will have to be closed forcefully.

Scripts

:: ----------------------------------------------------------
:: ---Disable participation in IntelliCode data collection---
:: ----------------------------------------------------------
echo --- Disable participation in IntelliCode data collection
:: Global policy
reg add "HKLM\SOFTWARE\Policies\Microsoft\VisualStudio\IntelliCode" /v "DisableRemoteAnalysis" /d 1 /f
:: Local policy
reg add "HKCU\SOFTWARE\Microsoft\VSCommon\16.0\IntelliCode" /v "DisableRemoteAnalysis" /d 1 /f
reg add "HKCU\SOFTWARE\Microsoft\VSCommon\17.0\IntelliCode" /v "DisableRemoteAnalysis" /d 1 /f
:: ----------------------------------------------------------

Screenshots

Additional information

@ntrzr ntrzr added the bug Something isn't working label Nov 11, 2023
@ntrzr
Copy link
Author

ntrzr commented Nov 11, 2023

My bad, haven't seen #267

@ntrzr ntrzr closed this as completed Nov 11, 2023
undergroundwires added a commit that referenced this issue Nov 22, 2023
This commit fixess issues #267 and #286 where users reported that
disabling IntelliCode data collection causes Visual Studio 2022 to hang
or become unresponsive.

The script has been updated to remove its recommendation status and
include a warning about these issues. As Microsoft did not respond to
inconsistencies with the official documentation in
MicrosoftDocs/intellicode#510, this commit prevents further disruptions
for privacy.sexy users.
undergroundwires added a commit that referenced this issue Nov 22, 2023
This commit fixes issues #267 and #286 where users reported that
disabling IntelliCode data collection causes Visual Studio 2022 to hang
or become unresponsive.

The script has been updated to remove its recommendation status and
include a warning about these issues. As Microsoft did not respond to
inconsistencies with the official documentation in
MicrosoftDocs/intellicode#510, this commit prevents further disruptions
for privacy.sexy users.
undergroundwires added a commit that referenced this issue Nov 22, 2023
This commit fixes issues #267 and #286 where users reported that
disabling IntelliCode data collection causes Visual Studio 2022 to hang
or become unresponsive.

The script has been updated to remove its recommendation status and
include a warning about these issues. As Microsoft did not respond to
inconsistencies with the official documentation in
MicrosoftDocs/intellicode#510, this commit prevents further disruptions
for privacy.sexy users.
@undergroundwires
Copy link
Owner

The script is no longer recommended in any preselection and documented clearly in its title and docs in 0.12.8 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants