Windows 2000 Terminal Server restricted login hours

I need to be able to restrict a specific range of users from logging into this Terminal Server after 6PM.

I don't have Active Directory setup nor do I have any custom policies setup.

Is there a way that I can accomplish this restriction without a bunch of work?

Joe
j4piperAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

KaliKoderCommented:
There is a way, although I dont know how would you be able to automate this. Here is what you do:

- Go to the local user account you want to restrict access to, double click it and bring up its properties. Go to terminal services profile tab, there just check the checkbox that says "Allow login to terminal server" You have to do manually do this at 6 PM
- When you want to renable that users access, you need to go back in user properties again and allow this checkmark again.

The only thing is, I could not come up with a way to do this "checkbox change" from a command line. If we were to come up to, how to do this from a command line, then all you do is to make a batch file, schedule it to run using the normal Windows task scheduler at 6 PM and disable the account. Then another batch file would renable the "logging on to terminal server" functionality at a time of your choosing, and would run using windows task scheduler.

Thanks
0
KaliKoderCommented:
Hello Joe,

The following freeware utility might be of use to you. I have never tried or tested this utility myself, but according to it, you can change all the settings of a terminal server using comand line. If this is true, then all you need to do is put these commands in for the particular users or groups you want to disable access to the terminal server after 6 PM and schedule this job to run at 6 PM. Here is the utility url:
http://www.winnetmag.com/Articles/Index.cfm?ArticleID=42736

Thanks and Good Luck!
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows 2000

From novice to tech pro — start learning today.