Task Scheduler issue


kosaksi

New member
Local time
4:08 PM
Posts
4
OS
Windows 11
I have been using a task scheduler to install applications. However, after updating to version 24H2, the installation is no longer working. Even when I tried to add a task manually on the 24H2 system that runs a simple PowerShell script to send an email, it is not functioning. In contrast, everything works without any issues on the 23H2 device.

Are there any updates or changes related to Task Scheduler that could be causing this? Where can I find a solution to this problem? Any guidance would be greatly appreciated. Thank you in advance!
 
Windows Build/Version
24H2

My Computer My Computer

At a glance

Windows 11
OS
Windows 11
Computer type
Laptop
Are there any updates or changes related to Task Scheduler that could be causing this?

Hi, welcome.

As you haven’t mentioned the build you’re on (Search bar type “Winver” press enter) it’s hard to know.
As far as I know, Task Scheduler would only be updated or affected buy a Windows Update.

If you’re using Windows 11 24H2 and you’re on Build KB5053598, It might pay to ask in that thread if anyone else is experiencing the same. It’s the most recent update for Windows.


I recall another recent thread mentioning Task Scheduler but I am having trouble finding it.
 

My Computers My Computers

  • At a glance

    Windows 11 Pro 25H2 Build 26200.9168Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz32.0 GB of I forget and the box is in storage.Gigabyte nVidia GeForce GTX 1660 Super OC 6GB
    OS
    Windows 11 Pro 25H2 Build 26200.9168
    Computer type
    PC/Desktop
    Manufacturer/Model
    Sin-built 2013
    CPU
    Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz
    Motherboard
    ASUS ROG Maximus VI Formula
    Memory
    32.0 GB of I forget and the box is in storage.
    Graphics Card(s)
    Gigabyte nVidia GeForce GTX 1660 Super OC 6GB
    Sound Card
    ROG SupremeFX Formula 8-Channel High Definition Audio
    Monitor(s) Displays
    5 x LG 25MS500-B - 1 x 24MK430H-B - 1 x Wacom Pro 22" Touch Screen Tablet
    Screen Resolution
    All over the place
    Hard Drives
    Too many to list. OS on Samsung 1TB 870 QVO SATA
    PSU
    Silverstone 1500
    Case
    NZXT Phantom 820 Full-Tower Case
    Cooling
    Noctua NH-D15 Elite Class Dual Tower CPU Cooler / 6 x EziDIY 120mm / 2 x Corsair 140mm somethings / 1 x 140mm Thermaltake something / 2 x 200mm Corsair.
    Keyboard
    Corsair K95 / Logitech diNovo Edge Wireless
    Mouse
    Logitech: G402 / G502 / Mx Masters / Mx Air Cordless
    Internet Speed
    2000/500Mbps
    Browser
    All sorts
    Antivirus
    Kaspersky Premium
    Other Info
    ㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
    TP-Link BE9300 WiFi 7 Bluetooth 5.4 (Archer TBE550E)
    TP-Link TX201 V1 2.5GB Lan

    Grandstream HT812 - VoIP
    ASUS DSL-AX82U - Mesh
    ASUS RT-AC68U - Mesh
    ASUS RT-BE88U Router

    Brother MFC-L2880DW Printer

    I’m on a horse.
  • At a glance

    Windows 11 Pro 25H2 Build 26200.9168 (Wifes)13th Generation Intel® Core™ i5-1340P Process...16GB LPDDR5-52001x Intel® Iris® Xe Graphics
    Operating System
    Windows 11 Pro 25H2 Build 26200.9168 (Wifes)
    Computer type
    Laptop
    Manufacturer/Model
    LENOVO Yoga 7 14IRL8 - Type 82YL
    CPU
    13th Generation Intel® Core™ i5-1340P Processor(Core™ i5-1340P)
    Memory
    16GB LPDDR5-5200
    Graphics card(s)
    1x Intel® Iris® Xe Graphics
    Sound Card
    Optimized with Dolby Atmos®
    Screen Resolution
    QHD 2880 x 1800 OLED
    Hard Drives
    M.2 512 GB SSD PCIe
    Mouse
    Logiteck MX Master 3S
    Internet Speed
    2000/500
    Antivirus
    Defender / Malwarebytes
    Other Info
    …still on a horse.


    Wireless Network: Wi-Fi 6E 2x2 AX; Bluetooth® 5.1 or above
    Ports: 1x 1 Novo button; 2 in 1 Audio Combo jack; Micro SD Card Reader; HDMI 1.4b; 2 x USB Type-C (TBT4)
    USB 3.2 Gen 2 DP 1.4a
    PD 3.0); 1 x USB 3.2 Gen1 Type A
    Camera
    1x 1080P FHD IR/RGB Hybrid with Privacy Shutter and Dual Array Microphone
    Graphics
    1x Intel® Iris® Xe Graphics
    Monitor
    14" WUXGA
    Form Factor
    Convertible Notebook
  • Windows 11 Pro 25H2 Build 26200.9168 (Wifes)

    Yoga 7 2-in-1 14IML9 - Type 83DJ

    Processor: Intel® Core™ Ultra 7 155H Processor(Core™ Ultra 7 155H)

    Memory: 32GB LPD5X-7467

    Hard Drive: 1 TB SSD PCIe

    Wireless Network: 1x Wi-Fi 6E 2x2 AX; Bluetooth® 5.1 or above

    Ports: 1 x HDMI 2.1 TMDS; 1 x Novo Button; 1 x Combo Audio Jack
    2 x USB-C (USB 4.0)
    1 x USB-A 3.2 Gen 1

    Camera: 1080P FHD IR Hybrid with Dual Microphone

    Graphics: Intel® Arc™ Graphics

    Monitor: 14" 2.8K

    ...Where's my horse?
I have been using a task scheduler to install applications. However, after updating to version 24H2, the installation is no longer working. Even when I tried to add a task manually on the 24H2 system that runs a simple PowerShell script to send an email, it is not functioning. In contrast, everything works without any issues on the 23H2 device.

Are there any updates or changes related to Task Scheduler that could be causing this? Where can I find a solution to this problem? Any guidance would be greatly appreciated. Thank you in advance!
In case it helps, I'm running 24H2 and have set Task Scheduler to startup a program on boot up. It works normally.
 

My Computer My Computer

At a glance

Windows 11Intel Core Ultra 7, 265K32GBUsing integrated graphics
OS
Windows 11
Computer type
PC/Desktop
Manufacturer/Model
Self Built
CPU
Intel Core Ultra 7, 265K
Motherboard
MSI Pro Z890-P WiFi
Memory
32GB
Graphics Card(s)
Using integrated graphics
Monitor(s) Displays
LG
Screen Resolution
4K
Hard Drives
512 GB SSD, 2TB M.2 SSD and 2TB SATA SSD
PSU
Seasonic Modular 550 watt Focus Plus
Case
Corsair 4000D
Cooling
ThermalRight Phantom Sprit
Hi, welcome.

As you haven’t mentioned the build you’re on (Search bar type “Winver” press enter) it’s hard to know.
As far as I know, Task Scheduler would only be updated or affected buy a Windows Update.

If you’re using Windows 11 24H2 and you’re on Build KB5053598, It might pay to ask in that thread if anyone else is experiencing the same. It’s the most recent update for Windows.


I recall another recent thread mentioning Task Scheduler but I am having trouble finding it.
Thanks for this. To add on to my issue, I was able to install exe installations without any problems, But with PowerShell installations, i am facing issues. I use Highest Privileges, Eg . "PowerShell -ExecutionPolicy ByPass -file \"" + CurrentTask.ExecutableFilePath + "\"" Are there any changes on execution policy in the 24h2? instead of "ByPass" any other commands?
 

My Computer My Computer

At a glance

Windows 11
OS
Windows 11
Computer type
Laptop
Executing "powershell -ExecutionPolicy Bypass -f file.ps1" will ignore the task user's current Execution Policy.

The typical scheduled task errors will include:
- User account errors running with highest privileges

- Bad PS command line syntax. Typically you can do error redirection into a log, for more clues.
Code:
powershell -ExecutionPolicy Bypass -f C:\path\to\file.ps1 2>& > C:\path\to\log.txt
 

My Computer My Computer

At a glance

Windows 7
OS
Windows 7
This may depend on the version of Powershell, not the version of Windows.


“bypass” works.
 

My Computer My Computer

At a glance

Microsoft Windows 11 HomeIntel Core i5-13490F2 x 16 Patriot Memory (PDP Systems) PSD516G56...GIGABYTE GeForce RTX 4070 WINDFORCE OC 12G (G...
OS
Microsoft Windows 11 Home
Computer type
PC/Desktop
Manufacturer/Model
MSI MS-7D98
CPU
Intel Core i5-13490F
Motherboard
MSI B760 GAMING PLUS WIFI
Memory
2 x 16 Patriot Memory (PDP Systems) PSD516G560081 6400MT (32-37-37-74); 1.35V)
Graphics Card(s)
GIGABYTE GeForce RTX 4070 WINDFORCE OC 12G (GV-N4070WF3OC-12GD)
Sound Card
Bluetooth Аудио
Monitor(s) Displays
INNOCN 15K1F
Screen Resolution
1920 x 1080
Hard Drives
WD_BLACK SN770 250GB
KINGSTON SNV2S1000G (ELFK0S.6)
PSU
Thermaltake Toughpower GF3 1000W
Case
CG560 - DeepCool
Cooling
ID-COOLING SE-224-XTS / 2 x 140Mm Fan - rear and top; 3 x 120Mm - front
Keyboard
Corsair K70 RGB TKL
Mouse
Corsair KATAR PRO XT
Internet Speed
100 Mbps
Browser
Firefox
Antivirus
Microsoft Defender Antivirus
Other Info
https://www.userbenchmark.com/UserRun/66553205
1742969721603.webp


I was using Bypass previously , Now it is not working in this new version , Is there a way to set execution policy only to that process ? If I want to use "unrestricted" ?
 

My Computer My Computer

At a glance

Windows 11
OS
Windows 11
Computer type
Laptop
I have been using a task scheduler to install applications. However, after updating to version 24H2, the installation is no longer working. Even when I tried to add a task manually on the 24H2 system that runs a simple PowerShell script to send an email, it is not functioning. In contrast, everything works without any issues on the 23H2 device.

Are there any updates or changes related to Task Scheduler that could be causing this? Where can I find a solution to this problem? Any guidance would be greatly appreciated. Thank you in advance!
1742969831477.webp
 

My Computer My Computer

At a glance

Windows 11
OS
Windows 11
Computer type
Laptop

Latest Support Threads

Back
Top Bottom