c++ - How to add time based restrictions to prevent a Windows user from logging in? -
I am trying to add some modifications to the Windows login screen which allows the user to log in They have time remaining on that day. I also want to allow time to increase the connection through the wireless device.
I have done the same thing, with Asus Face Login, and Bluetooth login, and I will not have any problem writing code, but how can I ban the login screen?
Am I correct in assumption that this can only be done using C ++? If so, I mainly program in Java, so when you recommend the environment for C ++?
Any suggestions and links to resources are appreciated! Thank you
I'm not sure much at all, but this can be done: The task scheduler in the window is The user gives a facility to run a special program on logon. So you can develop a program that will run on logon.
The program may be something like this: First of all, it will be available to the current user, check the time available with the user. This can be done by the user by saving the time spent in the internal database or the file.
If the user has crossed the specified limit, then this file / database and fire system ("logoff") command. Logoff has a window command for logoff
Next will be time to log in on each successful login and the time difference in the file / database will be updated when logging.
In this way I think it was implemented. If you have a better way, please share.
Comments
Post a Comment