Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi all! We have been experiencing an issue on site where threads have been missing the latest postings. The platform host Vanilla are working on this issue. A workaround that has been used by some is to navigate back from 1 to 10+ pages to re-sync the thread and this will then show the latest posts. Thanks, Mike.
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Restricting Logon times

  • 19-09-2007 1:04pm
    #1
    Registered Users, Registered Users 2 Posts: 7,012 ✭✭✭


    Any way I can restrict logon times on a standalone XP machine ?

    21/25



Comments

  • Registered Users, Registered Users 2 Posts: 3,772 ✭✭✭jameshayes


    if it's for an internet café - use a long bat with nails on one end


  • Registered Users, Registered Users 2 Posts: 7,012 ✭✭✭uch


    Nah it's to stop th ekids using the PC late when I'm not there, thus keeping them up half the night

    21/25



  • Registered Users, Registered Users 2 Posts: 514 ✭✭✭paulusdu


    If its not Windows XP Pro, then i don;t think that it ships with System Policy editor. You could use tis to create a system policy and restrict a lot of things

    You could always hide the mouse :-)


  • Registered Users, Registered Users 2 Posts: 68,317 ✭✭✭✭seamus


    What version of XP?

    This can be done quite easily with VBScript (below).

    This script checks if the current system time is between 10pm and 8am. If it is, it executes a forced shutdown on the system.

    You can add this as a startup script - the machine won't even get to the logon screen before shutting down.

    You could also create a scheduled task on the machine which kicks off at 10pm and runs every five minutes (say for an hour), running this script. So if someone is logged in, once 10pm comes, the machine shuts itself down and you can't log back into it.

    A more sensible script would be used as a logon script and check the username of the person logged in. If it's you or the Administrator, then it proceeds. If it's anyone else, then it logs them out. This means that your machine isn't completely inaccessible after 10pm.

    Of course if your kids have admin rights, then this is useless. They'll figure out how to disable it.
    Dim currtime 
    currtime = Hour(Now)
    WScript.echo currtime
    If (currtime > 22 AND currtime < 24) OR (currtime > -1 AND currtime < 8) Then
    	strShutdown = "shutdown -s -t 0 -f"
        set objShell = CreateObject("WScript.Shell")
        objShell.Run strShutdown
    End If
    Wscript.Quit
    


Advertisement