After enabling Microsoft login, can't start task/service on boot

  1. Posts : 4
    Windows 10

    After enabling Microsoft login, can't start task/service on boot

    I've got a startup script to spin up my VMware server, as soon as the computer boots (not user login). Set this up in Task Scheduler, it worked great. With my local user account, not linked to Microsoft at all.

    Due to Microsoft's Store, or my own fat fingers, I'm now logging in with credentials.

    Now my startup task doesn't run! I also can't find the event logs for Task Scheduler

    Could this be a permissions issue? Like, does a account not function before the user actually logs in? I have the script set to run with my username, I entered the new password, and I have it set to run with the highest privileges. Any way to get this to work again?

    Is there any way to get this task running again??
    Is there a way to revert back to local account?
      My Computer

  2. Posts : 61,929
    64-bit Windows 11 Pro for Workstations

    Hello AdmEEn84,

    Since you switched to a Microsoft account, this would have changed the credentials for your account.

    The task was setup using the credentials of your local account, so you may be able to just edit the task to update it with your current credentials to see if that may help.
      My Computers

  3. Posts : 4
    Windows 10
    Thread Starter

    Yeah I re-entered my password into Task Manager as soon as I realized, still no dice. I can run the batch just fine, and I can run the task while logged in.

    I think the problem is rooted in the need for this process to initiate a program that runs like a system service. But when/if I login I want to be able to interact with it, so I run it with my credentials. I've also checked 'run with highest privileges'

    Is it possible that my 'Microsoft user' account cannot run as LocalSystem account or something like that?

    Also, I can't even run this batch script on startup with group policy, either
      My Computer

  4. Posts : 61,929
    64-bit Windows 11 Pro for Workstations

    If you like, you could switch back to a local account to have it work as before. Be sure to change the credentials back for the task again afterwards though.

    Switch to Local Account in Windows 10 - Windows 10 User Accounts Tutorials

    If you still need to sign in to the Store with your MSA, you can use the method in the tutorial below to do so without switching the account you sign in to Windows 10.

    Use Local account with Windows Store - Windows 10 Apps Features Tutorials
      My Computers

  5. Posts : 4
    Windows 10
    Thread Starter

    Thanks for the info! That's probably what I'm going to have to do. Not only having trouble running batch scripts, but all my devices that connected automatically to this computer now require a password every time. Click remember the password, doesn't matter; kinda sucks that I gotta enter it in every time.
    Maybe is there a Group Policy setting or something that would allow saved credentials to log in to this pc?
    I can see in the event logs that it used to authenticate with NTLM, but now it needs the domain. Something about asking Microsoft for permission to login to my own pc... Yeah that just rubs me the wrong way

    Anyway, just for the record, I did some more research and there is a user Principle called 'Batch', apparently that's the security for batch files. Enabled read/write/exec for all the scripts, no luck without the user logged in
      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 08:40.
Find Us

Windows 10 Forums