Question PC does not turn off from inside windows

Page 2 - Seeking answers? Join the Tom's Hardware community: where nearly two million members share solutions and discuss the latest tech.
Oct 24, 2021
20
0
10
0
I am also curious about Task Scheduler not showing anything.

Two things you can do.

1.) Open Powershell as Admin and run the following cmdlet at the PS> prompt:

Get-SchduledTask

You should be presented with a lengthy list of Tasks and States.

2,) Run Process Explorer (free from Microsoft):

https://docs.microsoft.com/en-us/sysinternals/downloads/process-explorer

Objective being to get a sense of what all is running and to determine if there is anything that seems suspicious.

Any unrecognized process can be googled for more information about what that process is and what the process (supposedly) does.
Following instruction 1, about 150-200 tasks and states show up in the list (as it should I suppose), so why those tasks won't show up in Task Scheduler is beyond me.
There are plenty to go through, but I will do my bets to identify every single task.
 

Ralston18

Titan
Moderator
What is the the status of (from my computer)

\Microsoft\Windows\InstallService\ WakeUpAndContinueUpdates Disabled
\Microsoft\Windows\InstallService\ WakeUpAndScanForUpdates Disabled

on your computer?

For the moment sort of "hold" on going through all of those tasks.

Hopefully we can narrow down the potential culprits beforehand.

Especially if someone else runs the cmdlet and notes other tasks that may be relevant to the problem at hand.
 
Oct 24, 2021
20
0
10
0
What is the the status of (from my computer)

\Microsoft\Windows\InstallService\ WakeUpAndContinueUpdates Disabled
\Microsoft\Windows\InstallService\ WakeUpAndScanForUpdates Disabled

on your computer?

For the moment sort of "hold" on going through all of those tasks.

Hopefully we can narrow down the potential culprits beforehand.

Especially if someone else runs the cmdlet and notes other tasks that may be relevant to the problem at hand.
Alright, will do.
They are both disabled
 

Ralston18

Titan
Moderator
Okay try this:

Get-ScheduledTask | ? State -eq Running

From my PC:

TaskPath TaskName State
-------- -------- -----
\Microsoft\Windows\Multimedia\ SystemSoundsService Running
\Microsoft\Windows\Wininet\ CacheTask Running
 

Ralston18

Titan
Moderator
Just for the record what I am attempting to do is to find some difference between our respective systems.

Could be some TaskName and State difference.

Get-ScheduledTask | ? State -eq Disabled

My "Disabled":


PS C:\WINDOWS\system32> Get-ScheduledTask | ? State -eq Disabled

