Windows 10: Why is changing to Schtasks onstart in place of onlogon not working

Discus and support Why is changing to Schtasks onstart in place of onlogon not working in Windows 10 Software and Apps to solve the problem; Why is changing to Schtasks onstart in place of onlogon not working. The schtasks is copying some folders and files from D:\APP to Z:\ (tcc.exe just a... Discussion in 'Windows 10 Software and Apps' started by budi, Jan 23, 2018.

  1. budi Win User

    Why is changing to Schtasks onstart in place of onlogon not working


    Why is changing to Schtasks onstart in place of onlogon not working. The schtasks is copying some folders and files from D:\APP to Z:\
    (tcc.exe just a better duplicate of cmd.exe and put in z: drive) :

    Code: schtasks /create /sc onlogon /tn Desktop/tr "cmd /c cd/d D:\APP&copy/y TCC z:&tcc/c 'copy/u/s TCC z:\&copy/s/y Notepp z:\Notepp&copy/md/y RegWorks z:\RegWorks\&c:\windows\ explorer d:'"/f[/quote] I'm sure others will not work too.. Thanks in advance


    :)
     
  2. DAC324 Win User

    Windows 10 and parallel port (LPT) printer doesn't print

    Hello all,

    at least on some computers, execution of the script via scheduled task does not seem to work at first glance. It seems that if the script is executed immediately after logon, it sometimes does not have the desired effect.

    Therefore, I'd recommend adding a delay to the commandline which creates the scheduled task:

    schtasks /create /tn "Fix Printer" /tr C:\lpt\fixlpt.cmd /sc ONLOGON /ru SYSTEM
    /delay 1:00

    This adds a delay of 1 minute before executing the task which apparently is sufficient.

    Kind regards,



    (for some reason, the Format drop-down does not work any more. Does anyone else also experience that?)
     
    DAC324, Jan 23, 2018
    #2
  3. PureOcean Win User
    Can't type anything in Win 10 Apps (Cortana, Search, Calculator, Feedback, etc.)

    Open Command Prompt (As Admin). And types:

    schtasks /change /TN "\Microsoft\Windows\TextServicesFramework\MsCtfMonitor" /Enable

    schtasks /run /TN "\Microsoft\Windows\TextServicesFramework\MsCtfMonitor"
     
    PureOcean, Jan 23, 2018
    #3
  4. Barman58 Win User

    Why is changing to Schtasks onstart in place of onlogon not working

    Not done any scheduled task management for "a While", so cannot help with specifics but for this scenario I would suspect that either some process or resource that is needed is not there until a user is logged on.

    Is Z: a network drive? is it mapped by a specific user?

    Another could be permissions based where the permissions are heavily "tied down" but assuming that Scheduled tasks onStart runs with System credentials should not be a problem, unless Z: is remote and System is not given any permissions
     
    Barman58, Jan 23, 2018
    #4
  5. budi Win User
    Z: just a RAM disk
    I get it , i already suspected too the phase is to earlier to perform FS operation eg. copying..
     
    budi, Apr 5, 2018
    #5
Thema:

Why is changing to Schtasks onstart in place of onlogon not working

Loading...
  1. Why is changing to Schtasks onstart in place of onlogon not working - Similar Threads - Why changing Schtasks

  2. Desktop Icons changing place.

    in Windows 10 Software and Apps
    Desktop Icons changing place.: My desktop items have changed place 3 times after I start my PC. When I start the PC and get to the desktop, the icons are all in the order they should be in if they were auto-arranged. The dumb thing is that I don't have Auto-Arrange on, so why do my Icon auto-arrange. I...
  3. Desktop Icons changing place.

    in Windows 10 Gaming
    Desktop Icons changing place.: My desktop items have changed place 3 times after I start my PC. When I start the PC and get to the desktop, the icons are all in the order they should be in if they were auto-arranged. The dumb thing is that I don't have Auto-Arrange on, so why do my Icon auto-arrange. I...
  4. In-place repair not working

    in Windows 10 Gaming
    In-place repair not working: Unable to do in-place repair in my Windows. I dont everything that I can to recover my current windows since its not performing properly. I want to perform in-place repair as my last resort but it is not loading at all. Im on the download process and its not moving. When I...
  5. In-place repair not working

    in Windows 10 Software and Apps
    In-place repair not working: Unable to do in-place repair in my Windows. I dont everything that I can to recover my current windows since its not performing properly. I want to perform in-place repair as my last resort but it is not loading at all. Im on the download process and its not moving. When I...
  6. In-place repair not working

    in Windows 10 Installation and Upgrade
    In-place repair not working: Unable to do in-place repair in my Windows. I dont everything that I can to recover my current windows since its not performing properly. I want to perform in-place repair as my last resort but it is not loading at all. Im on the download process and its not moving. When I...
  7. Schtasks problem

    in Windows 10 Ask Insider
    Schtasks problem: schtasks executes attacker commands and I don't know what to do since when I reinstall schtask it keeps appearing in windows defending the same message. any ideas what i can do or how to stop this? submitted by /u/kev1nyaelo [link] [comments]...
  8. Changing mouse to left-handed, why two places?

    in Windows 10 Drivers and Hardware
    Changing mouse to left-handed, why two places?: I have a new laptop, and have gone into settings/mouse, and changed the primary button to 'right', as I use a left-handed mouse. There are two problems though: 1. Each time I restart my laptop, it reverts back to 'left' as the primary button. 2. If I click on 'additional...
  9. schtasks to run r script

    in Windows 10 Network and Sharing
    schtasks to run r script: I am trying to automate the following task use schtasks on Windows: schtasks /create /sc minute /mo 30 /tn "test" /tr "Rscript Documents\baseball_scraper_19.R" Nothing happens (the script is not running). I am wondering if I am not specifying my filepath correctly? I have...
  10. Windows schtasks for logon schedule doesn't work run on battery power

    in Windows 10 Software and Apps
    Windows schtasks for logon schedule doesn't work run on battery power: Why does windows schtasks for logon schedule not work if run on laptop with unplugged AC power i.e. when using battery power supply. Works only if laptop is being powered plugged in with AC supply. How to solve this issue ? 102385

Users found this page by searching for:

  1. onsart onlogon schtasks

    ,
  2. schtasks create onstart

    ,
  3. onstart vs onlogon schtasks

    ,
  4. onstart onlogon,
  5. ONSTART、ONLOGON,
  6. schtasks onstart ,
  7. onlogon vs onstart