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

Tasklist doesn't read the correct status of UWP process #73

Closed
float34 opened this issue Jan 15, 2021 · 3 comments
Closed

Tasklist doesn't read the correct status of UWP process #73

float34 opened this issue Jan 15, 2021 · 3 comments

Comments

@float34
Copy link

float34 commented Jan 15, 2021

Trying to read the status of suspended UWP process, but tasklist sees it as running:
image

OS: Windows 10 Pro 20H2, build 19042.685

@sylveon
Copy link

sylveon commented Jan 15, 2021

As discussed on Discord, this is because UWP suspension is not the same as Win32 suspension, and tasklist only checks the latter.

It should be updated to also check UWP suspension. This can be done by calling NtQuerySystemInformation to get PROCESS_EXTENDED_BASIC_INFORMATION, and then the status of UWP suspension will be in the IsFrozen bit-field.

@AvriMSFT
Copy link
Contributor

@sylveon Thanks for the solution 🙂. This should help @Torquerrr

@Eli-Black-Work
Copy link

@AvriMSFT Can we reopen this? I think there are still actionable items on this, as per @sylveon's comment.

@microsoft microsoft locked as resolved and limited conversation to collaborators Jun 23, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants