René's URL Explorer Experiment


Title: Terminal error message: Access denied · Issue #4178 · microsoft/winget-cli · GitHub

Open Graph Title: Terminal error message: Access denied · Issue #4178 · microsoft/winget-cli

X Title: Terminal error message: Access denied · Issue #4178 · microsoft/winget-cli

Description: Brief description of your issue I know this bug has been posted in issues before this, but I still haven't solved my problem after scrutinizing those issues, and my winget still doesn't work, so I'm reopening a new issue, so I hope you g...

Open Graph Description: Brief description of your issue I know this bug has been posted in issues before this, but I still haven't solved my problem after scrutinizing those issues, and my winget still doesn't work, so I'...

X Description: Brief description of your issue I know this bug has been posted in issues before this, but I still haven't solved my problem after scrutinizing those issues, and my winget still doesn't wor...

Opengraph URL: https://github.com/microsoft/winget-cli/issues/4178

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Terminal error message: Access denied","articleBody":"### Brief description of your issue\r\n\r\nI know this bug has been posted in issues before this, but I still haven't solved my problem after scrutinizing those issues, and my winget still doesn't work, so I'm reopening a new issue, so I hope you guys can understand me.\r\n\r\nMy current version of winget is \"1.21.3482.0\", which is the latest version of winget, and I have manually added \"`%userprofile%\\AppData\\Local\\Microsoft\\WindowsApps`\" to my system environment variables. But I can't use any commands of winget in terminal, it will tell me that access is denied.\r\n\r\nMy Windows version information is as follows:\r\nVersion: Windows 11 Professional\r\nVersion: 23H2\r\nOS version: 22631.3227\r\nExperience: Windows Feature Experience Pack 1000.22687.1000.0\r\n\r\n\u003cimg width=\"960\" alt=\"image\" src=\"https://github.com/microsoft/winget-cli/assets/57057288/a3dfe3fa-ab3e-4aa3-8098-323f0dfba3c8\">\r\n\r\n\u003cimg width=\"960\" alt=\"image\" src=\"https://github.com/microsoft/winget-cli/assets/57057288/d5d67b63-911a-4bb3-9e3b-a893c755c568\">\r\n\r\n\u003cimg width=\"960\" alt=\"image\" src=\"https://github.com/microsoft/winget-cli/assets/57057288/adcfb6cc-1c25-408e-b698-c8e2fc68fa27\">\r\n\r\n### Steps to reproduce\r\n\r\n```cmd\r\n$ winget\r\n```\r\n\r\n### Expected behavior\r\n\r\nI don't know.\r\n\r\n### Actual behavior\r\n\r\n```cmd\r\n程序“winget.exe”无法运行: 拒绝访问。所在位置 行:1 字符: 1\r\n+ winget\r\n+ ~~~~~~。\r\n所在位置 行:1 字符: 1\r\n+ winget\r\n+ ~~~~~~\r\n    + CategoryInfo          : ResourceUnavailable: (:) [], ApplicationFailedException\r\n    + FullyQualifiedErrorId : NativeCommandFailed\r\n```\r\n\r\n### Environment\r\n\r\n```shell\r\nName              : Microsoft.DesktopAppInstaller\r\nPublisher         : CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US\r\nArchitecture      : X64\r\nResourceId        :\r\nVersion           : 1.21.3482.0\r\nPackageFullName   : Microsoft.DesktopAppInstaller_1.21.3482.0_x64__8wekyb3d8bbwe\r\nInstallLocation   : C:\\Program Files\\WindowsApps\\Microsoft.DesktopAppInstaller_1.21.3482.0_x64__8wekyb3d8bbwe\r\nIsFramework       : False\r\nPackageFamilyName : Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\r\nPublisherId       : 8wekyb3d8bbwe\r\nIsResourcePackage : False\r\nIsBundle          : False\r\nIsDevelopmentMode : False\r\nNonRemovable      : True\r\nDependencies      : {Microsoft.UI.Xaml.2.7_7.2208.15002.0_x64__8wekyb3d8bbwe, Microsoft.VCLibs.140.00.UWPDesktop_14.0.3\r\n                    3519.0_x64__8wekyb3d8bbwe, Microsoft.DesktopAppInstaller_1.21.3482.0_neutral_split.language-zh-hans\r\n                    _8wekyb3d8bbwe, Microsoft.DesktopAppInstaller_1.21.3482.0_neutral_split.scale-100_8wekyb3d8bbwe...}\r\nIsPartiallyStaged : False\r\nSignatureKind     : Store\r\nStatus            : Ok\r\n```","author":{"url":"https://github.com/NianBroken","@type":"Person","name":"NianBroken"},"datePublished":"2024-02-17T06:12:30Z","url":"https://github.com/microsoft/winget-cli/issues/4178"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:a76a2b87-0de9-3043-806e-c730770292fb
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idDB2A:D5C5A:23A0FD:2F9B1E:6AEBD177
html-safe-nonce48f7d7c85cf8c230d728a778f62d605b00f86daa591fdbbdd20583f1224e7772
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQjJBOkQ1QzVBOjIzQTBGRDoyRjlCMUU6NkFFQkQxNzciLCJ2aXNpdG9yX2lkIjoiODQzNjc2NTQ5MDEwMzk2NDAyMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacca250210799c83e82fc60c6330ffee8190eff24a7d6e5b75f82c1749cdc51670
hovercard-subject-tagissue:2139853877
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/microsoft/winget-cli/4178/issue_layout
twitter:imagehttps://opengraph.githubassets.com/e8374e6ba76da71cbd14928ce184648217a0f9f5ff3aeb1439c62b72df676108/microsoft/winget-cli/issues/4178
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/e8374e6ba76da71cbd14928ce184648217a0f9f5ff3aeb1439c62b72df676108/microsoft/winget-cli/issues/4178
og:image:altBrief description of your issue I know this bug has been posted in issues before this, but I still haven't solved my problem after scrutinizing those issues, and my winget still doesn't work, so I'...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameNianBroken
hostnamegithub.com
expected-hostnamegithub.com
None97b204e1babd5581d0c4d4f3dc7d4a484f3d9fef013d4bc1be57692ba0aeb6f5
turbo-cache-controlno-preview
go-importgithub.com/microsoft/winget-cli git https://github.com/microsoft/winget-cli.git
octolytics-dimension-user_id6154722
octolytics-dimension-user_loginmicrosoft
octolytics-dimension-repository_id197275130
octolytics-dimension-repository_nwomicrosoft/winget-cli
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id197275130
octolytics-dimension-repository_network_root_nwomicrosoft/winget-cli
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releaseee820e8271e2dd5c53dba22e928915edb9795b69
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/microsoft/winget-cli/issues/4178#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fwinget-cli%2Fissues%2F4178
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fwinget-cli%2Fissues%2F4178
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=microsoft%2Fwinget-cli
Reloadhttps://github.com/microsoft/winget-cli/issues/4178
Reloadhttps://github.com/microsoft/winget-cli/issues/4178
Reloadhttps://github.com/microsoft/winget-cli/issues/4178
microsofthttps://github.com/microsoft
winget-clihttps://github.com/microsoft/winget-cli
Codehttps://github.com/microsoft/winget-cli
Issues1.3k (1.3k)https://github.com/microsoft/winget-cli/issues
Pull requests52 (52)https://github.com/microsoft/winget-cli/pulls
Discussionshttps://github.com/microsoft/winget-cli/discussions
Actionshttps://github.com/microsoft/winget-cli/actions
Projectshttps://github.com/microsoft/winget-cli/projects
Security and qualityhttps://github.com/microsoft/winget-cli/security
Insightshttps://github.com/microsoft/winget-cli/pulse
https://github.com/microsoft/winget-cli
New issuehttps://github.com/login?return_to=https://github.com/microsoft/winget-cli/issues/4178
New issuehttps://github.com/login?return_to=https://github.com/microsoft/winget-cli/issues/4178
Bughttps://github.com/microsoft/winget-cli/issues?q=type:"Bug"
Terminal error message: Access deniedhttps://github.com/microsoft/winget-cli/issues/4178#top
Issue-BugIt either shouldn't be doing this or needs an investigation.https://github.com/microsoft/winget-cli/issues?q=state%3Aopen%20label%3A%22Issue-Bug%22
https://github.com/NianBroken
Klauthmos (NianBroken)https://github.com/NianBroken
on Feb 17, 2024https://github.com/microsoft/winget-cli/issues/4178#issue-2139853877
https://private-user-images.githubusercontent.com/57057288/305601827-a3dfe3fa-ab3e-4aa3-8098-323f0dfba3c8.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTM4Mzk3NzksIm5iZiI6MTc5MzgzOTQ3OSwicGF0aCI6Ii81NzA1NzI4OC8zMDU2MDE4MjctYTNkZmUzZmEtYWIzZS00YWEzLTgwOTgtMzIzZjBkZmJhM2M4LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjExMDUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWV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M4wMgJw
https://private-user-images.githubusercontent.com/57057288/305601864-adcfb6cc-1c25-408e-b698-c8e2fc68fa27.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTM4Mzk3NzksIm5iZiI6MTc5MzgzOTQ3OSwicGF0aCI6Ii81NzA1NzI4OC8zMDU2MDE4NjQtYWRjZmI2Y2MtMWMyNS00MDhlLWI2OTgtYzhlMmZjNjhmYTI3LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjExMDUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYxMTA1VDAwNDQzOVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWZmNGE3ODc0OTczZGM5ZjhiZjA3MDI3YzNhZDAyOWI4ODE4OTI4NzE5YmI3NTk4MGM1NWUwODIwMjQ1NWRkMTEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JnJlc3BvbnNlLWNvbnRlbnQtdHlwZT1pbWFnZSUyRnBuZyJ9.aHyWCQc_Wwj_BiaZ6oV1A0oDbRKy9HAek4eE5vEFcrQ
microsoft-github-policy-servicehttps://github.com/apps/microsoft-github-policy-service
Needs-TriageIssue needs to be triagedhttps://github.com/microsoft/winget-cli/issues?q=state%3Aopen%20label%3A%22Needs-Triage%22
on Feb 17, 2024https://github.com/microsoft/winget-cli/issues/4178#event-11835628952
https://github.com/NianBroken
Klauthmos (NianBroken)https://github.com/NianBroken
on Feb 17, 2024https://github.com/microsoft/winget-cli/issues/4178#issuecomment-1949794868
https://github.com/NianBroken
Klauthmos (NianBroken)https://github.com/NianBroken
on Feb 17, 2024https://github.com/microsoft/winget-cli/issues/4178#issuecomment-1949821372
https://github.com/Masamune3210
Masamune3210https://github.com/Masamune3210
on Feb 17, 2024https://github.com/microsoft/winget-cli/issues/4178#issuecomment-1949884086
https://github.com/NianBroken
Klauthmos (NianBroken)https://github.com/NianBroken
on Feb 17, 2024https://github.com/microsoft/winget-cli/issues/4178#issuecomment-1949884934
https://github.com/denelon
Demitrius Nelon (denelon)https://github.com/denelon
on Feb 17, 2024https://github.com/microsoft/winget-cli/issues/4178#issuecomment-1950282266
Klauthmos (@NianBroken)https://github.com/NianBroken
https://private-user-images.githubusercontent.com/61799811/305664761-7154a444-c270-40a5-a126-b418023a5302.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTM4Mzk3NzksIm5iZiI6MTc5MzgzOTQ3OSwicGF0aCI6Ii82MTc5OTgxMS8zMDU2NjQ3NjEtNzE1NGE0NDQtYzI3MC00MGE1LWExMjYtYjQxODAyM2E1MzAyLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjExMDUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYxMTA1VDAwNDQzOVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWVjMDUyODczNGZkMDBiY2MzNDhjN2EwZTgxN2U3Y2NkNzg5NjFmNmQ2OGU2NTQyM2E3ZDBmZDExZTA0NjljODYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JnJlc3BvbnNlLWNvbnRlbnQtdHlwZT1pbWFnZSUyRnBuZyJ9.SOjwBX-L3c9d4BSRCHmQBnSyzB-PIgvb1Mc09CZVPZg
troubleshootinghttps://github.com/microsoft/winget-cli/tree/master/doc/troubleshooting
Demitrius Nelon (denelon)https://github.com/denelon
Issue-BugIt either shouldn't be doing this or needs an investigation.https://github.com/microsoft/winget-cli/issues?q=state%3Aopen%20label%3A%22Issue-Bug%22
Needs-TriageIssue needs to be triagedhttps://github.com/microsoft/winget-cli/issues?q=state%3Aopen%20label%3A%22Needs-Triage%22
on Feb 19, 2024https://github.com/microsoft/winget-cli/issues/4178#event-11842939285
Sign up for freehttps://github.com/signup?return_to=https://github.com/microsoft/winget-cli/issues/4178
Sign in to commenthttps://github.com/login?return_to=https://github.com/microsoft/winget-cli/issues/4178
Issue-BugIt either shouldn't be doing this or needs an investigation.https://github.com/microsoft/winget-cli/issues?q=state%3Aopen%20label%3A%22Issue-Bug%22
Bughttps://github.com/microsoft/winget-cli/issues?q=type:"Bug"
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.