Log in to Windows with scheduler and batch command

I want to make Window 10 computer to login on certain time by running scheduled batch file to do it. But I have not found any Windows command who log you in.
Maggi SoffaAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

JohnBusiness Consultant (Owner)Commented:
0
bbaoIT ConsultantCommented:
> scheduled batch file

what's the schedule in detail? is it just a single, specific time every day? or multiple instances in a day?
0
Maggi SoffaAuthor Commented:
On certain scheduled time  I want my Windows 10 computer to logon automatically and open the desktop without any interaction from human.
I have no problem making schedule to log off the computer.
0
Build an E-Commerce Site with Angular 5

Learn how to build an E-Commerce site with Angular 5, a JavaScript framework used by developers to build web, desktop, and mobile applications.

bbaoIT ConsultantCommented:
some computers support scheduled power-on in their BIOS settings. once you have enabled automatic Windows logon,  then the scheduled power-on setting in BIOS actually can make automatic logon.
0
JohnBusiness Consultant (Owner)Commented:
Did you try Task Scheduler (made for this)
0
bbaoIT ConsultantCommented:
> Did you try Task Scheduler (made for this)

i guess Task Scheduler only works after Windows is loaded and running. :) therefore it can't be use for powering up the computer.
0
JohnBusiness Consultant (Owner)Commented:
I think it can run in a logged off state.  I will check again .
0
JohnBusiness Consultant (Owner)Commented:
Maggi - Is the computer running and logged off?  Or Shut down?  If the former, Task Scheduler supports running in a logged off state.

If shut down, you need Wake on LAN or like variable in BIOS as mentioned earlier.
1
Maggi SoffaAuthor Commented:
It is running and logged off and I don't know what command to run with the scheduler to log the computer on. I use schedule to run "shutdown /l" to log it off.

The computer is VM
0
JohnBusiness Consultant (Owner)Commented:
0
Maggi SoffaAuthor Commented:
It looks like this is not possible so I leave the computer logged on all the time. It works for my.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
batfile

From novice to tech pro — start learning today.