Title: PowerShell setup gets stuck on windows update registration when WU Service data base is corrupt · Issue #17899 · PowerShell/PowerShell · GitHub
Open Graph Title: PowerShell setup gets stuck on windows update registration when WU Service data base is corrupt · Issue #17899 · PowerShell/PowerShell
X Title: PowerShell setup gets stuck on windows update registration when WU Service data base is corrupt · Issue #17899 · PowerShell/PowerShell
Description: Prerequisites Write a descriptive title. Make sure you are able to repro it on the latest released version Search the existing issues. Refer to the FAQ. Refer to Differences between Windows PowerShell 5.1 and PowerShell. Recommendation b...
Open Graph Description: Prerequisites Write a descriptive title. Make sure you are able to repro it on the latest released version Search the existing issues. Refer to the FAQ. Refer to Differences between Windows PowerSh...
X Description: Prerequisites Write a descriptive title. Make sure you are able to repro it on the latest released version Search the existing issues. Refer to the FAQ. Refer to Differences between Windows PowerSh...
Opengraph URL: https://github.com/PowerShell/PowerShell/issues/17899
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"PowerShell setup gets stuck on windows update registration when WU Service data base is corrupt","articleBody":"### Prerequisites\r\n\r\n- [X] Write a descriptive title.\r\n- [X] Make sure you are able to repro it on the [latest released version](https://github.com/PowerShell/PowerShell/releases)\r\n- [X] Search the existing issues.\r\n- [X] Refer to the [FAQ](https://github.com/PowerShell/PowerShell/blob/master/docs/FAQ.md).\r\n- [X] Refer to [Differences between Windows PowerShell 5.1 and PowerShell](https://docs.microsoft.com/powershell/scripting/whats-new/differences-from-windows-powershell).\r\n\r\n### Recommendation by @TravisEz13 \r\n\r\nWe should see if we can run this async and fail if it hasn't completed after about 5 minutes.\r\n\r\n### Steps to reproduce\r\n\r\n1. Update via `winget` to the latest version\r\n\r\n### Expected behavior\r\n\r\n```console\r\nupdate completing\r\n```\r\n\r\n\r\n### Actual behavior\r\n\r\n```console\r\nSetup getting stuck with \"Time remaining: 2 seconds\"\r\n\r\nAccording to task manager it gets stuck on a call to pwsh with this command line:\r\n\"C:\\Program Files\\PowerShell\\7\\pwsh.exe\" -NoProfile -ExecutionPolicy Bypass -Command \"$null=(New-Object -ComObject Microsoft.Update.ServiceManager).AddService2('7971f918-a847-4430-9279-4a52d1efe18d', 7, '')\"\r\n```\r\n\r\n\r\n### Environment data\r\n\r\n```powershell\r\nName Value\r\n---- -----\r\nPSVersion 7.2.6\r\nPSEdition Core\r\nGitCommitId 7.2.6\r\nOS Microsoft Windows 10.0.25179\r\nPlatform Win32NT\r\nPSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}\r\nPSRemotingProtocolVersion 2.3\r\nSerializationVersion 1.1.0.1\r\nWSManStackVersion 3.0\r\n```\r\n\r\n\r\n### OS Data\r\n\r\n```powershell\r\nVersion Caption\r\n------- -------\r\n10.0.25179 Microsoft Windows 11 Pro for Workstations Insider Preview\r\n```\r\n\r\n\r\n### Windows update log\r\n\r\n```markdown\r\nGetting the list of all ETL files...\r\n\r\nPlease wait for all of conversions to complete...\r\n\r\n\r\n================ Results from WULog_0 ================\\user. [1/1 Complete: ]\r\n\r\nInput\r\n----------------\r\nFile(s):\r\n C:\\Windows\\Logs\\WindowsUpdate\\WindowsUpdate.20220813.042052.492.1.etl\r\n C:\\Windows\\Logs\\WindowsUpdate\\WindowsUpdate.20220813.042052.492.2.etl\r\n\r\n100.00%\r\n\r\nOutput\r\n----------------\r\nDumpFile: C:\\Users\\user\\AppData\\Local\\Temp\\WindowsUpdateLog\\wuetl.XML.tmp.518f4757-ea66-47c5-b83c-4cb5f1667b3d.00000\r\nWarning:\r\nSome events do not match the schema.\r\nPlease rerun the command with -lr to get less restricted XML dump\r\nThe command completed successfully.\r\n\r\n==================================================\r\n\r\n\r\nWindowsUpdate.log written to C:\\Users\\user\\Desktop\\WindowsUpdate.log\r\n```\r\n\r\n\r\n### Visuals\r\n\r\n\r\n","author":{"url":"https://github.com/agowa","@type":"Person","name":"agowa"},"datePublished":"2022-08-14T12:14:57Z","url":"https://github.com/PowerShell/PowerShell/issues/17899"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| 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:02fdf5d2-f00a-8e6a-5704-275ba6c0286e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 91F6:14406C:DA321F:138424B:6AFDA0B2 |
| html-safe-nonce | 6a6e6c43eb282543704e86dace15767a2b6df0b9e6e9343e29bc29cb71d4d2ae |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MUY2OjE0NDA2QzpEQTMyMUY6MTM4NDI0Qjo2QUZEQTBCMiIsInZpc2l0b3JfaWQiOiI4NDc3NTc1NDE4OTQ4MTk4NTc4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | b2e95d5817af0231422935ceb8043bc746caabfb44b23b9156524788c3aa1626 |
| hovercard-subject-tag | issue:1338226736 |
| 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/PowerShell/PowerShell/17899/issue_layout |
| twitter:image | https://opengraph.githubassets.com/0704ed707bd5a7f92f7d9cb557d602c05924d08d48b2449013881132cc7d98af/PowerShell/PowerShell/issues/17899 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0704ed707bd5a7f92f7d9cb557d602c05924d08d48b2449013881132cc7d98af/PowerShell/PowerShell/issues/17899 |
| og:image:alt | Prerequisites Write a descriptive title. Make sure you are able to repro it on the latest released version Search the existing issues. Refer to the FAQ. Refer to Differences between Windows PowerSh... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | agowa |
| hostname | github.com |
| expected-hostname | github.com |
| None | bc86424ef34a73b386237872800e922d149d65ba907f63d6f150a2dcb8433bea |
| turbo-cache-control | no-preview |
| go-import | github.com/PowerShell/PowerShell git https://github.com/PowerShell/PowerShell.git |
| octolytics-dimension-user_id | 11524380 |
| octolytics-dimension-user_login | PowerShell |
| octolytics-dimension-repository_id | 49609581 |
| octolytics-dimension-repository_nwo | PowerShell/PowerShell |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 49609581 |
| octolytics-dimension-repository_network_root_nwo | PowerShell/PowerShell |
| 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 | 927a6c5ab1c32b38830f1b9d3050c0b9e9aa92e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width