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

.NET SDK 6.0.421 (x64) keeps asking to make changes to my device #40856

Open
sydbarrett74 opened this issue May 14, 2024 · 7 comments
Open

.NET SDK 6.0.421 (x64) keeps asking to make changes to my device #40856

sydbarrett74 opened this issue May 14, 2024 · 7 comments
Assignees

Comments

@sydbarrett74
Copy link

Describe the bug

I have Visual Studio Pro 2022 on a Win11 device. Through VS Installer, I enabled .NET SDK 6.0 as an installation item. Ever since, I keep getting UAC prompts saying that 6.0.421 (x64) wants to modify my device. Every time I allow it, it keeps recurring. Rebooting, repairing my OS installation through DISM, uninstalling the SDK, none of it solves the problem.

To Reproduce

No need for me to do anything. The UAC prompt keeps showing.

We may close this issue if:

  • the repro project you share with us is complex. We can't investigate custom projects, so don't point us to such, please.
  • if we will not be able to repro the behavior you're reporting
    -->

Exceptions (if any)

No exceptions

Further technical details

  • output of dotnet --info is attached
    dotnet_output.txt

  • version info in bug description

@dotnet-issue-labeler dotnet-issue-labeler bot added Area-Install untriaged Request triage from a team member labels May 14, 2024
@marcpopMSFT marcpopMSFT added the needs team triage Requires a full team discussion label May 14, 2024
@joeloff joeloff removed the untriaged Request triage from a team member label May 14, 2024
@joeloff
Copy link
Member

joeloff commented May 14, 2024

Do the following commands return anything?

reg query HKLM\Software\Microsoft\Windows\CurrentVersion\Run /s
reg query HKLM\Software\Microsoft\Windows\CurrentVersion\RunOnce /s

Also, when it pops up the prompt, can you dismiss the UAC prompt, then look for a file named Microsoft_.NET_SDK_6.0.421_(x64)_*.log under your %temp directory?

@sydbarrett74
Copy link
Author

To avoid an overly long comment, I have attached the text files.

CurrentVersion-RunOnce.txt
CurrentVersion-Run.txt
Microsoft_.NET_SDK_6.0.421_(x64)_20240506141340_016_dotnet_sdk_internal_6.0.421_win_x64.msi.log
Microsoft_.NET_SDK_6.0.421_(x64)_20240506141340_015_Microsoft.NET.Workload.Emscripten.Manifest_6.0.300.6.0.29_x64.msi.log
Microsoft_.NET_SDK_6.0.421_(x64)_20240506141340_014_Microsoft.NET.Workload.Mono.ToolChain.Manifest_6.0.300.6.0.5_x64.msi.log
Microsoft_.NET_SDK_6.0.421_(x64)_20240506141340_013_Microsoft.NET.Sdk.tvOS.Manifest_6.0.300.15.4.303_x64.msi.log
Microsoft_.NET_SDK_6.0.421_(x64)_20240506141340_012_Microsoft.NET.Sdk.Maui.Manifest_6.0.300.6.0.312_x64.msi.log
Microsoft_.NET_SDK_6.0.421_(x64)_20240506141340_011_Microsoft.NET.Sdk.macOS.Manifest_6.0.300.12.3.303_x64.msi.log
Microsoft_.NET_SDK_6.0.421_(x64)_20240506141340_010_Microsoft.NET.Sdk.MacCatalyst.Manifest_6.0.300.15.4.303_x64.msi.log
Microsoft_.NET_SDK_6.0.421_(x64)_20240506141340_009_Microsoft.NET.Sdk.iOS.Manifest_6.0.300.15.4.303_x64.msi.log
Microsoft_.NET_SDK_6.0.421_(x64)_20240506141340_008_Microsoft.NET.Sdk.Android.Manifest_6.0.300.32.0.301_x64.msi.log
Microsoft_.NET_SDK_6.0.421_(x64)_20240506141340_007_dotnet_60templates_6.0.421_servicing.24172.9_win_x64.msi.log
Microsoft_.NET_SDK_6.0.421_(x64)_20240506141340_006_aspnetcore_targeting_pack_6.0.29_servicing.24171.8_win_x64.msi.log
Microsoft_.NET_SDK_6.0.421_(x64)_20240506141340_005_windowsdesktop_targeting_pack_6.0.29_win_x64.msi.log
Microsoft_.NET_SDK_6.0.421_(x64)_20240506141340_004_dotnet_apphost_pack_6.0.29_win_x64_arm64.msi.log
Microsoft_.NET_SDK_6.0.421_(x64)_20240506141340_003_dotnet_apphost_pack_6.0.29_win_x64_arm.msi.log
Microsoft_.NET_SDK_6.0.421_(x64)_20240506141340_002_dotnet_apphost_pack_6.0.29_win_x64_x86.msi.log
Microsoft_.NET_SDK_6.0.421_(x64)_20240506141340_001_dotnet_apphost_pack_6.0.29_win_x64.msi.log
Microsoft_.NET_SDK_6.0.421_(x64)_20240506141340_000_dotnet_targeting_pack_6.0.29_win_x64.msi.log
Microsoft_.NET_SDK_6.0.421_(x64)_20240506141340.log

@joeloff joeloff removed the needs team triage Requires a full team discussion label May 21, 2024
@joeloff
Copy link
Member

joeloff commented May 23, 2024

I don't see anything obvious under the registry keys. The UAC prompt would trigger any time the installer runs as a normal user and reaches a point where it knows it requires elevation. We'll need to figure out what is causing the install to run. Any chance you can run procmon/task mask manager to see whether you can determine who the parent process is that's launching the SDK install?

@sydbarrett74
Copy link
Author

sydbarrett74 commented May 23, 2024 via email

@sydbarrett74
Copy link
Author

I'm not very versed in ProcMon, but I think I've gathered a little data. Don't know how useful it'll be for you, but I'm happy to provide it.

image
image
image

Hopefully I didn't waste your time giving you rubbish data.

@joeloff
Copy link
Member

joeloff commented May 28, 2024

Do you recall which version of VS you installed, 17.5, 17.8, etc.?

@sydbarrett74
Copy link
Author

sydbarrett74 commented May 28, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants