Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Login advanced

13 Sep 2011   #1
DeathHound95

Windows 7 Ultimate x64
 
 
Login advanced

hi

just wondering, is there anyway to make it so it logs auto logs on during a certain time period? or auto logs out when not in that time period?

thanks


My System SpecsSystem Spec
.

13 Sep 2011   #2
CreepinJesus

Windows 7 Ultimate x64
 
 

Log out, yes, with a scheduled task running the shutdown.exe program (something like "shutdown /l" from a command line); but you can't log in with a script of any kind, as far as I know.
My System SpecsSystem Spec
13 Sep 2011   #3
DeathHound95

Windows 7 Ultimate x64
 
 

thanks

and what code would i need in a batch to do that? (or simpler way)
My System SpecsSystem Spec
.


13 Sep 2011   #4
xxxdannyxxx

Windows 7 Home Premium x64 SP1
 
 

Hello DeathHound95
Have a look at this one of our guys made. I think it will do what your looking for http://www.sevenforums.com/software/...er-i-made.html

Danny
My System SpecsSystem Spec
13 Sep 2011   #5
CreepinJesus

Windows 7 Ultimate x64
 
 

Quote   Quote: Originally Posted by DeathHound95 View Post
thanks

and what code would i need in a batch to do that? (or simpler way)
Just "shutdown /l" (that's a lower-case L with no " marks) saved as a batch file (*.bat) will log off the user when the batch script is run.

However, that link above looks a lot more friendly.
My System SpecsSystem Spec
Reply

 Login advanced




Thread Tools





Similar help and support threads
Thread Forum
!! Restored image of windows, now wont login, login service error!!
Hi, my windows was set up like this: C: windows 7 F: all user accounts inluding default user ( users folder ) are on F drive. I imaged windows, and restored it on a different PC. On another HDD, I assigned it as F: and put a copy of the user folders on there. But now when it goes to log...
General Discussion
Windows 7 login/welcome screen corrupt??? - Cannot login
hi guys, i've got a very strange problem with the kids laptop which i'm desperate to sort out as my kid has her exams coming up and needs access to her apps:(. Windows loads okay, upto the point when i get to the welcome screen. Sometimes it gets to the welcome screen, but the user...
BSOD Help and Support
Multiple user accounts, 1 auto login , how to login to another account
Hi I have a unit i want to have 4 user accounts on and one of them should auto login. How do i change to one of my other 3 accounts? Change user doesnt work, just auto login. Im running Windows embedded standard 7 Best regards
General Discussion
Windows Login hang time, BlackSOD after login
This is quite a confusing story, and the cause for it simply eludes me, but this will be the second time it has happened. Basically, I was on Youtube through Google Chrome. Shockwave Flash crashed on me (and it is well known that Flash will often crash on Chrome), and when Chrome said I should...
BSOD Help and Support
Attempting to login to most websites results in login page refreshing.
When I attempt to log in to many sites (Hotmail, youtube, steam community, razerzone, thinkgeek, my bank, etc.) after hitting "login" the page refreshes to show both the username and password fields blank and I am not logged in. I'm running Windows home premium 64bit, and I'm using Firefox...
Browsers & Mail
Remove user login icons from login screen?
Is it possible to have users but not have their login icon appear on the login screen?
General Discussion

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 20:50.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App