question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Slow startup when loading one-line profile on a SSD

See original GitHub issue

Powershell takes a lot of time to launch, even on my computer with an SSD disk. It says “Loading personal and system profiles took 1031ms.” My only profile option is set at $PROFILE.AllUsersAllHosts, with a single line to disable deafening beep. Set-PSReadlineOption -BellStyle None. Even with the profile file deleted, powershell still takes quite a lot of time to launch, but less than with the profile. It used to take ~600ms to launch, but it jumped to ~1s after KB4025342 .

Environment data

PS C:\Users\phg> $PSVersionTable

Name                           Value
----                           -----
PSVersion                      5.1.15063.483
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.15063.483
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

3reactions
SteveL-MSFTcommented, Jul 13, 2017

You might also try powershell -noprofile for Windows PowerShell to eliminate any profile as a factor

0reactions
msftbot[bot]commented, Jul 14, 2019

This issue has been marked as answered and has not had any activity for 1 day. It has been closed for housekeeping purposes.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Windows 11/10 Slow Boot SSD | How to Fix SSD Taking ...
According to users, you can fix SSD with slow boot time by adjusting the amount of virtual memory. Steps to increase virtual memory:...
Read more >
Fix SSD Slow Boot on Windows 10 with 8 Effective Methods
This article tells you how to fix SSD slow boot on Windows 10. 8 methods are provided. Try them individually and get your...
Read more >
Slow startup with NVMe M.2!
Hi Windows 10 I have slow on startup Even though I use Samsung 970 EVO Plus NVMe Startup takes 35 seconds to desktop!...
Read more >
SSD fast boot time but slow startup programs - Linus Tech Tips
1. Normal bootup, so applications might start slower since RAM, CPU are trying to also startup. 2. Antivirus software scanning the opening ......
Read more >
Slow Startup...SSD...all startup programs disabled
If it's faster, try disabling everything non-MS you don't need from Task Manager - Startup tab that could be slowing it down. If...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found