{"id":857,"date":"2026-11-07T14:21:58","date_gmt":"2026-11-07T05:21:58","guid":{"rendered":"https:\/\/catstudio.sakura.ne.jp\/cms001\/?p=857"},"modified":"2026-11-07T14:23:46","modified_gmt":"2026-11-07T05:23:46","slug":"causes-and-solutions-for-powershell-7-6-6-crashing-immediately-upon-startup-totalwidth-10-error","status":"publish","type":"post","link":"https:\/\/catstudio.sakura.ne.jp\/cms001\/?p=857&lang=en","title":{"rendered":"Causes and solutions for PowerShell 7.6.6 crashing immediately upon startup: &#8216;totalWidth&#8217; (&#8216;-10&#8217;) error"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\"><strong>Target<\/strong>: PowerShell 7.6.6, in localized environments (such as Japanese)<br><strong>Primary<\/strong> <strong>error<\/strong>: <code>totalWidth ('-10') must be a non-negative value<\/code><br><strong>Symptoms<\/strong>: When launching <code>pwsh<\/code>, the application terminates after 1\u20132 seconds, before the prompt appears.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This issue is caused by a bug in the update notification that PowerShell displays upon startup. If you need an immediate fix, please try the following workaround first.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Solution: Turn off update notifications and restart Windows.<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">If pwsh fails to launch, open &#8220;Windows PowerShell&#8221; from the Start menu and run the following command.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;Environment]::SetEnvironmentVariable(\n    'POWERSHELL_UPDATECHECK',\n    'Off',\n    'User'\n)<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">After running it, please restart Windows. In my own environment, simply closing the Claude desktop app did not resolve the issue; I confirmed that <code>pwsh<\/code> launched correctly only after restarting Windows.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">When launching temporarily from the command prompt<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">To launch <code>pwsh<\/code> within the current command prompt session without persisting any settings, run the following:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>set POWERSHELL_UPDATECHECK=Off\npwsh<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">This setting will be lost when the command prompt is closed. If you wish to make it persistent, execute the following instead, then restart Windows.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>setx POWERSHELL_UPDATECHECK Off<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Please set the value to &#8220;Off.&#8221; According to an issue reported in the official PowerShell repository, this problem cannot be avoided when using the LTS version.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Disabling update notifications does not prevent you from updating PowerShell; it simply stops the notifications from appearing, so you will need to check for updates yourself as needed.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>winget list --id Microsoft.PowerShell --upgrade-available<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Symptoms experienced<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">In my environment, the issue occurred around midday on October 20, 2026.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Windows 11 Pro 10.0.26200, Japanese UI<\/li>\n\n\n\n<li>PowerShell 7.6.6<\/li>\n\n\n\n<li>The MSI version has been installed to C:\\Program Files\\PowerShell\\7.<\/li>\n\n\n\n<li>.NET 10.0.12 included with PowerShell<\/li>\n\n\n\n<li>None of the four profile.ps1-related profiles exist.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">When I open a terminal from the &#8220;Code&#8221; tab in the Claude desktop app, <code>pwsh<\/code> exits within 1\u20132 seconds. The same thing happens even if I try opening it again.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The following exit code was found in the logs. Information that could identify the session has been omitted.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Shell PTY for session ... exited with code -2146232797<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Converting -2146232797 to a 32-bit unsigned integer in hexadecimal format yields 0x80131623. This corresponds to the .NET <code>COR_E_FAILFAST<\/code> error code, indicating that the process may have been forcibly terminated via <code>Environment.FailFast()<\/code>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">The cause is a localized update notification.<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><code>UpdatesNotification.ShowUpdateNotification()<\/code>, which displays update notifications, assumes that the first line of the notification text is the longest. Based on this, it calculates the necessary padding by determining the difference in character count between the first line and the subsequent lines, and then passes this value to <code>String.PadRight()<\/code>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">However, when translating into languages \u200b\u200blike Japanese, subsequent lines may end up being longer. As a result, a negative value is passed to <code>PadRight()<\/code>.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>totalWidth ('-10') must be a non-negative value. (Parameter 'totalWidth')<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Because this exception is not caught during the PowerShell startup process, it results in more than just a display glitch; <code>Environment.FailFast()<\/code> is invoked, causing the entire <code>pwsh<\/code> process to terminate.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In issue #28131 on the official PowerShell repository, it is reported that an examination of the 13 languages \u200b\u200bincluded in PowerShell 7.6.6 revealed that the margin calculation results were negative for 9 of them: Czech, German, French, Italian, Japanese, Korean, Russian, Simplified Chinese, and Traditional Chinese.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Furthermore, since the length of a string is calculated based on the number of characters rather than its display width on screen, the positioning of frames may be misaligned\u2014even if the application does not crash\u2014when dealing with languages \u200b\u200bthat include full-width characters.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">The width of the terminal was not the cause.<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">At the start of the investigation, based on the <code>cols=72<\/code> and <code>cols=80<\/code> values \u200b\u200bfound in the logs, I hypothesized that the side panel was so narrow that the calculation for the border resulted in a negative value.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">However, the same issue occurred in Windows Terminal as well. The actual input value was not the width of the terminal, but rather the length of each line of the localized notification message.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">While a stack trace can reveal <em>where<\/em> a crash occurred, it doesn&#8217;t show <em>where<\/em> the problematic input originated. By cross-referencing existing issues, I was able to refine my initial hypothesis.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Why did it happen suddenly?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The following is based on publicly available information and the time of the incident.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">PowerShell update notifications appear only when a new version is available. Additionally, starting with PowerShell 7.6.1, the system is designed not to display notifications for the first 7 days following the release of a new version.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">PowerShell 7.6.7 was released on October 13, 2026. It appears that the issue surfaced on October 20, 2026\u2014seven days later\u2014because that is when notifications for version 7.6.7 began appearing for users of version 7.6.6.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u3064\u307e\u308a\u3001PowerShell\u3084\u30bf\u30fc\u30df\u30ca\u30eb\u306e\u8a2d\u5b9a\u3092\u76f4\u524d\u306b\u5909\u66f4\u3057\u3066\u3044\u306a\u304f\u3066\u3082\u3001\u66f4\u65b0\u901a\u77e5\u304c\u8868\u793a\u3055\u308c\u308b\u65e5\u306b\u306a\u3063\u305f\u3053\u3068\u3067\u7a81\u7136\u8d77\u52d5\u3057\u306a\u304f\u306a\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002\u7ffb\u8a33\u3055\u308c\u305f\u66f4\u65b0\u901a\u77e5\u306f7.6.6\u304b\u3089\u542b\u307e\u308c\u308b\u3088\u3046\u306b\u306a\u3063\u305f\u3068\u3001Issue\u306e\u30b3\u30e1\u30f3\u30c8\u3067\u5831\u544a\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Check the event log to identify where the crash occurred.<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">If the cause cannot be determined from the application logs alone, check the Windows Event Logs. The following command was executed from Windows PowerShell 5.1:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Get-WinEvent -FilterHashtable @{\n    LogName  = 'Application'\n    StartTime = (Get-Date).AddHours(-3)\n} |\n    Where-Object ProviderName -eq '.NET Runtime' |\n    Select-Object -First 1 -ExpandProperty Message<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">The following information was recorded in the application log under the source &#8220;.NET Runtime&#8221; with event ID 1025<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Application: pwsh.exe\nCoreCLR Version: 10.0.1226.41902\n.NET Version: 10.0.12\nDescription: The application requested process termination through System.Environment.FailFast.\nMessage: totalWidth ('-10') must be a non-negative value. (Parameter 'totalWidth')\n   at System.String.PadRight(Int32 totalWidth, Char paddingChar)\n   at Microsoft.PowerShell.UpdatesNotification.ShowUpdateNotification(PSHostUserInterface hostUI)\n   at Microsoft.PowerShell.ConsoleHost.Start(...)<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">The points of interest are <code>System.String.PadRight()<\/code> and <code>Microsoft.PowerShell.UpdatesNotification.ShowUpdateNotification()<\/code>. This indicates that the operation to add padding to a string was triggered by the update notification process at startup, and that this operation failed.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Will updating to 7.6.7 fix it?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">As of October 20, 2026, relying solely on an update to version 7.6.7 is not recommended as a workaround.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Updating to version 7.6.7 may make it appear as though the issue has been resolved, as no notification for a &#8220;newer version than 7.6.7&#8221; will be displayed at that point. However, according to the relevant issue and the fix PR #28236, the problematic calculation logic still exists in version 7.6.7.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The issue may recur in the future when a version newer than 7.6.7 is released and the update notification is triggered. Although a pull request (PR) containing a fix has been submitted, it remains open as of October 20, 2026, and no official release incorporating the fix has been confirmed.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">If winget indicates that the installation format differs<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">In the author&#8217;s environment, the update using the following command failed.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>winget upgrade --id Microsoft.PowerShell<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>\u65b0\u3057\u3044\u30d0\u30fc\u30b8\u30e7\u30f3\u304c\u898b\u3064\u304b\u308a\u307e\u3057\u305f\u304c\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u30c6\u30af\u30ce\u30ed\u30b8\u304c\n\u73fe\u5728\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u30d0\u30fc\u30b8\u30e7\u30f3\u3068\u7570\u306a\u308a\u307e\u3059\u3002\n\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u30a2\u30f3\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3001\u65b0\u3057\u3044\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">The existing environment used the MSI version. However, as of PowerShell 7.6.0, <code>winget<\/code> defaults to the MSIX version. While the <code>winget<\/code> manifest for version 7.6.7 includes both the MSIX and MSI versions, the default selection may not always match the currently installed format.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If you are reinstalling, perform the operation from Windows PowerShell 5.1 or the Command Prompt, rather than from <code>pwsh<\/code>. To switch to the MSIX version, follow the steps below.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>winget uninstall --id Microsoft.PowerShell\nwinget install --id Microsoft.PowerShell --source winget<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">If you wish to retain the MSI version, you can specify WiX as the installer format.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>winget install --id Microsoft.PowerShell --source winget --installer-type wix<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Reference links<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/github.com\/PowerShell\/PowerShell\/issues\/28131\" target=\"_blank\" rel=\"noopener\">PowerShell Issue #28131\uff1a\u30ed\u30fc\u30ab\u30e9\u30a4\u30ba\u3055\u308c\u305f\u66f4\u65b0\u901a\u77e5\u3067\u8d77\u52d5\u6642\u306b\u30af\u30e9\u30c3\u30b7\u30e5\u3059\u308b\u554f\u984c<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/github.com\/PowerShell\/PowerShell\/pull\/28236\" target=\"_blank\" rel=\"noopener\">PowerShell Pull Request #28236\uff1a\u66f4\u65b0\u901a\u77e5\u306e\u4f59\u767d\u8a08\u7b97\u3092\u4fee\u6b63\u3059\u308bPR<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/note.com\/rapid_phlox5979\/n\/n712aa54e9d26\" target=\"_blank\" rel=\"noopener\">PowerShell 7.6.6\u304c\u8d77\u52d5\u3067\u304d\u306a\u3044\u554f\u984c\u306b\u3064\u3044\u3066\u306e\u65e5\u672c\u8a9e\u8a18\u4e8b<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/learn.microsoft.com\/powershell\/module\/microsoft.powershell.core\/about\/about_update_notifications\" target=\"_blank\" rel=\"noopener\">Microsoft Learn\uff1aPowerShell\u306e\u66f4\u65b0\u901a\u77e5\u306b\u3064\u3044\u3066<\/a><\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Target: PowerShell 7.6.6, in localized environments (such as Japanese)Primary error: totalWidth (&#8216;-10&#8217;) must b [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":686,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"wpai_generated_summary":"","footnotes":""},"categories":[15],"tags":[221,372,974,976,31],"class_list":["post-857","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tech","tag-net","tag-claude","tag-powershell","tag-trouble","tag-windows"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.5 - aioseo.com -->\n\t<meta name=\"description\" content=\"Target: PowerShell 7.6.6, in localized environments (su\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Editor T\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/catstudio.sakura.ne.jp\/cms001\/?p=857&#038;lang=en\" \/>\n\t\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.5\" \/>\n\t\t<meta property=\"og:locale\" content=\"ja_JP\" \/>\n\t\t<meta property=\"og:site_name\" content=\"CatStudio&#039;s Topics -\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Causes and solutions for PowerShell 7.6.6 crashing immediately upon startup: \u2018totalWidth\u2019 (\u2018-10\u2019) error - CatStudio&#039;s Topics\" \/>\n\t\t<meta property=\"og:description\" content=\"Target: PowerShell 7.6.6, in localized environments (su\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/catstudio.sakura.ne.jp\/cms001\/?p=857&#038;lang=en\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2026-11-07T05:21:58+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2026-11-07T05:23:46+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/people\/CatStudio-LLC\/100035925983096\/\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:site\" content=\"@catstudio_jp\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Causes and solutions for PowerShell 7.6.6 crashing immediately upon startup: \u2018totalWidth\u2019 (\u2018-10\u2019) error - CatStudio&#039;s Topics\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Target: PowerShell 7.6.6, in localized environments (su\" \/>\n\t\t<meta name=\"twitter:creator\" content=\"@catstudio_jp\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BlogPosting\",\"@id\":\"https:\\\/\\\/catstudio.sakura.ne.jp\\\/cms001\\\/?p=857&lang=en#blogposting\",\"name\":\"Causes and solutions for PowerShell 7.6.6 crashing immediately upon startup: \\u2018totalWidth\\u2019 (\\u2018-10\\u2019) error - CatStudio's Topics\",\"headline\":\"Causes and solutions for PowerShell 7.6.6 crashing immediately upon startup: &#8216;totalWidth&#8217; (&#8216;-10&#8217;) error\",\"author\":{\"@id\":\"https:\\\/\\\/catstudio.sakura.ne.jp\\\/cms001\\\/?author=2#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/catstudio.sakura.ne.jp\\\/cms001\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/catstudio.sakura.ne.jp\\\/cms001\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/2026_1020_winpowershell.webp\",\"width\":1672,\"height\":941},\"datePublished\":\"2026-11-07T14:21:58+09:00\",\"dateModified\":\"2026-11-07T14:23:46+09:00\",\"inLanguage\":\"ja\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/catstudio.sakura.ne.jp\\\/cms001\\\/?p=857&lang=en#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/catstudio.sakura.ne.jp\\\/cms001\\\/?p=857&lang=en#webpage\"},\"articleSection\":\"tech, .net, claude, powershell, trouble, windows, English, pll_6aeeb5692c766\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/catstudio.sakura.ne.jp\\\/cms001\\\/?p=857&lang=en#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/catstudio.sakura.ne.jp\\\/cms001\\\/#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/catstudio.sakura.ne.jp\\\/cms001\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/catstudio.sakura.ne.jp\\\/cms001\\\/?cat=15&lang=en#listItem\",\"name\":\"tech\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/catstudio.sakura.ne.jp\\\/cms001\\\/?cat=15&lang=en#listItem\",\"position\":2,\"name\":\"tech\",\"item\":\"https:\\\/\\\/catstudio.sakura.ne.jp\\\/cms001\\\/?cat=15&lang=en\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/catstudio.sakura.ne.jp\\\/cms001\\\/?p=857&lang=en#listItem\",\"name\":\"Causes and solutions for PowerShell 7.6.6 crashing immediately upon startup: &#8216;totalWidth&#8217; (&#8216;-10&#8217;) error\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/catstudio.sakura.ne.jp\\\/cms001\\\/#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/catstudio.sakura.ne.jp\\\/cms001\\\/?p=857&lang=en#listItem\",\"position\":3,\"name\":\"Causes and solutions for PowerShell 7.6.6 crashing immediately upon startup: &#8216;totalWidth&#8217; (&#8216;-10&#8217;) error\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/catstudio.sakura.ne.jp\\\/cms001\\\/?cat=15&lang=en#listItem\",\"name\":\"tech\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/catstudio.sakura.ne.jp\\\/cms001\\\/#organization\",\"name\":\"CatStudio's Topics\",\"url\":\"https:\\\/\\\/catstudio.sakura.ne.jp\\\/cms001\\\/\",\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/people\\\/CatStudio-LLC\\\/100035925983096\\\/\",\"https:\\\/\\\/x.com\\\/catstudio_jp\",\"https:\\\/\\\/www.instagram.com\\\/catstudiojapan\\\/\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UCTPnXk0xFHKPJYwJSZzwkQQ\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/catstudio.sakura.ne.jp\\\/cms001\\\/?author=2#author\",\"url\":\"https:\\\/\\\/catstudio.sakura.ne.jp\\\/cms001\\\/?author=2\",\"name\":\"Editor T\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/catstudio.sakura.ne.jp\\\/cms001\\\/?p=857&lang=en#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/c6c2f9a2b57d929725eaf92471bbd6041081e79d48a3c3c8d549496b90ee9423?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Editor T\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/catstudio.sakura.ne.jp\\\/cms001\\\/?p=857&lang=en#webpage\",\"url\":\"https:\\\/\\\/catstudio.sakura.ne.jp\\\/cms001\\\/?p=857&lang=en\",\"name\":\"Causes and solutions for PowerShell 7.6.6 crashing immediately upon startup: \\u2018totalWidth\\u2019 (\\u2018-10\\u2019) error - CatStudio's Topics\",\"description\":\"Target: PowerShell 7.6.6, in localized environments (su\",\"inLanguage\":\"ja\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/catstudio.sakura.ne.jp\\\/cms001\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/catstudio.sakura.ne.jp\\\/cms001\\\/?p=857&lang=en#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/catstudio.sakura.ne.jp\\\/cms001\\\/?author=2#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/catstudio.sakura.ne.jp\\\/cms001\\\/?author=2#author\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/catstudio.sakura.ne.jp\\\/cms001\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/2026_1020_winpowershell.webp\",\"@id\":\"https:\\\/\\\/catstudio.sakura.ne.jp\\\/cms001\\\/?p=857&lang=en\\\/#mainImage\",\"width\":1672,\"height\":941},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/catstudio.sakura.ne.jp\\\/cms001\\\/?p=857&lang=en#mainImage\"},\"datePublished\":\"2026-11-07T14:21:58+09:00\",\"dateModified\":\"2026-11-07T14:23:46+09:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/catstudio.sakura.ne.jp\\\/cms001\\\/#website\",\"url\":\"https:\\\/\\\/catstudio.sakura.ne.jp\\\/cms001\\\/\",\"name\":\"CatStudio's Topics\",\"inLanguage\":\"ja\",\"publisher\":{\"@id\":\"https:\\\/\\\/catstudio.sakura.ne.jp\\\/cms001\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Causes and solutions for PowerShell 7.6.6 crashing immediately upon startup: \u2018totalWidth\u2019 (\u2018-10\u2019) error - CatStudio's Topics","description":"Target: PowerShell 7.6.6, in localized environments (su","canonical_url":"https:\/\/catstudio.sakura.ne.jp\/cms001\/?p=857&lang=en","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BlogPosting","@id":"https:\/\/catstudio.sakura.ne.jp\/cms001\/?p=857&lang=en#blogposting","name":"Causes and solutions for PowerShell 7.6.6 crashing immediately upon startup: \u2018totalWidth\u2019 (\u2018-10\u2019) error - CatStudio's Topics","headline":"Causes and solutions for PowerShell 7.6.6 crashing immediately upon startup: &#8216;totalWidth&#8217; (&#8216;-10&#8217;) error","author":{"@id":"https:\/\/catstudio.sakura.ne.jp\/cms001\/?author=2#author"},"publisher":{"@id":"https:\/\/catstudio.sakura.ne.jp\/cms001\/#organization"},"image":{"@type":"ImageObject","url":"https:\/\/catstudio.sakura.ne.jp\/cms001\/wp-content\/uploads\/2026\/10\/2026_1020_winpowershell.webp","width":1672,"height":941},"datePublished":"2026-11-07T14:21:58+09:00","dateModified":"2026-11-07T14:23:46+09:00","inLanguage":"ja","mainEntityOfPage":{"@id":"https:\/\/catstudio.sakura.ne.jp\/cms001\/?p=857&lang=en#webpage"},"isPartOf":{"@id":"https:\/\/catstudio.sakura.ne.jp\/cms001\/?p=857&lang=en#webpage"},"articleSection":"tech, .net, claude, powershell, trouble, windows, English, pll_6aeeb5692c766"},{"@type":"BreadcrumbList","@id":"https:\/\/catstudio.sakura.ne.jp\/cms001\/?p=857&lang=en#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/catstudio.sakura.ne.jp\/cms001\/#listItem","position":1,"name":"Home","item":"https:\/\/catstudio.sakura.ne.jp\/cms001\/","nextItem":{"@type":"ListItem","@id":"https:\/\/catstudio.sakura.ne.jp\/cms001\/?cat=15&lang=en#listItem","name":"tech"}},{"@type":"ListItem","@id":"https:\/\/catstudio.sakura.ne.jp\/cms001\/?cat=15&lang=en#listItem","position":2,"name":"tech","item":"https:\/\/catstudio.sakura.ne.jp\/cms001\/?cat=15&lang=en","nextItem":{"@type":"ListItem","@id":"https:\/\/catstudio.sakura.ne.jp\/cms001\/?p=857&lang=en#listItem","name":"Causes and solutions for PowerShell 7.6.6 crashing immediately upon startup: &#8216;totalWidth&#8217; (&#8216;-10&#8217;) error"},"previousItem":{"@type":"ListItem","@id":"https:\/\/catstudio.sakura.ne.jp\/cms001\/#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/catstudio.sakura.ne.jp\/cms001\/?p=857&lang=en#listItem","position":3,"name":"Causes and solutions for PowerShell 7.6.6 crashing immediately upon startup: &#8216;totalWidth&#8217; (&#8216;-10&#8217;) error","previousItem":{"@type":"ListItem","@id":"https:\/\/catstudio.sakura.ne.jp\/cms001\/?cat=15&lang=en#listItem","name":"tech"}}]},{"@type":"Organization","@id":"https:\/\/catstudio.sakura.ne.jp\/cms001\/#organization","name":"CatStudio's Topics","url":"https:\/\/catstudio.sakura.ne.jp\/cms001\/","sameAs":["https:\/\/www.facebook.com\/people\/CatStudio-LLC\/100035925983096\/","https:\/\/x.com\/catstudio_jp","https:\/\/www.instagram.com\/catstudiojapan\/","https:\/\/www.youtube.com\/channel\/UCTPnXk0xFHKPJYwJSZzwkQQ"]},{"@type":"Person","@id":"https:\/\/catstudio.sakura.ne.jp\/cms001\/?author=2#author","url":"https:\/\/catstudio.sakura.ne.jp\/cms001\/?author=2","name":"Editor T","image":{"@type":"ImageObject","@id":"https:\/\/catstudio.sakura.ne.jp\/cms001\/?p=857&lang=en#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/c6c2f9a2b57d929725eaf92471bbd6041081e79d48a3c3c8d549496b90ee9423?s=96&d=mm&r=g","width":96,"height":96,"caption":"Editor T"}},{"@type":"WebPage","@id":"https:\/\/catstudio.sakura.ne.jp\/cms001\/?p=857&lang=en#webpage","url":"https:\/\/catstudio.sakura.ne.jp\/cms001\/?p=857&lang=en","name":"Causes and solutions for PowerShell 7.6.6 crashing immediately upon startup: \u2018totalWidth\u2019 (\u2018-10\u2019) error - CatStudio's Topics","description":"Target: PowerShell 7.6.6, in localized environments (su","inLanguage":"ja","isPartOf":{"@id":"https:\/\/catstudio.sakura.ne.jp\/cms001\/#website"},"breadcrumb":{"@id":"https:\/\/catstudio.sakura.ne.jp\/cms001\/?p=857&lang=en#breadcrumblist"},"author":{"@id":"https:\/\/catstudio.sakura.ne.jp\/cms001\/?author=2#author"},"creator":{"@id":"https:\/\/catstudio.sakura.ne.jp\/cms001\/?author=2#author"},"image":{"@type":"ImageObject","url":"https:\/\/catstudio.sakura.ne.jp\/cms001\/wp-content\/uploads\/2026\/10\/2026_1020_winpowershell.webp","@id":"https:\/\/catstudio.sakura.ne.jp\/cms001\/?p=857&lang=en\/#mainImage","width":1672,"height":941},"primaryImageOfPage":{"@id":"https:\/\/catstudio.sakura.ne.jp\/cms001\/?p=857&lang=en#mainImage"},"datePublished":"2026-11-07T14:21:58+09:00","dateModified":"2026-11-07T14:23:46+09:00"},{"@type":"WebSite","@id":"https:\/\/catstudio.sakura.ne.jp\/cms001\/#website","url":"https:\/\/catstudio.sakura.ne.jp\/cms001\/","name":"CatStudio's Topics","inLanguage":"ja","publisher":{"@id":"https:\/\/catstudio.sakura.ne.jp\/cms001\/#organization"}}]},"og:locale":"ja_JP","og:site_name":"CatStudio's Topics -","og:type":"article","og:title":"Causes and solutions for PowerShell 7.6.6 crashing immediately upon startup: \u2018totalWidth\u2019 (\u2018-10\u2019) error - CatStudio's Topics","og:description":"Target: PowerShell 7.6.6, in localized environments (su","og:url":"https:\/\/catstudio.sakura.ne.jp\/cms001\/?p=857&#038;lang=en","article:published_time":"2026-11-07T05:21:58+00:00","article:modified_time":"2026-11-07T05:23:46+00:00","article:publisher":"https:\/\/www.facebook.com\/people\/CatStudio-LLC\/100035925983096\/","twitter:card":"summary_large_image","twitter:site":"@catstudio_jp","twitter:title":"Causes and solutions for PowerShell 7.6.6 crashing immediately upon startup: \u2018totalWidth\u2019 (\u2018-10\u2019) error - CatStudio's Topics","twitter:description":"Target: PowerShell 7.6.6, in localized environments (su","twitter:creator":"@catstudio_jp"},"aioseo_meta_data":{"post_id":"857","title":null,"description":null,"keywords":null,"keyphrases":{"focus":{"keyphrase":"","score":0,"analysis":{"keyphraseInTitle":{"score":0,"maxScore":9,"error":1}}},"additional":[]},"focus_keyword":null,"additional_keywords":null,"truseo_locale":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_custom_url":null,"og_image_custom_fields":null,"og_image_url":null,"og_image_width":null,"og_image_height":null,"og_video":"","og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_image_url":null,"twitter_title":null,"twitter_description":null,"schema_type":"default","schema_type_options":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"BlogPosting","isEnabled":true},"graphs":[]},"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":"-1","robots_max_videopreview":"-1","robots_max_imagepreview":"large","priority":null,"frequency":"default","local_seo":null,"limit_modified_date":false,"ai":{"faqs":[],"keyPoints":[],"schemas":[],"titles":[],"descriptions":[],"socialPosts":{"email":{"subject":"","preview":"","content":""},"linkedin":[],"twitter":[],"facebook":[],"instagram":[]}},"breadcrumb_settings":null,"seo_analyzer_scan_date":null,"created":"2026-11-07 05:21:45","updated":"2026-11-07 09:30:22"},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/catstudio.sakura.ne.jp\/cms001\/\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/catstudio.sakura.ne.jp\/cms001\/?cat=15&amp;lang=en\" title=\"tech\">tech<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tCauses and solutions for PowerShell 7.6.6 crashing immediately upon startup: \u2018totalWidth\u2019 (\u2018-10\u2019) error\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/catstudio.sakura.ne.jp\/cms001\/"},{"label":"tech","link":"https:\/\/catstudio.sakura.ne.jp\/cms001\/?cat=15&lang=en"},{"label":"Causes and solutions for PowerShell 7.6.6 crashing immediately upon startup: &#8216;totalWidth&#8217; (&#8216;-10&#8217;) error","link":"https:\/\/catstudio.sakura.ne.jp\/cms001\/?p=857&lang=en"}],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/catstudio.sakura.ne.jp\/cms001\/index.php?rest_route=\/wp\/v2\/posts\/857","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/catstudio.sakura.ne.jp\/cms001\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/catstudio.sakura.ne.jp\/cms001\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/catstudio.sakura.ne.jp\/cms001\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/catstudio.sakura.ne.jp\/cms001\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=857"}],"version-history":[{"count":3,"href":"https:\/\/catstudio.sakura.ne.jp\/cms001\/index.php?rest_route=\/wp\/v2\/posts\/857\/revisions"}],"predecessor-version":[{"id":862,"href":"https:\/\/catstudio.sakura.ne.jp\/cms001\/index.php?rest_route=\/wp\/v2\/posts\/857\/revisions\/862"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/catstudio.sakura.ne.jp\/cms001\/index.php?rest_route=\/wp\/v2\/media\/686"}],"wp:attachment":[{"href":"https:\/\/catstudio.sakura.ne.jp\/cms001\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=857"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/catstudio.sakura.ne.jp\/cms001\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=857"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/catstudio.sakura.ne.jp\/cms001\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=857"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}