If I've understood you correctly, you're trying to let the task scheduler
re-schedule the MP Scheduled Scan task. The problem with this is that I
believe Defender cancels the MP Scheduled Scan task and then re-schedules
it based on Defender's Options at each reboot in order to prevent getting
out of sync and having multiple occurrences of the same tasks scheduled.
What I've done in Options is to un-check automatically scan my computer
(recommended), and then I implemented a new task completely outside of
Defender's internal super-scheduler. I don't run it while
sleeping/hibernating though, so a bit of a guess there on the un-check
"logged on" part below.
Assuming you're running a full-scan rather than a quick (keep the quotes
due to the imbedded blanks, and sorry this forum format will break my
single line into multiple lines):
Run: "C:\Program Files\Windows
Defender\MpCmdRun.exe" -Scan -RestrictPrivileges -Scantype 2 <= just one
line
Start in: "C:\Program Files\Windows Defender"
Run as: you
un-check - Run only if logged on
check - Enabled (scheduled task runs at specified time)
Let us know if it works for you to wake up, or if I miss-understood. I
only run scans while logged on because I don't accept default actions, so
this is to control Monthly Full Scans. In addition I use another external
to Defender task which controls daily Quick scans (-Scantype 1), which I
schedule similarly outside of Defenders internal scheduler by not using MP
Scheduled Scan.