Windows 10: Task Scheduler is running script On workstation unlock and At log on..

Discus and support Task Scheduler is running script On workstation unlock and At log on.. in Windows 10 Support to solve the problem; I have a task scheduled to play a sound when I unlock my computer, but after a restart or boot it also plays at log on. How do I make Task Scheduler... Discussion in 'Windows 10 Support' started by Nuggs, Jul 13, 2018.

  1. Nuggs Win User

    Task Scheduler is running script On workstation unlock and At log on..


    I have a task scheduled to play a sound when I unlock my computer, but after a restart or boot it also plays at log on. How do I make Task Scheduler stop running this script 'at log on'?

    :)
     
    Nuggs, Jul 13, 2018
    #1
  2. Hellebore Win User

    Scheduler: workstation unlock


    I have this small thing that I want to do: When my laptop resumes sleep/hibernate I want to run a small script (.bat) that requires to be run as administrator.

    I have created a Task on Scheduler.
    • Under General tab I've been experimented with all the options.
    • On Triggers tab I've used "logon" and "startup" which have succeded but are useless to me; so the only active I have now is "workstation unlock".
    • Actions: start a program
    So, while my task is able to start on logon and startup why can't it start on workstation unlock?
     
    Hellebore, Jul 13, 2018
    #2
  3. Window's Task Scheduler Not Running

    Hi,

    To assist you better, kindly provide us more details by answering the following questions:

    • Have you tried recreating the task? If so, are you getting the same issue?
    • Have you tried creating a new task?
    Meanwhile, we suggest that you ensure that the Task Scheduler is running. You can verify if the service is running by following these steps:

    • Press Windows key + R on your keyboard.
    • Type services.msc and hit Enter.
    • Under Services (Local), make sure that the Task Scheduler service's status is
      Started or Enabled.
    Should you need further assistance, feel free to get back to us.
     
    Monica Cam, Jul 13, 2018
    #3
  4. Task Scheduler is running script On workstation unlock and At log on..

    Running a VB Script File Using Windows 10 Task Scheduler

    Please post your current version of the script.

    Note also that I'll be off the air for a whole week, starting this coming Sunday evening. With your response cycle of one reply per day, you are unlikely to solve your problem anytime soon. This is aggravated by you consistenly posting insufficient information
    (e.g. repeatedly not posting your script, not posting numbers of problem lines, taking numerous attempts to post the exported xml file etc. etc.). You need to remember that respondents cannot see your screen.

    Lastly - you are trying to use the Task Scheduler to launch a script to open an Excel file to launch a macro. This is an extremely ambitious task. It is also not a good way to do things. A script can do everything that a macro can, and more, but more simply.
    Forget about the macro. Here are the steps you should take:

    • Get my script going in the foreground.
    • Get it going while scheduled.
    • Write a script that opens an Excel file.
    • Run it in the foreground.
    • Run it in the background.
    • Expand it to manipulate the spreadsheet.
    • Run it in the foreground
    • Run it in the background.
     
    Frederik Long, Jul 13, 2018
    #4
Thema:

Task Scheduler is running script On workstation unlock and At log on..

Loading...
  1. Task Scheduler is running script On workstation unlock and At log on.. - Similar Threads - Task Scheduler running

  2. Running a script on file deletion with task scheduler.

    in Windows 10 Ask Insider
    Running a script on file deletion with task scheduler.: I'm trying to figure out how to run a (python) script whenever any file is deleted with task scheduler. I tried googling but with no success, all I found out was that the event ID for file deletion is 4660 I think, and it's probably under security logs. The problem is that...
  3. Script and task Scheduler

    in Windows 10 BSOD Crashes and Debugging
    Script and task Scheduler: Hello I work for a company with a number of powerful graphic computers on which Windows 10 is installed These computers work 24/7 with 2 engine programs that run intermittently 24/7 but not in parallel. I want to know if it is possible to create a script and use it...
  4. Task Scheduler python script - task starts and completes, but script doesn't run

    in Windows 10 Ask Insider
    Task Scheduler python script - task starts and completes, but script doesn't run: I have a simple script to change my wallpaper that I want to run every 24 hours (separate script that runs fine to download APOD daily). I'm on Windows 10. The script is a .pyw python file. If I run the script using IDLE or simply manually running it by double clicking, it...
  5. Task scheduler simply refuses to run a batch script

    in Windows 10 Customization
    Task scheduler simply refuses to run a batch script: I know that there have been many different solutions to this problem posted on the internet and various forums, but I have scoured Google for a solution to my problem to no avail. My problem appears to be unique (something that at this rate I do not want). Now, onto my...
  6. Task Scheduler doesn't run script

    in Windows 10 Software and Apps
    Task Scheduler doesn't run script: Hey Microsoft Community, I'm trying to create a task in Task Scheduler that runs a specific script. The issue is that when the task runs (whether I do it manually or if it's scheduled), the script doesn't actually get executed. I know that the script works, and I have tried...
  7. Problem Getting a Powershell Script to Run in Task Scheduler

    in Windows 10 Software and Apps
    Problem Getting a Powershell Script to Run in Task Scheduler: Hope I'm in the right place! I am trying to get a Powershell script to run daily in the task scheduler. It basically purges a folder on one of my drives: Get-ChildItem –Path “D:\Dropbox\Quicken\Backup” –Recurse | Where-Object CreationTime –lt (Get-Date).AddDays(-10) |...
  8. Task Scheduler Script

    in Windows 10 Network and Sharing
    Task Scheduler Script: I want to enable and disable my Ethernet connection at specific times each day. Task Scheduler prompts me for the script identifying the action of enabling or disabling the Ethernet connection. How do I identify these two specific scripts? 75194
  9. Task Scheduler run task when logged in Remotely

    in Windows 10 Support
    Task Scheduler run task when logged in Remotely: Hey everyone I tried using this guide (How To Easily Send Emails From The Windows Task Scheduler) to create a task that will send me an email whenever someone connects with RDP.The task works and sends the email if i run it, but i am unsure how to set it so that it activates...
  10. Scheduler: workstation unlock

    in Windows 10 Support
    Scheduler: workstation unlock: I have this small thing that I want to do: When my laptop resumes sleep/hibernate I want to run a small script (.bat) that requires to be run as administrator. I have created a Task on Scheduler. Under General tab I've been experimented with all the options. On Triggers...