Forum Moderators: open

Message Too Old, No Replies

HowTo automatically logon/logoff Windows

         

bill

12:49 am on Mar 28, 2019 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



I have a Windows VM that I need to login to a domain account at a certain time of the day, and then log off at a certain time. I need to schedule this for weekdays only. I was wondering if anyone might have a batch script or similar tool to accomplish this.

The VM and PC are always on, so there are no power-on events.

Brett_Tabke

1:36 pm on Apr 15, 2019 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



Ever get this answered Bill? I was looking for something similar (a restart script) and solved it with a mouse macro (TinyTasks).

bill

2:11 am on Apr 16, 2019 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Well, I did find a non-free software that claims to do this (LogonExpert), but I didn't want to have to purchase something just for this task.

Would TinyTask work when not logged in to Windows? Logging off doesn't seem to be the issue...it's when logged out of Windows I wasn't able to easily figure out how to get my credentials into something that Windows would accept so I could get back in.

Brett_Tabke

10:17 am on Apr 16, 2019 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



Well, I created a user with out a password and used that to login. (Sign-in options -> require sign-in -> Ck Never)
I used this guide: [auslogics.com...]

bill

1:24 am on Apr 17, 2019 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



The domain for this account requires a Ctrl+Alt+Del action to log in, otherwise known as "Secure Login". The domain won't let me turn that off for Windows login. This has thwarted my efforts so far.

This is a Win7 VM, so I thought there might be some documentation out there to accomplish something like this. I realize that this goes against the domain security, but I have approval to try to find a work-around just for this instance. Normally I wouldn't be trying to subvert a security feature of a domain like this.

Brett_Tabke

11:36 am on Apr 17, 2019 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



Ya, not familar with the domain login part. I bet you've been here: [online-tech-tips.com...]