{"id":59457,"date":"2023-07-15T18:35:58","date_gmt":"2023-07-15T13:05:58","guid":{"rendered":"http:\/\/198.58.113.91\/blog\/?p=59457"},"modified":"2026-03-09T12:15:33","modified_gmt":"2026-03-09T06:45:33","slug":"how-to-fix-pwrshsip-dll-bad-image-error","status":"publish","type":"post","link":"https:\/\/www.winhelponline.com\/blog\/how-to-fix-pwrshsip-dll-bad-image-error\/","title":{"rendered":"How to Fix Pwrshsip.dll &#8220;Bad Image&#8221; Error"},"content":{"rendered":"<p>When you run a program, especially an Adobe app, the following error may occur:<\/p>\n<pre class=\"err\">\n[program.exe] - Bad Image\n\nC:\\Windows\\System32\\WindowsPowerShell\\v1.0\\pwrshsip.dll is either not designed to run on Windows or it contains an error. Try installing the program again using the original installation media or contact your system administrator or the software vendor for support. Error status 0xc000012f.<\/pre>\n<p><!--more--><\/p>\n<p>In some cases, the error code can be one of the following:<\/p>\n<ul>\n<li>0xC0000006<\/li>\n<li>0xC0000020<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2023\/07\/pwrshsip_error_0xc0000020.png\" alt=\"pwrshsip.dll bad image error\" width=\"572\" height=\"280\" class=\"alignnone size-full wp-image-59458\" \/><\/p>\n<h2>Cause<\/h2>\n<p>The above error codes mean the module pwrshsip.dll is corrupt and unloadable.<\/p>\n<table>\n<tbody>\n<tr>\n<td>0xC0000020<\/p>\n<p>STATUS_INVALID_FILE_FOR_SECTION<\/td>\n<td>{Bad File} The attributes of the specified mapping file for a section of memory cannot be read.<\/td>\n<\/tr>\n<tr>\n<td>0xC0000006<\/p>\n<p>STATUS_IN_PAGE_ERROR<\/td>\n<td>The instruction at 0x%08lx referenced memory at 0x%08lx. The required data was not placed into memory because of an I\/O error status of 0x%08lx.<\/td>\n<\/tr>\n<tr>\n<td>0xC000012F<\/p>\n<p>STATUS_INVALID_IMAGE_NOT_MZ<\/td>\n<td>The specified image file did not have the correct format: it did not have an initial MZ.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>Resolution<\/h2>\n<p>To fix the <code>pwrshsip.dll<\/code> file, run <a href=\"https:\/\/www.winhelponline.com\/blog\/repair-windows-10-using-dism-sfc\/\">DISM and SFC<\/a>.<\/p>\n<p>Open an <a href=\"https:\/\/www.winhelponline.com\/blog\/open-elevated-command-prompt-windows\/\">admin Command Prompt<\/a> window and run these commands:<\/p>\n<pre class=\"cmd\">dism \/online \/cleanup-image \/restorehealth<\/pre>\n<pre class=\"cmd\">cd \/d \"C:\\windows\\system32\\windowspowershell\\v1.0\"<\/pre>\n<pre class=\"cmd\">takeown \/f pwrshsip.dll \/a<\/pre>\n<pre class=\"cmd\">icacls pwrshsip.dll \/grant *S-1-5-32-544:F<\/pre>\n<pre class=\"cmd\">del pwrshsip.dll \/f<\/pre>\n<pre class=\"cmd\">sfc \/scanfile=\"C:\\windows\\system32\\windowspowershell\\v1.0\\pwrshsip.dll\"<\/pre>\n<p>That should repair the corrupted pwrshsip.dll file.<\/p>\n<p><em>If SFC can&#8217;t restore the file for some reason, you can download the appropriate version of the file from Microsoft and copy it to &#8220;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\&#8221;. See <a href=\"https:\/\/www.winhelponline.com\/blog\/download-missing-system-files-dll-exe-sys-from-microsoft-site\/\">How to Download Missing System files from Microsoft<\/a>.<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>When you run a program, especially an Adobe app, the following error may occur: [program.exe] &#8211; Bad Image C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\pwrshsip.dll is either not designed to run on Windows or it contains an error. Try installing the program again using the original installation media or contact your system administrator or the software vendor for support. Error status &#8230; <a title=\"How to Fix Pwrshsip.dll &#8220;Bad Image&#8221; Error\" class=\"read-more\" href=\"https:\/\/www.winhelponline.com\/blog\/how-to-fix-pwrshsip-dll-bad-image-error\/\" aria-label=\"Read more about How to Fix Pwrshsip.dll &#8220;Bad Image&#8221; Error\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[8,869],"tags":[106,160,191,493],"class_list":["post-59457","post","type-post","status-publish","format-standard","hentry","category-windows-10","category-windows-11","tag-command-prompt","tag-dism","tag-error-messages","tag-sfc"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":75064,"url":"https:\/\/www.winhelponline.com\/blog\/vclibs-140-bad-image-error\/","url_meta":{"origin":59457,"position":0},"title":"[Fix] VCLibs 14.0.33519.0 &#8220;Bad Image&#8221; Error in Windows 11","author":"Ramesh","date":"May 4, 2024","format":false,"excerpt":"When you open Notepad or any other Store app in Windows 11, the following errors may appear: Bad Image C:\\Program Files\\WindowsApps\\Microsoft.VCLibs.140.00_14.0.33519.0_x64__8wekyb3d8bbwe\\VCRUNTIME140_1_APP.dll is either not designed to run on windows or it contains an error. Try installing the program again using the original installation media or contact your system administrator or\u2026","rel":"","context":"In &quot;Windows 11&quot;","block_context":{"text":"Windows 11","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/windows-11\/"},"img":{"alt_text":"vclibs 140 x64 install appx - 0x80070005","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2024\/05\/vclibs-140-install-appx-error.jpg?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2024\/05\/vclibs-140-install-appx-error.jpg?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2024\/05\/vclibs-140-install-appx-error.jpg?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2024\/05\/vclibs-140-install-appx-error.jpg?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":75337,"url":"https:\/\/www.winhelponline.com\/blog\/vclibs-uwpdesktop-33728-x64-bad-image\/","url_meta":{"origin":59457,"position":1},"title":"[Fix] VCLibs UWPDesktop 14.0.33728.0 x64 &#8220;Bad Image&#8221; Error","author":"Ramesh","date":"June 1, 2024","format":false,"excerpt":"Summary: In this article, we'll learn how to repair the VCLibs UWPDesktop 14.0.33728.0 x64 modules. The procedure is similar to the VCLibs x64 14.0.33519.0 \"Bad Image\" error fix we saw in an earlier article. When you launch Notepad, Store, Paint, Photos, or any other Store app on a Windows 11\u2026","rel":"","context":"In &quot;Windows 11&quot;","block_context":{"text":"Windows 11","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/windows-11\/"},"img":{"alt_text":"vclibs uwpdesktop 33728 bad image","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2024\/06\/vclibs-33728-bad-image.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":5845,"url":"https:\/\/www.winhelponline.com\/blog\/error-0xc000012f-bad-image-fix-corrupt-files\/","url_meta":{"origin":59457,"position":2},"title":"Error 0xc000012f &#8220;Bad Image&#8221; When Running a Program","author":"Ramesh","date":"November 2, 2017","format":false,"excerpt":"When you run a program in Windows, error 0xc000012f may pop up, mentioning that the binary you're trying to run is corrupted. Here are some examples, with the full error message verbatim: <filename> is either not designed to run on Windows or it contains an error. Try installing the program\u2026","rel":"","context":"In &quot;Windows&quot;","block_context":{"text":"Windows","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/"},"img":{"alt_text":"winword.exe bad image error gfx.dll","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2017\/11\/winword-bad-image-error.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":1078,"url":"https:\/\/www.winhelponline.com\/blog\/fix-file-association-error-explorer-in-windows\/","url_meta":{"origin":59457,"position":3},"title":"[Fix] Explorer.exe Error &#8220;This file does not have an app associated&#8221;","author":"Ramesh","date":"September 2, 2010","format":false,"excerpt":"When you click the Windows Explorer or File Explorer shortcut Pinned to the Taskbar, or when running explorer.exe directly, the following error message may be displayed: This file does not have an app associated with it for performing this action. Please install an app or, if one is already installed,\u2026","rel":"","context":"In &quot;Windows&quot;","block_context":{"text":"Windows","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/"},"img":{"alt_text":"file explorer shortcut association error","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2010\/09\/explorer-error-app-association-1.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2010\/09\/explorer-error-app-association-1.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2010\/09\/explorer-error-app-association-1.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":59358,"url":"https:\/\/www.winhelponline.com\/blog\/epicgameslauncher-error-0xc000007b-0xc000012f\/","url_meta":{"origin":59457,"position":4},"title":"How to Fix Epic Games Launcher Error 0xC000007B or 0xC000012F","author":"Ramesh","date":"July 12, 2023","format":false,"excerpt":"When you run Epic Games Launcher, the error code 0xc000007b or 0xc000012f may appear. The full error message is mentioned below: EpicGamesLauncher.exe - Application Error The application was unable to start correctly (0xc000007b). Click OK to close the application. On some systems, the error code may be 0xc000012f. EpicGamesLauncher.exe -\u2026","rel":"","context":"In &quot;Windows&quot;","block_context":{"text":"Windows","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/"},"img":{"alt_text":"file copy dll replace epicgameslauncher","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2023\/07\/epicgameslauncher-error-fix-3.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2023\/07\/epicgameslauncher-error-fix-3.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2023\/07\/epicgameslauncher-error-fix-3.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":6061,"url":"https:\/\/www.winhelponline.com\/blog\/fix-api-ms-win-core-libraryloader-l1-1-1-dll-missing-error-windows-10-upgrade\/","url_meta":{"origin":59457,"position":5},"title":"Fix: Api-ms-win-core-libraryloader-l1-1-1.dll Missing Error During Windows 10 Upgrade","author":"Ramesh","date":"December 26, 2017","format":false,"excerpt":"When you try to upgrade to Windows 10 from a Windows 7 computer using the Windows 10 Update Assistant tool, the following error may pop up: Windows10UpgraderApp.exe - System Error The program can't start because api-ms-win-core-libraryloader-l1-1-1.dll is missing from your computer. Try reinstalling the program to fix this problem. Precisely,\u2026","rel":"","context":"In &quot;Windows 10&quot;","block_context":{"text":"Windows 10","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/windows-10\/"},"img":{"alt_text":"api-ms-win-core-libraryloader-l1-1-1.dll error windows 10 upgrade","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2017\/12\/w10-api-ms-win-core-missing.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/posts\/59457","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/comments?post=59457"}],"version-history":[{"count":0,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/posts\/59457\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/media?parent=59457"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/categories?post=59457"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/tags?post=59457"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}