Click to See Complete Forum and Search --> : forcing nt workstation log off
tomo
March 10th, 2000, 09:07 PM
i am running a network of 100+ nt work
stations running over 8 remote locations.
i would like to log off workstation of users
who forget to log off. tried setting hours in domain users area, but does not log them off of the workstation.
Honami
March 11th, 2000, 06:09 AM
Go to www.wmsoftware.com/shutdownplus/ (http://www.wmsoftware.com/shutdownplus/) . Try out the current version of ShutdownPlus or you can learn how to write a script using WinBatch or other alternatives..
Far_fetched
March 12th, 2000, 01:24 PM
The command C:\WINDOWS\RUNDLL.EXE user.exe,exitwindows shuts down windows 95 and 98 systems. I am not too sure whether it shuts down nt systems too. If there is a task scheduler for windows nt, like the ones that come with 98 or 95, you can put that command to run if idle for about an hour or so. It works on mine!
------------------
Far_fetch's Golden Rule: "Help others and hopefully others will help you!"
BLEEHAM
March 12th, 2000, 01:55 PM
In order to immediately disable a domain user account, perform the following
steps on the primary domain controller (PDC):
Note: You must have domain administrative privileges in order to perform the
following steps:
1. In User Manager for Domains choose "Account Disabled" in Users Properties.
2. Still in the Users Properties, choose "Hours" and then Disallow all hours for
this user.
3. Open Server Manager and disable the user sessions in server manager or type
"net session \\computername /delete" at the command prompt.
This came for TECHNET 12-99
also check out 'Policy'
AB_IRL
March 14th, 2000, 07:34 AM
I don't know if this works but if you set the hours that the workstations are allowed log in for then go to User Manager and select the
group that you want to force to log off. Go to Policies, Account and at the bottom tick the box that says Forcibly disconnect users from server when hours expire.
Alternatively you can create a batch file using the shutdown.exe command and schedule it as job.
------------------