Admin PW problems using TaskScheduler


  1. Posts : 78
    Windows 10 Pro
       #1

    Admin PW problems using TaskScheduler


    (Windows 10 Home)

    Just did a fresh install on my mothers PC using a SSD and secondary HDD for data. I wanted to setup a routine to SHUT DOWN the computer if the PC is idle for more than an hour. I do not want Sleep or Hibernate.

    I was following a tutorial to do pretty much just this via taskschd.msc and this link.
    I went through the entire tutorial and could not enter a user password when prompted.
    There is no password on this computer, however, and wonder why it is asking for one.

    At the end of the tutorial there is a note that reads:
    "Note that you will likely be asked to enter your user account password to finish creating the task. And you can now exit Task Scheduler. From this point on, your PC should shut down automatically at whatever time you scheduled—unless you’re using the PC at that time."

    Dialog box: Task Scheduler can not create the task. The user account is unknown, the password is incorrect, or the user account does not have permission to create this task.

    I attempted this on my laptop where I have a password and still failed to create a scheduled task... I'm thinking it has something to do with permissions.I know that the tutorial sets the computer to turn off at a specified time if idle for more than an hour, but I think I tweaked that to avoid a particular time, but just if it is idle for more than an hour. I am needing help understanding the account password thing. Or we can escape all this crap if there is an easier way to SHUT DOWN if idle for more than 1 hour.

    Brian
      My Computer


  2. Posts : 42,963
    Win 10 Pro (22H2) (2nd PC is 22H2)
       #2

    Admin PW problems using TaskScheduler-snap-2017-04-06-08.10.06.jpg
    - looks promising.

    (I had no difficulty creating such a task, but am logged in as admin - with a password and a live account).
      My Computers


  3. Posts : 78
    Windows 10 Pro
    Thread Starter
       #3

    dalchina said:
    - looks promising.

    (I had no difficulty creating such a task, but am logged in as admin - with a password and a live account).
    Nope: If I am only able to "Shut Down" at a specific time this will work, but not as I would like. My goal really is to "Shut Down" under a certain condition, ie, the computer is idle for (x)minutes.

    I really think that the larger issue her is the permissions with this computer. I have UAC off completely, but do not wish this for my 80yr old mother. She has been known to click on "happy, promising or do this or else" links.
    It seemed to be the only way to get around not having to verify so many actions such as deleting a file/folder...

    I really need to diagnose the permissions arena as this seems to be the odd factor with this computer....not sure if it's because I do not use a PW for her username or what. I even had trouble using a tutorial on TenForums on how to take control of a registry key so I could disable(remove) a link to network in the FileExplorer's Nav Pane.

    Admin PW problems using TaskScheduler-users-permissions.jpg
    These properties were from right-clicking the documents folder. I'd like to find a system-wide listing...

    I don't know which account I am currently logged on to, but am guessing it is the last one??

    Should I open a new post?

    Thanks for your time.
    Last edited by WinTenUser; 06 Apr 2017 at 10:32.
      My Computer


  4. Posts : 42,963
    Win 10 Pro (22H2) (2nd PC is 22H2)
       #4

    I believe that's what the On Idle option does. There's little help with the program, but a popup appears for that option sthg like 'Computer will perform the chosen operation when the idle time stands at the time set'

    (It's 'foreign' English (Chinglish) so I think that means when the computer's been idle for that time, which is what I thought you wanted).

    Permissions: If you are convinced there are permissions problems, you could try Tweaking.com's free cautious repair tool, which includes permissions fixes. People report some success with it here.

    Observe the cautious stages, select only relevant repairs.

    If you open the control Panel (from Win key + X e.g.) and click small icons, click User accounts you will see which user account you are using.

    You can also try launching the start menu, and hover over the user icon on the left.

    Some apps don't like UAC being off completely.
      My Computers


  5. Posts : 78
    Windows 10 Pro
    Thread Starter
       #5

    dalchina said:
    I believe that's what the On Idle option does. There's little help with the program, but a popup appears for that option sthg like 'Computer will perform the chosen operation when the idle time stands at the time set'
    Duh, Overlooked it! Yes I see it now. I set the program up and it seems to work. Not sure what the difference between "Shut Down" & "Power Off" is, will have to try.

    The programs site say's this of Shut Down/Power Off:

    The current power supply of mainframe is ATX. Instead of being completely cut off when turning off PC, ATX keeps a faint current on, which has been used as stand-by power model. By stand-by power, not only the PC's operation system could manipulate the power supply of computer, but also users could do that by software control. What’s more, it also makes power supply managed by networking possible.
    A remote control signal would be sent to PC’s modem and the monitor circuit would activate the power by 5 v to turn pc on. This is how to realize remote control. If the motherboard supports keyboard switch, users could also turn on PC by key pads. All above functions requires keeping the power board on
    .


    I assume, if I am reading this correctly, that the safest "Off" is to use Shut Down?
    I am equating "power off" with the descriptions "turn off PC"

    Also: So far, I haven't been able to find a way to start the program at startup. It may starts the program, but does not execute the idle time/shut down sequence. It must be executed via a button from the program interface. Need some sort of command-Line parameters or something.

    Thanks
      My Computer


  6. Posts : 42,963
    Win 10 Pro (22H2) (2nd PC is 22H2)
       #6

    Good. Might be
    About the ... | Ivanti User Community

    Assuming the program functions by creating a scheduled task, you could examine it and see the difference.
    However, it may just do the timing itself.
      My Computers


  7. Posts : 78
    Windows 10 Pro
    Thread Starter
       #7

    dalchina said:
    Good. Might be
    About the ... | Ivanti User Community

    Assuming the program functions by creating a scheduled task, you could examine it and see the difference.
    However, it may just do the timing itself.
    The link refers to an executable file called "poweroff.exe" which does not exist on my Windows 10 Home, Windows/system32/directory, thus is not applicable. The comparison only distinguishes between SOFT & HARD shutdowns, which equates to not forcing or forcing program closing...

    ADDITIONAL 1:
    Found a nice little portable program to do exactly what I want.

    Admin PW problems using TaskScheduler-watch-4-idle.jpg
    Found Here: Watch 4 Idle

    If idle for 45min Shutdown
    Minimize to task tray
    Restarts when Windows starts up, minimizes and starts the idle count again
    Never any user input required.

    ADDITIONAL 2:
    This, of course still does not explain why I can not create a scheduled task in Windows.
    Gonna try default UAC and repeat the taskscheduler setup...see what happens.
      My Computer


  8. Posts : 42,963
    Win 10 Pro (22H2) (2nd PC is 22H2)
       #8

    It may be a historic difference now obsolete of course... Glad you found sthg to suit.
      My Computers


  9. Posts : 78
    Windows 10 Pro
    Thread Starter
       #9

    UPDATE:
    Despite resetting the UAC to it's default, I was still unable to create a scheduled task.
    It seems that one must have a password attached to the user creating the scheduled task or I would get the prompt to enter a PW.
    Once I added a user PW, the task can now be scheduled.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 17:16.
Find Us




Windows 10 Forums