Solved

Force Users to log off of workstations after Time Expires.

Posted on 2003-11-20
8
1,384 Views
Last Modified: 2013-12-04
Hello,

I'm trying to enable a way to force users to log off when time expires in an Active Directory environment.  We are running the latest AD on Windows 2003 Servers.

I have already tried enforcing this policy through Group Policy's and have had no luck.  I did some research online and came across numerous articals that have lead me to the same point.

We simply have logon hours set for users to only be able to logon during certain hours. If the user somehow forgets to log off of the machine, then we want AD to automatically log off the user when their time limit is up. Currently it disconnects them from Network shares but they stay logged onto the machine.

I have read about the Winexit theory and we don't want that because we have a lot of executives that want to keep their current settings.  I have read about the Net Accounts command to /forcelogoff:1, but for some reason it sets the domain controller to 1 and all the workstations to Never. Someone here have some ideas?

Please help.

Thanks,
Nick
Network Admin.
0
Comment
Question by:nick_sa82
  • 3
  • 2
  • 2
  • +1
8 Comments
 
LVL 49

Expert Comment

by:sunray_2003
ID: 9790457
0
 
LVL 49

Expert Comment

by:sunray_2003
ID: 9790467
0
 
LVL 43

Accepted Solution

by:
JFrederick29 earned 500 total points
ID: 9790530
0
 

Author Comment

by:nick_sa82
ID: 9790565
I have tried that. Is there anyone that currently has this setup running?  Based on my first description, I stated that I have tried that and that Net Accounts proved it to be wrong.  

Nick
0
Free camera licenses with purchase of My Cloud NAS

Milestone Arcus software is compatible with thousands of industry-leading cameras for added flexibility. Upon installation on your My Cloud NAS, you will receive two (2) camera licenses already enabled in the software. And for a limited time, get additional camera licenses FREE.

 
LVL 43

Expert Comment

by:JFrederick29
ID: 9790602
Well, what about trying the WSH script in my post, you can force users to logoff or even shut down the PC.
0
 

Author Comment

by:nick_sa82
ID: 9790761
How does the script apply?  

Will it be able to identify which users have logon restrictions?

We only want the users we specify under AD to log off not all the users.
0
 
LVL 4

Expert Comment

by:Caudax
ID: 9791291
Get all the users you want to have forced to logoff to have a scheduled task of doing "shutdown -l" after a certain amount of time after logon has passed by. It is easily circumvented but it should work.

shutdown -l is a DOS prompt command.
0
 

Author Comment

by:nick_sa82
ID: 9791830
Thanks, I was consulting with my IT Manager we are probably going to go the WinExit route.

Nick
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

The term "Bad USB" is a buzz word that is usually used when talking about attacks on computer systems that involve USB devices. In this article, I will show what possibilities modern windows systems (win8.x and win10) offer to fight these attacks wi…
In a recent article here at Experts Exchange (http://www.experts-exchange.com/articles/18880/PaperPort-14-in-Windows-10-A-First-Look.html), I discussed my nine-month sandbox testing of the Windows 10 Technical Preview, specifically with respect to r…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now