OS Security
--
Questions
--
Followers
Top Experts
I would like to accomplish this within the confines of Windows 2000 and the Support Tools via Active Directory.
Any ideas?
Zero AI Policy
We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.
see this article, it is for winxp but also works for 2k
http://support.microsoft.com/default.aspx?scid=KB;en-us;314999&
To force immediate effect use this : (probably add this in task scheduler on the server)
http://support.microsoft.com/default.aspx?scid=kb;EN-US;227302
You can run these parameters from the cmd line or as a shortcut, which will open the command line. type in "shutdown /?" to know all of the parameters. in these examples:
-t0 is for timeout length
-s, -r, and -l is what you want done (stutdown, restart, and logoff respectively)
You can also pinpoint a remote computer. just use the "shutdown /?" cmd line to get the correct cmd line for remote computers.
THE FOLLOWING PARAMETERS TO DO THE OPTION ON YOUR OWN COMPUTER (I HAVE THESE AS SHORTCUTS ON MY DESKTOP) NOTE THAT YOU CAN TAKE AWAY "%windir%\System32\" when typing this in at the cmd prompt
**Shutdown**
%windir%\System32\shutdown
**Restart**
%windir%\System32\shutdown
**Logoff**
%windir%\System32\shutdown
**Fast User Switching, aka Lock Computer**
%windir%\System32\rundll32






EARN REWARDS FOR ASKING, ANSWERING, AND MORE.
Earn free swag for participating on the platform.
This was done in NT by checking an option under account policy that said "Force Logoff when time restrictions are enforced" However, I can not find where to do this in 2000. Also, I don't know if this helps or not, but there is a CN in Active Directory called CN=Force-Logoff, but, like I said, I am not sure how to edit this or tie it to a particular user.

Get a FREE t-shirt when you ask your first question.
We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.
In other words, if scmiles wants to log users off at 9PM every night and keep them off until 4AM, he sets up these hours in the user account and these policies to ensure they are forced off their computer (local) and network resources during the given time.
scmiles was looking for the win2k equivalent of what he was using on NT.






EARN REWARDS FOR ASKING, ANSWERING, AND MORE.
Earn free swag for participating on the platform.
Computer Configuration\Windows Settings\Security Settings\Local Policies\Security Options
There are two options:
"Automatically log off users when logon time expires"
This option affects all machines in the domain for a GPO. It is disabled by default, which allows an established client session to be maintained after the client's logon hours have expired. Enable it for your requirements.
"Automatically log off users when logon time expires (local)"
This policy should only be defined in a local security policy of a machine - only place it affects. It is enabled by default.
Logon hours are defined in the user account.
I've tried this and it doesn't work?????? I've created a test OU with a test GPO for one machine... I logon to the user with the set logon time.. and when the time comes to logoff the user nothing happens.... is it suppose to log the user off?????
I do not find and option called "Automatically log off users when logon time expires" under Computer Configuration\Windows Settings\Security Settings\Local Policies\Security Options. There are 2 options and they are "Network Security:Force logoff when logon hours expire" and "Microsoft Network Server: Disconnect clients with logon hours expire". I have selected both options, refreshed the policy, rebooted the computer and anything else in order to ensure that the policy is forced unto the local system. Still the logoff fails. Now if I log the user off and then try to log them on again while the restriction is in affect, they get a message stating "Your account has time restrictions that prevent you from logging on at this time. Please try again later."
Why is this not working as adverstised? Am I misunderstanding something here??????????????????????

Get a FREE t-shirt when you ask your first question.
We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.
OS Security
--
Questions
--
Followers
Top Experts
Operating system security (OS security) is the process of ensuring OS integrity, confidentiality and availability. OS security refers to specified steps or measures used to protect the OS from threats, viruses, worms, malware or remote hacker intrusions. OS security encompasses all preventive-control techniques, which safeguard any computer assets capable of being stolen, edited or deleted if OS security is compromised, including authentication, passwords and threats to systems and programs.