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
Domain: github.com
{"@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-profiling | 0 |
| react-import-map | react,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-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:a76a2b87-0de9-3043-806e-c730770292fb |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DB2A:D5C5A:23A0FD:2F9B1E:6AEBD177 |
| html-safe-nonce | 48f7d7c85cf8c230d728a778f62d605b00f86daa591fdbbdd20583f1224e7772 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQjJBOkQ1QzVBOjIzQTBGRDoyRjlCMUU6NkFFQkQxNzciLCJ2aXNpdG9yX2lkIjoiODQzNjc2NTQ5MDEwMzk2NDAyMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | ca250210799c83e82fc60c6330ffee8190eff24a7d6e5b75f82c1749cdc51670 |
| hovercard-subject-tag | issue:2139853877 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/microsoft/winget-cli/4178/issue_layout |
| twitter:image | https://opengraph.githubassets.com/e8374e6ba76da71cbd14928ce184648217a0f9f5ff3aeb1439c62b72df676108/microsoft/winget-cli/issues/4178 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/e8374e6ba76da71cbd14928ce184648217a0f9f5ff3aeb1439c62b72df676108/microsoft/winget-cli/issues/4178 |
| og:image:alt | 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'... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | NianBroken |
| hostname | github.com |
| expected-hostname | github.com |
| None | 97b204e1babd5581d0c4d4f3dc7d4a484f3d9fef013d4bc1be57692ba0aeb6f5 |
| turbo-cache-control | no-preview |
| go-import | github.com/microsoft/winget-cli git https://github.com/microsoft/winget-cli.git |
| octolytics-dimension-user_id | 6154722 |
| octolytics-dimension-user_login | microsoft |
| octolytics-dimension-repository_id | 197275130 |
| octolytics-dimension-repository_nwo | microsoft/winget-cli |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 197275130 |
| octolytics-dimension-repository_network_root_nwo | microsoft/winget-cli |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | ee820e8271e2dd5c53dba22e928915edb9795b69 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width