+ Post New Thread
Page 1 of 2 12 LastLast
Results 1 to 15 of 21
Windows Thread, Windows Login restrictions in Technical; As a school we have a laptop scheme were students can purchase a laptop on a 3 year period. Students ...
  1. #1

    Join Date
    Feb 2011
    Posts
    70
    Thank Post
    5
    Thanked 1 Time in 1 Post
    Rep Power
    0

    Windows Login restrictions

    As a school we have a laptop scheme were students can purchase a laptop on a 3 year period. Students can login to these on the domain and their own restircted local accounts. Laptops are taken to and from school on a daily basis and used in lessons and at home. The laptops are connected to the schools wireless network. The laptops are running a range of OS from XP to Windows 7. How can we restrict laptops so they cannot login during specified hours of the days? This restriction will then need to be moved or changed when a holiday period starts.

  2. #2

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    16,314
    Thank Post
    901
    Thanked 1,798 Times in 1,549 Posts
    Blog Entries
    12
    Rep Power
    466
    Quote Originally Posted by rpettit View Post
    As a school we have a laptop scheme were students can purchase a laptop on a 3 year period. Students can login to these on the domain and their own restircted local accounts. Laptops are taken to and from school on a daily basis and used in lessons and at home. The laptops are connected to the schools wireless network. The laptops are running a range of OS from XP to Windows 7. How can we restrict laptops so they cannot login during specified hours of the days? This restriction will then need to be moved or changed when a holiday period starts.
    Are we talking about the local accounts or network accounts being restricted?

    I assume you mean local?

  3. #3

    Join Date
    Feb 2011
    Posts
    70
    Thank Post
    5
    Thanked 1 Time in 1 Post
    Rep Power
    0
    Yes. Restrict the local account. The local account needs to be restricted during school hours but avaliable during holiday periods and after school.

  4. #4

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    16,314
    Thank Post
    901
    Thanked 1,798 Times in 1,549 Posts
    Blog Entries
    12
    Rep Power
    466
    The only way i can think of it some kind of script.

    Alternatively do away with local accounts and used cached credentials so they can use a domain account at home.

  5. #5

    Steve21's Avatar
    Join Date
    Feb 2011
    Location
    Swindon
    Posts
    2,762
    Thank Post
    354
    Thanked 533 Times in 498 Posts
    Rep Power
    182
    Can you not just use "net user" time logins?

    Net User "account" /time:m-f,09:00-15:00 etc.

    If I remember correctly it'll only disable login at that time, not log someone out. So you'd have to make a logout script too if you want to ensure no-ones already logged in locally before 9am or whatever.


    *Edit - And it's something like: net user "account" /time:all to reenable all time login for holidays etc

    Any use?

    Steve

  6. #6

    Join Date
    Feb 2011
    Posts
    70
    Thank Post
    5
    Thanked 1 Time in 1 Post
    Rep Power
    0
    Thats great help Steve.

    Each local account has a different user name. How would this be scripted?

  7. #7

    Steve21's Avatar
    Join Date
    Feb 2011
    Location
    Swindon
    Posts
    2,762
    Thank Post
    354
    Thanked 533 Times in 498 Posts
    Rep Power
    182
    Is there any logical naming method? or is it just every user creates their own random login?

    Steve

  8. #8

    Join Date
    Feb 2011
    Posts
    70
    Thank Post
    5
    Thanked 1 Time in 1 Post
    Rep Power
    0
    The naming method is that their domain username is the same as their local username.

  9. #9


    Join Date
    Mar 2009
    Location
    Leeds
    Posts
    6,927
    Thank Post
    231
    Thanked 901 Times in 776 Posts
    Rep Power
    303
    could you get the script to run at logon using %username% ?

  10. #10

    Join Date
    Feb 2011
    Posts
    70
    Thank Post
    5
    Thanked 1 Time in 1 Post
    Rep Power
    0
    If I created the script

    Net User %USERNAME% /time:m-f,09:00-15:00 this could work. Think testing is in order!!

    I could create this as a login script and then a few days before a holiday I could run

    Net User %USERNAME% /time:all

  11. #11

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    16,314
    Thank Post
    901
    Thanked 1,798 Times in 1,549 Posts
    Blog Entries
    12
    Rep Power
    466
    How would you get round this not to be in action during the holidays?

  12. #12


    Join Date
    Mar 2009
    Location
    Leeds
    Posts
    6,927
    Thank Post
    231
    Thanked 901 Times in 776 Posts
    Rep Power
    303
    Quote Originally Posted by FN-GM View Post
    How would you get round this not to be in action during the holidays?
    a batch file that at startup copies the latest version of the script from the sever to the allusers startup folder?

  13. #13

    Steve21's Avatar
    Join Date
    Feb 2011
    Location
    Swindon
    Posts
    2,762
    Thank Post
    354
    Thanked 533 Times in 498 Posts
    Rep Power
    182
    Yeah few ways of doing it I guess :P But not sure either way will be "Perfect" as such, as obviously the dates will be changing all the time. Guessing even days like teacher training you'd want it disabled really.

    Guess other option is running a script which will check some reference (file on webserver etc) to check if it's "holiday" or not etc. But again, obvious flaw is if they're not online (and/or someone forgot to update it ) etc etc.

    But yeah, shout back when you tested it and see how it goes :P

    Steve

  14. #14

    Join Date
    Feb 2011
    Posts
    70
    Thank Post
    5
    Thanked 1 Time in 1 Post
    Rep Power
    0
    The command - Net User %USERNAME% /time:m-f,09:00-15:00 works, but sets 09:00-15:00 as the allowed login time...Is there a way to set this as the disallowed login time?

  15. #15

    Steve21's Avatar
    Join Date
    Feb 2011
    Location
    Swindon
    Posts
    2,762
    Thank Post
    354
    Thanked 533 Times in 498 Posts
    Rep Power
    182
    Quote Originally Posted by rpettit View Post
    The command - Net User %USERNAME% /time:m-f,09:00-15:00 works, but sets 09:00-15:00 as the allowed login time...Is there a way to set this as the disallowed login time?
    Silly idea, but try 15:00-09:00? :P Not sure if it'll emo a bit as it's over 2 days effectively, but worth trying.

    If not should be able to do it like, Net User %USERNAME% /time:m-f,00:00-09:00;m-f,15:00-24:00

    But never actually tried dual times :P

    Steve



SHARE:
+ Post New Thread
Page 1 of 2 12 LastLast

Similar Threads

  1. Windows 7 Login times......
    By ojhext in forum Windows 7
    Replies: 40
    Last Post: 14th June 2011, 03:20 PM
  2. Windows 7 and Steam Login
    By thetunnelrat in forum Gaming
    Replies: 10
    Last Post: 29th January 2010, 09:06 AM
  3. Is there a way to bypass a WIndows login?
    By scalywag66 in forum Windows
    Replies: 16
    Last Post: 16th May 2008, 10:40 AM
  4. Windows XP Login Screen
    By kerrymoralee9280 in forum Windows
    Replies: 16
    Last Post: 13th May 2008, 11:03 AM
  5. Windows workstation login
    By adamyoung in forum Netware
    Replies: 3
    Last Post: 3rd June 2006, 03:06 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •