Solved Cannot create task in Task Scheduler


PilgrimLyieu

Member
Local time
10:44 PM
Posts
43
OS
Windows 11 Pro
Hello everyone, I've encountered a troublesome issue and I'm expecting somebody to help me.

I wanted to create a UAC whitelist for trusted software(such as Everything, AutoHotkey) to avoid the annoying UAC window. And I found a way using task scheduler. Here's my procedure.

I'm in Administrators group and I opened the Task Scheduler as Administrator.
I'm in Administrators.png
I turned on the option "Run only when user is logged on" and "Run with highest privileges" and set the option "Configure for" to "Windows 10"(For there's no Windows 11).
Task Scheduler 1st page.png
Then I added an action starting a program(Take Everything as an example.)
Task Scheduler 3rd page.png
This's the 4th page.
Task Scheduler 4th page.png
And when I clicked "OK"(in the image is "确定“), it asked me for password.
Task Scheduler Popout window.png
I log in the computer with my Microsoft account so I don't remember that I've set any password. So I tried my PIN and Microsoft account password, which failed unexpectedly.
Warning.png
So now I'm at the end of my wits.
Additionally, if I create a new folder in Task Scheduler, I'll receive a warning too.
Denied.png
But the folder is created if I click "OK" and refresh.
I've tried my best to search through the Internet but since my English is not good(You see, I'm a Chinese actually), I couldn't find any solution. So I've to post my issue on the forum to ask for help. I hope I didn't do anything wrong. Any help would be appreciated.
Thanks in advance!
 
Windows Build/Version
23H2 22631.2048

My Computer

System One

  • OS
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Lenovo
Hello, and welcome to the Forum.

There is a solution to your question involving the Windows Registry. If you are confident in using the Registry and program like RegEdit, you may proceed.

The default is to require a password for a scheduled task. However you may disable the default by altering the following Registry key:
Locate HKEY_LOCAL_MACHINE > SYSTEM > CurrentControlSet > Control > Lsa
Locate limitblankpassworduse
Change the value from "1" to "0".
Then check the "Run only if logged on" box in the scheduled task.
Source: Disable task scheduler security when author password changes?
 

My Computers

System One System Two

  • OS
    Windows 11
    Computer type
    PC/Desktop
    CPU
    AMD Ryzen 5 5600
    Motherboard
    MSI B550-A Pro
    Memory
    16 GB
    Graphics Card(s)
    Sapphire Radeon RX 6500XT (8 GB version)
    Monitor(s) Displays
    BenQ Mobuiz EX2710Q QHD, Iiyama ProLite X23377HDS
    Hard Drives
    MSI Spatium M461 4TB
  • Operating System
    Windows 11
    Computer type
    Laptop
    Manufacturer/Model
    Acer A114
    CPU
    Intel Celeron N4020
Hello, and welcome to the Forum.

There is a solution to your question involving the Windows Registry. If you are confident in using the Registry and program like RegEdit, you may proceed.

The default is to require a password for a scheduled task. However you may disable the default by altering the following Registry key:
Locate HKEY_LOCAL_MACHINE > SYSTEM > CurrentControlSet > Control > Lsa
Locate limitblankpassworduse
Change the value from "1" to "0".
Then check the "Run only if logged on" box in the scheduled task.
Source: Disable task scheduler security when author password changes?
Thanks. However I find that the value of "LimitBlankPasswordUse" was already 0. Then I restart the computer, repeat the procedure and get the same result.
Registry.png
 
Last edited:

My Computer

System One

  • OS
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Lenovo
Or is there any other way to create a UAC white list?
 

My Computer

System One

  • OS
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Lenovo
Or is there any other way to create a UAC white list?
I do not know why you are seeing the UAC prompt so often. Maybe you or your computer has changed the UAC behaviour setting, and getting asked to provide passwords at UAC prompt, or, maybe file permissions have been changed for the selected programs. Because I think it is abnormal to get a UAC prompt to run a desktop application such as AutoHotKey or Everything - but, I do not use those programs, so I am only guessing.
You can check the UAC behaviour setting by following this Forum tutorial:
Make sure it is set to (default) Notify me only when programs try to make changes to my computer.
 

My Computers

System One System Two

  • OS
    Windows 11
    Computer type
    PC/Desktop
    CPU
    AMD Ryzen 5 5600
    Motherboard
    MSI B550-A Pro
    Memory
    16 GB
    Graphics Card(s)
    Sapphire Radeon RX 6500XT (8 GB version)
    Monitor(s) Displays
    BenQ Mobuiz EX2710Q QHD, Iiyama ProLite X23377HDS
    Hard Drives
    MSI Spatium M461 4TB
  • Operating System
    Windows 11
    Computer type
    Laptop
    Manufacturer/Model
    Acer A114
    CPU
    Intel Celeron N4020
I do not know why you are seeing the UAC prompt so often. Maybe you or your computer has changed the UAC behaviour setting, and getting asked to provide passwords at UAC prompt, or, maybe file permissions have been changed for the selected programs. Because I think it is abnormal to get a UAC prompt to run a desktop application such as AutoHotKey or Everything - but, I do not use those programs, so I am only guessing.
You can check the UAC behaviour setting by following this Forum tutorial:
Make sure it is set to (default) Notify me only when programs try to make changes to my computer.
It's set to default surely. Some scripts written in AutoHotkey that I can ensure security will raise UAC prompt. Besides, some tools such as Right-click menu management in my anti-virus software Huorong will raise UAC prompt too. These are some cases, but do not cover all. So I need to make a UAC white list that not only relieve my hands but also prevent some softwares from doing something bad.
 

My Computer

System One

  • OS
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Lenovo
What's more, I think why my PIN or Microsoft account password isn't the password it asks(or I have not relevant permission, but why. I think I should have the permission to create a task as an administrator) is the main issue. I've tested my PIN in my computer and my Microsoft account passoword in Microsoft – Cloud, Computers, Apps & Gaming. Are there any other codes can be the password? So the Implementation of UAC whitelist could be a nice alternative of this post thread, but it does not solve the issue at it's root.
 

My Computer

System One

  • OS
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Lenovo
How many User Accounts do you have on your computer, and how many User Accounts are Standard Users, and how many are Administrator accounts?
You should be able to enter the name and password of any administrator account of the computer.
 

My Computers

System One System Two

  • OS
    Windows 11
    Computer type
    PC/Desktop
    CPU
    AMD Ryzen 5 5600
    Motherboard
    MSI B550-A Pro
    Memory
    16 GB
    Graphics Card(s)
    Sapphire Radeon RX 6500XT (8 GB version)
    Monitor(s) Displays
    BenQ Mobuiz EX2710Q QHD, Iiyama ProLite X23377HDS
    Hard Drives
    MSI Spatium M461 4TB
  • Operating System
    Windows 11
    Computer type
    Laptop
    Manufacturer/Model
    Acer A114
    CPU
    Intel Celeron N4020
How many User Accounts do you have on your computer, and how many User Accounts are Standard Users, and how many are Administrator accounts?
You should be able to enter the name and password of any administrator account of the computer.
This is my personal computer. As a result, there is only one user account on my computer as Administrator account. If I've misunderstood you, please tell me!
Users.png
 

My Computer

System One

  • OS
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Lenovo
I log in the computer with my Microsoft account so I don't remember that I've set any password. So I tried my PIN and Microsoft account password, which failed unexpectedly.
Have you tried leaving the Password box blank, and just select "OK" ?
 

My Computers

System One System Two

  • OS
    Windows 11
    Computer type
    PC/Desktop
    CPU
    AMD Ryzen 5 5600
    Motherboard
    MSI B550-A Pro
    Memory
    16 GB
    Graphics Card(s)
    Sapphire Radeon RX 6500XT (8 GB version)
    Monitor(s) Displays
    BenQ Mobuiz EX2710Q QHD, Iiyama ProLite X23377HDS
    Hard Drives
    MSI Spatium M461 4TB
  • Operating System
    Windows 11
    Computer type
    Laptop
    Manufacturer/Model
    Acer A114
    CPU
    Intel Celeron N4020
@PilgrimLyieu check out this tutorial written by @Brink

 

My Computers

System One System Two

  • OS
    Win 11 Pro 23H2 22631.3527
    Computer type
    PC/Desktop
    Manufacturer/Model
    Self Built
    CPU
    Intel® Core™ i7-14700F
    Motherboard
    ASUS TUF GAMING Z690-PLUS WIFI
    Memory
    G.SKILL Ripjaws S5 Series 64GB (2 x 32GB) DDR5
    Graphics Card(s)
    EVGA GeForce RTX 3050 XC Black Gaming
    Sound Card
    Sound Blaster AE-5 Plus
    Monitor(s) Displays
    ASUS TUF Gaming 27" 2K HDR Gaming
    Screen Resolution
    2560 x 1440
    Hard Drives
    Samsung 990 Pro 1TB NVMe (Win 11)
    SK hynix P41 500GB NVMe (Win 10)
    SK hynix P41 2TB NVMe (x3)
    Crucial P3 Plus 4TB
    PSU
    Corsair RM850x Shift
    Case
    Antec Dark Phantom DP502 FLUX
    Cooling
    Noctua NH-U12A chromax.black + 7 Phantek T-30's
    Keyboard
    Logitech MK 320
    Mouse
    Razer Basilisk V3
    Internet Speed
    350Mbs
    Browser
    Firefox
    Antivirus
    Winows Security
    Other Info
    Windows 10 22H2 19045.4291
    On System One
  • Operating System
    Win 11 Pro 23H2 22631.3527
    Computer type
    PC/Desktop
    Manufacturer/Model
    Self Built
    CPU
    Intel Core i7-11700F
    Motherboard
    Asus TUF Gaming Z590 Plus WiFi
    Memory
    64 GB DDR4
    Graphics card(s)
    EVGA RTX 2060 KO Ultra Gaming
    Sound Card
    SoundBlaster X-Fi Titanium
    Monitor(s) Displays
    Samsung F27T350
    Screen Resolution
    1920x1080
    Hard Drives
    Samsung 980 Pro 1TB
    Samsung 970 EVO Plus 2TB
    Samsung 870 EVO 500GB SSD
    PSU
    Corsair HX750
    Case
    Cougar MX330-G Window
    Cooling
    Hyper 212 EVO
    Internet Speed
    350Mbps
    Browser
    Firefox
    Antivirus
    Windows Security
Have you tried leaving the Password box blank, and just select "OK" ?
Yes, I've tried and got the same result, which I'm sorry that I forgot to mention above.
 

My Computer

System One

  • OS
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Lenovo
@PilgrimLyieu check out this tutorial written by @Brink

I've tried the step in the tutorial. Howevr I fail in step 10 because of the unknown password issue mentioned above, which the tutorial doesn't include its solution. Do you mean that I should reply and give my feedback in that post?
 

My Computer

System One

  • OS
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Lenovo
Yes, I've tried and got the same result, which I'm sorry that I forgot to mention above.
Can you please check that the computer's "Admin approval mode" is set to default?
Open Local Security Policy ("secpol.msc")
Expand\navigate to Local Policies\Security Options\ from the left pane.
Select User Account Control: Admin Approval Mode for the Built-in Administrator account policy from the right pane.
Select the Local Security Setting tab.
What is the setting? Enabled or Disabled? (Default is Disabled.)
 

My Computers

System One System Two

  • OS
    Windows 11
    Computer type
    PC/Desktop
    CPU
    AMD Ryzen 5 5600
    Motherboard
    MSI B550-A Pro
    Memory
    16 GB
    Graphics Card(s)
    Sapphire Radeon RX 6500XT (8 GB version)
    Monitor(s) Displays
    BenQ Mobuiz EX2710Q QHD, Iiyama ProLite X23377HDS
    Hard Drives
    MSI Spatium M461 4TB
  • Operating System
    Windows 11
    Computer type
    Laptop
    Manufacturer/Model
    Acer A114
    CPU
    Intel Celeron N4020
Can you please check that the computer's "Admin approval mode" is set to default?
Open Local Security Policy ("secpol.msc")
Expand\navigate to Local Policies\Security Options\ from the left pane.
Select User Account Control: Admin Approval Mode for the Built-in Administrator account policy from the right pane.
Select the Local Security Setting tab.
What is the setting? Enabled or Disabled? (Default is Disabled.)
The setting is undefined(neither enabled nor disabled), weird.
 

My Computer

System One

  • OS
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Lenovo
Yes, okay. Undefined is same as default.
 

My Computers

System One System Two

  • OS
    Windows 11
    Computer type
    PC/Desktop
    CPU
    AMD Ryzen 5 5600
    Motherboard
    MSI B550-A Pro
    Memory
    16 GB
    Graphics Card(s)
    Sapphire Radeon RX 6500XT (8 GB version)
    Monitor(s) Displays
    BenQ Mobuiz EX2710Q QHD, Iiyama ProLite X23377HDS
    Hard Drives
    MSI Spatium M461 4TB
  • Operating System
    Windows 11
    Computer type
    Laptop
    Manufacturer/Model
    Acer A114
    CPU
    Intel Celeron N4020
Do you mean that I should reply and give my feedback in that post?

No, but that might be a good idea. Shawn might have some insight into your problem.
 

My Computers

System One System Two

  • OS
    Win 11 Pro 23H2 22631.3527
    Computer type
    PC/Desktop
    Manufacturer/Model
    Self Built
    CPU
    Intel® Core™ i7-14700F
    Motherboard
    ASUS TUF GAMING Z690-PLUS WIFI
    Memory
    G.SKILL Ripjaws S5 Series 64GB (2 x 32GB) DDR5
    Graphics Card(s)
    EVGA GeForce RTX 3050 XC Black Gaming
    Sound Card
    Sound Blaster AE-5 Plus
    Monitor(s) Displays
    ASUS TUF Gaming 27" 2K HDR Gaming
    Screen Resolution
    2560 x 1440
    Hard Drives
    Samsung 990 Pro 1TB NVMe (Win 11)
    SK hynix P41 500GB NVMe (Win 10)
    SK hynix P41 2TB NVMe (x3)
    Crucial P3 Plus 4TB
    PSU
    Corsair RM850x Shift
    Case
    Antec Dark Phantom DP502 FLUX
    Cooling
    Noctua NH-U12A chromax.black + 7 Phantek T-30's
    Keyboard
    Logitech MK 320
    Mouse
    Razer Basilisk V3
    Internet Speed
    350Mbs
    Browser
    Firefox
    Antivirus
    Winows Security
    Other Info
    Windows 10 22H2 19045.4291
    On System One
  • Operating System
    Win 11 Pro 23H2 22631.3527
    Computer type
    PC/Desktop
    Manufacturer/Model
    Self Built
    CPU
    Intel Core i7-11700F
    Motherboard
    Asus TUF Gaming Z590 Plus WiFi
    Memory
    64 GB DDR4
    Graphics card(s)
    EVGA RTX 2060 KO Ultra Gaming
    Sound Card
    SoundBlaster X-Fi Titanium
    Monitor(s) Displays
    Samsung F27T350
    Screen Resolution
    1920x1080
    Hard Drives
    Samsung 980 Pro 1TB
    Samsung 970 EVO Plus 2TB
    Samsung 870 EVO 500GB SSD
    PSU
    Corsair HX750
    Case
    Cougar MX330-G Window
    Cooling
    Hyper 212 EVO
    Internet Speed
    350Mbps
    Browser
    Firefox
    Antivirus
    Windows Security
If you're signed in to your account that's an administrator, you usually do not have to enter a password using the exact steps below. :confused:

Of course, the elevated shortcut created from below cannot be used by any other account.

 

My Computers

System One System Two

  • OS
    Windows 11 Pro for Workstations
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom self build
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING (11GB GDDR5X)
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G75 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2,
    4TB Samsung 990 PRO M.2,
    8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3 wall mounted
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master 3
    Internet Speed
    1 Gbps Download and 35 Mbps Upload
    Browser
    Google Chrome
    Antivirus
    Microsoft Defender and Malwarebytes Premium
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    APC SMART-UPS RT 1000 XL - SURT1000XLI,
    Galaxy S23 Plus phone
  • Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    HP Spectre x360 2in1 14-eu0098nr (2024)
    CPU
    Intel Core Ultra 7 155H 4.8 GHz
    Memory
    16 GB LPDDR5x-7467 MHz
    Graphics card(s)
    Integrated Intel Arc
    Sound Card
    Poly Studio
    Monitor(s) Displays
    14" 2.8K OLED multitouch
    Screen Resolution
    2880 x 1800
    Hard Drives
    2 TB PCIe NVMe M.2 SSD
    Internet Speed
    Intel Wi-Fi 7 BE200 (2x2) and Bluetooth 5.4
    Browser
    Chrome and Edge
    Antivirus
    Windows Defender and Malwarebytes Premium
If you're signed in to your account that's an administrator, you usually do not have to enter a password using the exact steps below. :confused:

Of course, the elevated shortcut created from below cannot be used by any other account.

I didn't get you. Could you explain detailedly?

My account is an administrator(there's only one account in my computer) and my UAC prompt doesn't require password input. Instead, I need to click "OK" which I'm struggling to bypass it.
 

My Computer

System One

  • OS
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Lenovo
I didn't get you. Could you explain detailedly?

My account is an administrator(there's only one account in my computer) and my UAC prompt doesn't require password input. Instead, I need to click "OK" which I'm struggling to bypass it.
Usually, using the elevated shortcut for the task created in the tutorial will run as administrator with a UAC prompt.
 

My Computers

System One System Two

  • OS
    Windows 11 Pro for Workstations
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom self build
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING (11GB GDDR5X)
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G75 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2,
    4TB Samsung 990 PRO M.2,
    8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3 wall mounted
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master 3
    Internet Speed
    1 Gbps Download and 35 Mbps Upload
    Browser
    Google Chrome
    Antivirus
    Microsoft Defender and Malwarebytes Premium
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    APC SMART-UPS RT 1000 XL - SURT1000XLI,
    Galaxy S23 Plus phone
  • Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    HP Spectre x360 2in1 14-eu0098nr (2024)
    CPU
    Intel Core Ultra 7 155H 4.8 GHz
    Memory
    16 GB LPDDR5x-7467 MHz
    Graphics card(s)
    Integrated Intel Arc
    Sound Card
    Poly Studio
    Monitor(s) Displays
    14" 2.8K OLED multitouch
    Screen Resolution
    2880 x 1800
    Hard Drives
    2 TB PCIe NVMe M.2 SSD
    Internet Speed
    Intel Wi-Fi 7 BE200 (2x2) and Bluetooth 5.4
    Browser
    Chrome and Edge
    Antivirus
    Windows Defender and Malwarebytes Premium
Back
Top Bottom