Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]: Copying Services stops at certain items #2226

Open
DerekZiemba opened this issue Oct 5, 2024 · 0 comments
Open

[BUG]: Copying Services stops at certain items #2226

DerekZiemba opened this issue Oct 5, 2024 · 0 comments
Assignees
Labels

Comments

@DerekZiemba
Copy link

DerekZiemba commented Oct 5, 2024

Brief description of your issue

Background:

My Win11 22H2 PC takes a long time to shutdown with it getting stuck at "Shutting down services" for a minute or more. I'm trying to troubleshoot which service may be causing the issue.
I've found ChatGPT/Github Copilot to be extremely helpful regarding what a service is for, what's safe, & what potential negative side effects there are changing how or if a service/driver starts. For Copilot to know WTF I'm talking about: from SystemInformer I navigate to the Services tab, select all, copy, then past to VSCode tmp file, change language mode to CSV, format as table, then start asking questions.

Problem

For some reason only some of what I attempt to copy actually goes to the clipboard. It seems to stop at specific Service entries (which I'll provide in "Steps to reproduce").

Basically it takes a while to get the list of services into VSCode. I have to find the last entry it stopped at, then copy from there.
Maybe this was always a bug, I know I've probably not tried to copy a list of items since at least the ProcessHacker --> SystemInformer changeover, and definitely probably not the Services list specifically.
(aside: is it possible to export this list as HTML or something I can open in VSCode?)

These are the columns I use:
image

It seems to be stopping at the Binary Path column. I can copy the Binary Path column specifically, but if I copy the whole entry it stops just before Binary Path. If several entries are selected, the copy operation will stop at whatever entries has an issue.

If I remove Binary Path or Description columns, it will still stop at the 362nd entry. But if I remove BOTH, it will successfully copy all 826 of my services

image

Steps to reproduce

Usually I sort by Start Type but for this example I'll sort by Name to minimize variances.

  1. Go to Services tab & hotkey: Ctrl + A then Ctrl + C
  2. It copies 362 services, from 1394ohci to mpssvc, stopping just before MQAC
    • For mpssvc the binary path path is C:\Windows\system32\svchost.exe -k LocalServiceNoNetworkFirewall -p, but for some reason the copy operation stopped just before it, after the description:
      Windows Defender Firewall helps protect your computer by preventing unauthorized users from gaining access to your computer through the Internet or a network.
  3. Copy to end of list starting from MQAC. The next service is MRxDAV & the end service being ZoomCptService. There is about half & list of entries in between (so ~370ish). However, the copy stops at just the MRxDAV service so only a single entry is copied...
    • This might be a problematic entry, the content of what can be copied is as follows:
      , MRxDAV, , WebDav Client Redirector Driver, Stopped, FS driver, Demand start, Network Redirector that provides WebDAV file access for the WebClient service
    • For MRxDAV the binary path path is \SystemRoot\system32\drivers\mrxdav.sys, but for some reason the copy operation stopped just before it, after the description:
      Network Redirector that provides WebDAV file access for the WebClient service
  4. Copy to end of list starting from FS Driver mrxsmb ^(366th entry) which directly follows MRxDav ^(365th entry) & paste to VSCode. Even though there's ~370 entries selected, only 52 entries are copy/pasted.
  5. The copy stoped at entry 417 2288, netprofm, , Network List Service, Running, Share process, Demand start, Identifies the networks to which the computer has connected, collects and stores properties for these networks, and notifies applications when these properties change. The next entry, which is where copy stopped, is NetSetupSvc
  6. Copy to end of list starting from NetSetupSvc, etc.. Only 8 entries are pasted with the paste stopping at the 425th entry:
    , NlaSvc, , Network Location Awareness, Stopped, Share process, Demand start, Collects and stores configuration information for the network and notifies programs when this information is modified. If this service is stopped, configuration information might be unavailable. If this service is disabled, any services that explicitly depend on it will fail to start.
  7. After typing this far I finally noticed the pattern & added it to the end of the Problem section.

Expected behavior (optional)

It would copy everything selected.

Actual behavior (optional)

It seems to be stopping at the Binary Path column. I can copy the Binary Path column specifically, but if I copy the whole entry it stops just before Binary Path. If several entries are selected, the copy operation will stop at whatever entries has an issue.
If I remove Binary Path or Description columns, it will still stop at the 362nd entry. But if I remove BOTH, it will successfully copy all 826 of my services

Environment (optional)

Win 11 22H2 EDU   
System Informer versions I tried:   
  - whatever older version I was on (in the range of: 2weeks to 2months ago)
  - updated to latest `Stable` to see if it changed (idk version but whatever stable version is @ time of the canary version below) 
  - updated to latest `Canary` to see if it changed (v3.1.24278.0 Canary)

Suggestion:

  • You're copying to the clipboard as CSV. You should perhaps quote the descriptions as they contain commas. Or do a .includes(",") on every cell then escape & wrap with quotes as needed.
  • The ability to include Headers would be nice
@dmex dmex added bug and removed needs-triage labels Oct 11, 2024
@dmex dmex self-assigned this Oct 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants