{"id":3124,"date":"2026-03-08T11:54:20","date_gmt":"2026-03-08T09:54:20","guid":{"rendered":"https:\/\/itsimple.info\/?p=3124"},"modified":"2026-03-08T11:54:21","modified_gmt":"2026-03-08T09:54:21","slug":"powershell-loading-slow-everytime","status":"publish","type":"post","link":"https:\/\/itsimple.info\/?p=3124","title":{"rendered":"Powershell loading slow everytime"},"content":{"rendered":"\n<p>When open Powershell on windows it take a lot of time until console is ready. Here some setting to check :<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Profile Scripts ($Profile):<\/strong>\u00a0Scripts in your PowerShell profile run every time the console starts. Slow commands, large module imports, or network drive mappings within the profile are common causes of delays. try to start powershell with no profile : powershell.exe -noprofile<\/li>\n\n\n\n<li><strong>.NET Framework Optimization:<\/strong>\u00a0PowerShell is built on the .NET Framework, which performs optimization tasks on first use. A corrupted cache or incomplete optimization can cause slow startups. try to Use the\u00a0<code>ngen.exe<\/code>\u00a0(Native Image Generator) tool to compile PowerShell assemblies into native machine code.<\/li>\n\n\n\n<li><strong>Certificate Revocation List (CRL) Checks:<\/strong>\u00a0PowerShell might attempt to check certificate revocation lists for signed modules (e.g., some AWS or VMware modules) over the internet. If the system has limited or no internet access, this can cause a timeout delay. Try to Disable CRL checking via a registry setting (<code>reg add HKLM\\SYSTEM\\CurrentControlSet\\Services\\SstpSvc\\Parameters \/v NoCertRevocationCheck \/t REG_DWORD \/d 0x00000001 \/f<\/code>) or ensure internet connectivity.<\/li>\n\n\n\n<li><strong>Large History File:<\/strong>\u00a0An excessively large PowerShell command history file (located at\u00a0<code>C:\\Users\\username\\AppData\\Roaming\\Microsoft\\Windows\\PowerShell\\PSReadLine\\ConsoleHost_history.txt<\/code>) can slow down startup. Try to clear the content<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-pullquote has-vivid-green-cyan-color has-text-color has-link-color has-large-font-size wp-elements-913a8d28a4fab8f1d7b7023910a23e04\"><blockquote><p>Good Luck<\/p><\/blockquote><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>When open Powershell on windows it take a lot of time until console is ready. Here some setting to check : Good Luck<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[21,12,14,15],"tags":[],"class_list":["post-3124","post","type-post","status-publish","format-standard","hentry","category-operating-systems","category-tutorials","category-windows","category-windows-server"],"_links":{"self":[{"href":"https:\/\/itsimple.info\/index.php?rest_route=\/wp\/v2\/posts\/3124","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/itsimple.info\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/itsimple.info\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/itsimple.info\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/itsimple.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3124"}],"version-history":[{"count":1,"href":"https:\/\/itsimple.info\/index.php?rest_route=\/wp\/v2\/posts\/3124\/revisions"}],"predecessor-version":[{"id":3125,"href":"https:\/\/itsimple.info\/index.php?rest_route=\/wp\/v2\/posts\/3124\/revisions\/3125"}],"wp:attachment":[{"href":"https:\/\/itsimple.info\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3124"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/itsimple.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3124"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/itsimple.info\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3124"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}