MCSE Certification Forum

How to Limited User scheduled logoff
Home | Microsoft Resources
Menu
·FAQ
·Search
·Usergroups
·Register
·Profile
·Log in to check your private messages
·Log in
·Who is Online
Log in
Username:
Password:
Log me on automatically each visit
Info
How to Limited User scheduled logoff

 
Post new topic   Reply to topic    MCSE Certification Forum Forum Index -> Workstation Issues
View previous topic :: View next topic  
Author 
 Message
bparow



Joined: 03 Mar 2006
Posts: 4
Location: Massachusetts
PostPosted: Fri Mar 03, 2006 1:01 am    Post subject: How to Limited User scheduled logoff Reply with quote

I have Windows 2003 Server Enterprise Edition as a DC and WinXP Pro as clients. On the Windows XP machines I would like to have the Limited User accounts automatically logoff at specified times. The problem I am running into is that the "AT" command cannot run under a limited account so using "at 22:00 Shutdown -f" in the Startup folder will not work. If I just use Task Scheduler then that would effect "ALL" users of that PC.

Is there another way around this? The accounts use roaming profiles...

Please help...
Back to top

admin
Site Admin


Joined: 01 Jan 1970
Posts: 269

PostPosted: Fri Mar 03, 2006 3:01 am    Post subject: Login restrictions and force logogg Reply with quote

If you open active directory users and computers and edit the user you should see and account tab. You can set time restrictions there. I don't know for certain if it will kick the user out if they are already in though. There is probably a GP to do that. I will let you know what I find.
Back to top

bparow



Joined: 03 Mar 2006
Posts: 4
Location: Massachusetts
PostPosted: Fri Mar 03, 2006 3:37 am    Post subject: Reply with quote

Hi Admin,

There is a setting to "Force Logoff when Logon Hours Expire" policy, but... This logs them off the SMB and not the console. I think it removes there network key from the Domain but I need something to log them off of the console as well.
Back to top

admin
Site Admin


Joined: 01 Jan 1970
Posts: 269

PostPosted: Fri Mar 03, 2006 9:00 pm    Post subject: Force logoff with screen saver Reply with quote

rel="nofollow"support.microsoft.com/default.aspx?scid=KB;en-us;314999&
This should work for Windows 2000 too. Basically you install a screen saver that comes with the 2000 resource kit and when the screen saver runs it kickes the user out. I will keep looking for some better ideas too.
Back to top

bparow



Joined: 03 Mar 2006
Posts: 4
Location: Massachusetts
PostPosted: Fri Mar 03, 2006 11:18 pm    Post subject: Reply with quote

Hi Admin,

That would work fine except that this is a home based network and the main reason for it is so my teenage boys do not screw things up and stay logged in past their bedtime. So inactivity would not work if they are playing a movie or game.

I have been playing with Task Scheduler using Logoff and shutdown. I have the permissions setup perfectly and everything works great except for one problem:
Neither Logoff or Shutdown.exe forces a program to close. So if the logoff starts and I press cancel to the "Save" dialog box then the logoff is cancelled. and Shutdown is ignored if there are open and unsaved documents.
Back to top

admin
Site Admin


Joined: 01 Jan 1970
Posts: 269

PostPosted: Sat Mar 04, 2006 3:16 am    Post subject: Batch file then schedualed task Reply with quote

Try creating a batch file called whatever.bat. The batch file should have one line c:\windows\system32\shutdown.exe -f
Then create a schedualed task that calls the batch file. It think that would work better than putting the command directly into the schedualed task.
Back to top

bparow



Joined: 03 Mar 2006
Posts: 4
Location: Massachusetts
PostPosted: Sat Mar 04, 2006 4:29 am    Post subject: Reply with quote

I finally got it working
The thing I needed to do was give the limited user the right to shutdown in the domain policy.

I will try your suggestion of a batch file as then I could call it when the users I want effected logon and the ones I do not will be ignored.

Thanx for your help Smile
Back to top

admin
Site Admin


Joined: 01 Jan 1970
Posts: 269

PostPosted: Sat Mar 04, 2006 9:22 am    Post subject: Ah yes, rights Reply with quote

Ah that was it. I took it for granted that the user had permissions to shutdown. That's good I am glad you could figure it out. It you or anyone you know needs help we'll be happy to.
Back to top

Display posts from previous:   
Post new topic   Reply to topic    MCSE Certification Forum Forum Index -> Workstation Issues All times are GMT + 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


© 2001, 2009 Visit South Haven
Copyright © 2004 Mikel González - Altuxa I.E.Legal Disclaimer: By using this site you agree to the terms contained in this link