TaskPath TaskName State
-------- -------- -----
\ McAfee Remediation (Prepare) Disabled
\Agent Activation Runtime\ S-1-5-21-1577051677-2174798182... Disabled
\Microsoft\Windows\.NET Framework\ .NET Framework NGEN v4.0.30319... Disabled
\Microsoft\Windows\.NET Framework\ .NET Framework NGEN v4.0.30319... Disabled
\Microsoft\Windows\Active Directory Rights ... AD RMS Rights Policy Template ... Disabled
\Microsoft\Windows\AppID\ PolicyConverter Disabled
\Microsoft\Windows\AppID\ VerifiedPublisherCertStoreCheck Disabled
\Microsoft\Windows\AppxDeploymentClient\ Pre-staged app cleanup Disabled
\Microsoft\Windows\Clip\ License Validation Disabled
\Microsoft\Windows\DeviceDirectoryClient\ RegisterDeviceLocationRightsCh... Disabled
\Microsoft\Windows\DeviceDirectoryClient\ RegisterDevicePeriodic24 Disabled
\Microsoft\Windows\DiskDiagnostic\ Microsoft-Windows-DiskDiagnost... Disabled
\Microsoft\Windows\DiskDiagnostic\ Microsoft-Windows-DiskDiagnost... Disabled
\Microsoft\Windows\File Classification Infr... Property Definition Sync Disabled
\Microsoft\Windows\InstallService\ WakeUpAndContinueUpdates Disabled
\Microsoft\Windows\InstallService\ WakeUpAndScanForUpdates Disabled
\Microsoft\Windows\LanguageComponentsInstal... Uninstallation Disabled
\Microsoft\Windows\Management\Provisioning\ Retry Disabled
\Microsoft\Windows\Management\Provisioning\ RunOnReboot Disabled
\Microsoft\Windows\Offline Files\ Background Synchronization Disabled
\Microsoft\Windows\Offline Files\ Logon Synchronization Disabled
\Microsoft\Windows\PushToInstall\ LoginCheck Disabled
\Microsoft\Windows\RecoveryEnvironment\ VerifyWinRE Disabled
\Microsoft\Windows\SharedPC\ Account Cleanup Disabled
\Microsoft\Windows\Shell\ FamilySafetyMonitorToastTask Disabled
\Microsoft\Windows\SoftwareProtectionPlatform\ SvcRestartTaskLogon Disabled
\Microsoft\Windows\SoftwareProtectionPlatform\ SvcRestartTaskNetwork Disabled
\Microsoft\Windows\Storage Tiers Management\ Storage Tiers Optimization Disabled
\Microsoft\Windows\Subscription\ LicenseAcquisition Disabled
\Microsoft\Windows\Sysmain\ HybridDriveCachePrepopulate Disabled
\Microsoft\Windows\Sysmain\ HybridDriveCacheRebalance Disabled
\Microsoft\Windows\UNP\ RunUpdateNotificationMgr Disabled
\Microsoft\Windows\UpdateOrchestrator\ Maintenance Install Disabled
\Microsoft\Windows\UpdateOrchestrator\ Reboot Disabled
\Microsoft\Windows\UpdateOrchestrator\ Reboot_AC Disabled
\Microsoft\Windows\UpdateOrchestrator\ Reboot_Battery Disabled
\Microsoft\Windows\UpdateOrchestrator\ Schedule Maintenance Work Disabled
\Microsoft\Windows\UpdateOrchestrator\ Schedule Wake To Work Disabled
\Microsoft\Windows\UpdateOrchestrator\ Schedule Work Disabled
\Microsoft\Windows\User Profile Service\ HiveUploadTask Disabled
\Microsoft\Windows\WOF\ WIM-Hash-Validation Disabled
\Microsoft\Windows\Workplace Join\ Automatic-Device-Join Disabled
\Microsoft\Windows\Workplace Join\ Device-Sync Disabled
\Microsoft\Windows\Workplace Join\ Recovery-Check Disabled
\Microsoft\Windows\WwanSvc\ OobeDiscovery Disabled
\S-1-5-21-1577051677-2174798182-290312275-1... DataSenseLiveTileTask Disabled
\S-1-5-21-1577051677-2174798182-290312275-1... DataSenseLiveTileTask Disabled

Possibly going about this the hard way but finding a difference could prove helpful.
 
Oct 24, 2021
20
0
10
0
Just for the record what I am attempting to do is to find some difference between our respective systems.

Could be some TaskName and State difference.

Get-ScheduledTask | ? State -eq Disabled

My "Disabled":


PS C:\WINDOWS\system32> Get-ScheduledTask | ? State -eq Disabled

TaskPath TaskName State
-------- -------- -----
\ McAfee Remediation (Prepare) Disabled
\Agent Activation Runtime\ S-1-5-21-1577051677-2174798182... Disabled
\Microsoft\Windows\.NET Framework\ .NET Framework NGEN v4.0.30319... Disabled
\Microsoft\Windows\.NET Framework\ .NET Framework NGEN v4.0.30319... Disabled
\Microsoft\Windows\Active Directory Rights ... AD RMS Rights Policy Template ... Disabled
\Microsoft\Windows\AppID\ PolicyConverter Disabled
\Microsoft\Windows\AppID\ VerifiedPublisherCertStoreCheck Disabled
\Microsoft\Windows\AppxDeploymentClient\ Pre-staged app cleanup Disabled
\Microsoft\Windows\Clip\ License Validation Disabled
\Microsoft\Windows\DeviceDirectoryClient\ RegisterDeviceLocationRightsCh... Disabled
\Microsoft\Windows\DeviceDirectoryClient\ RegisterDevicePeriodic24 Disabled
\Microsoft\Windows\DiskDiagnostic\ Microsoft-Windows-DiskDiagnost... Disabled
\Microsoft\Windows\DiskDiagnostic\ Microsoft-Windows-DiskDiagnost... Disabled
\Microsoft\Windows\File Classification Infr... Property Definition Sync Disabled
\Microsoft\Windows\InstallService\ WakeUpAndContinueUpdates Disabled
\Microsoft\Windows\InstallService\ WakeUpAndScanForUpdates Disabled
\Microsoft\Windows\LanguageComponentsInstal... Uninstallation Disabled
\Microsoft\Windows\Management\Provisioning\ Retry Disabled
\Microsoft\Windows\Management\Provisioning\ RunOnReboot Disabled
\Microsoft\Windows\Offline Files\ Background Synchronization Disabled
\Microsoft\Windows\Offline Files\ Logon Synchronization Disabled
\Microsoft\Windows\PushToInstall\ LoginCheck Disabled
\Microsoft\Windows\RecoveryEnvironment\ VerifyWinRE Disabled
\Microsoft\Windows\SharedPC\ Account Cleanup Disabled
\Microsoft\Windows\Shell\ FamilySafetyMonitorToastTask Disabled
\Microsoft\Windows\SoftwareProtectionPlatform\ SvcRestartTaskLogon Disabled
\Microsoft\Windows\SoftwareProtectionPlatform\ SvcRestartTaskNetwork Disabled
\Microsoft\Windows\Storage Tiers Management\ Storage Tiers Optimization Disabled
\Microsoft\Windows\Subscription\ LicenseAcquisition Disabled
\Microsoft\Windows\Sysmain\ HybridDriveCachePrepopulate Disabled
\Microsoft\Windows\Sysmain\ HybridDriveCacheRebalance Disabled
\Microsoft\Windows\UNP\ RunUpdateNotificationMgr Disabled
\Microsoft\Windows\UpdateOrchestrator\ Maintenance Install Disabled
\Microsoft\Windows\UpdateOrchestrator\ Reboot Disabled
\Microsoft\Windows\UpdateOrchestrator\ Reboot_AC Disabled
\Microsoft\Windows\UpdateOrchestrator\ Reboot_Battery Disabled
\Microsoft\Windows\UpdateOrchestrator\ Schedule Maintenance Work Disabled
\Microsoft\Windows\UpdateOrchestrator\ Schedule Wake To Work Disabled
\Microsoft\Windows\UpdateOrchestrator\ Schedule Work Disabled
\Microsoft\Windows\User Profile Service\ HiveUploadTask Disabled
\Microsoft\Windows\WOF\ WIM-Hash-Validation Disabled
\Microsoft\Windows\Workplace Join\ Automatic-Device-Join Disabled
\Microsoft\Windows\Workplace Join\ Device-Sync Disabled
\Microsoft\Windows\Workplace Join\ Recovery-Check Disabled
\Microsoft\Windows\WwanSvc\ OobeDiscovery Disabled
\S-1-5-21-1577051677-2174798182-290312275-1... DataSenseLiveTileTask Disabled
\S-1-5-21-1577051677-2174798182-290312275-1... DataSenseLiveTileTask Disabled

Possibly going about this the hard way but finding a difference could prove helpful.
These are the differences,

I do not have McAfee so \ McAfee Remediation (Prepare) Disabled is not there.
Other than that, I dont have the following showing:
Only have one \Microsoft\Windows\DiskDiagnostic\ Microsoft-Windows-DiskDiagnost... Disabled
\Microsoft\Windows\LanguageComponentsInstal... Uninstallation Disabled
\Microsoft\Windows\RecoveryEnvironment\ VerifyWinRE Disabled
\Microsoft\Windows\Shell\ FamilySafetyMonitorToastTask Disabled
\Microsoft\Windows\UpdateOrchestrator\ Maintenance Install Disabled
\Microsoft\Windows\UpdateOrchestrator\ Reboot Disabled
\Microsoft\Windows\UpdateOrchestrator\ Schedule Work Disabled
I had these showing which you dont:
\Microsoft\Windows\UpdateOrchestrator\ Start Oobe Expedite Work Disabled
\Microsoft\Windows\WaaSMedic\PerformRemediation Disabled
\Microsoft\Windows\Management\Provisioning\MdmDiagnosticsCleanup Disabled
\Microsoft\Windows\Maps\MapsUpdateTask Disabled
 

ASK THE COMMUNITY