+ Post New Thread
Results 1 to 9 of 9
How do you do....it? Thread, Set Date for Teachers in Technical; (Hopefully) my final question for today (though I have this niggling feeling that there was one more...). Apologies if this ...
  1. #1

    LeMarchand's Avatar
    Join Date
    Jan 2008
    Location
    The deepest pits of hell
    Posts
    2,143
    Thank Post
    297
    Thanked 331 Times in 235 Posts
    Rep Power
    141

    Set Date for Teachers

    (Hopefully) my final question for today (though I have this niggling feeling that there was one more...). Apologies if this isn't the right section.

    I know that it's a doddle to change the date on a computer, but I need something a bit more "teacher friendly" and free (open source even better).

    The scenario is that the plan is to install SteadyState on a bunch of kids laptops, set to revert when the date reaches 2020. If the laptop is playing up, the teacher can invoke SteadyState by changing the date, wiping all the rubbish installed by the kids (their docs will be on a separate partition). After the reboot/reversion the date will need to be corrected.

    The machines aren't connected to the domain, so I can't get them to pick up the correct date/time on reboot that way (or can I?) and I don't want to have to install something like Neutron to run at every startup for what shouldn't be an frequent occurrence.

    So, basically a simple program that teachers can invoke and set the date to 2020 and after reboot correct the date. It sounds like it shouldn't be hard to code, but my skillz are more sad than mad .

  2. #2

    RabbieBurns's Avatar
    Join Date
    Apr 2008
    Location
    Sydney
    Posts
    5,510
    Thank Post
    1,319
    Thanked 469 Times in 306 Posts
    Blog Entries
    6
    Rep Power
    199
    do they have internet access?

  3. #3

    SYNACK's Avatar
    Join Date
    Oct 2007
    Posts
    10,988
    Thank Post
    851
    Thanked 2,653 Times in 2,253 Posts
    Blog Entries
    9
    Rep Power
    764
    A batch file?

    wipe.bat
    Code:
    date 12/12/2020
    Just chuck it in their start menu and get them to click it when needed
    Last edited by SYNACK; 9th January 2009 at 11:34 AM.

  4. Thanks to SYNACK from:

    LeMarchand (9th January 2009)

  5. #4

    LeMarchand's Avatar
    Join Date
    Jan 2008
    Location
    The deepest pits of hell
    Posts
    2,143
    Thank Post
    297
    Thanked 331 Times in 235 Posts
    Rep Power
    141
    Quote Originally Posted by RabbieBurns View Post
    do they have internet access?
    Yes. (Unless one of the problems is that the little darling has stuffed that up!)

  6. #5

    RabbieBurns's Avatar
    Join Date
    Apr 2008
    Location
    Sydney
    Posts
    5,510
    Thank Post
    1,319
    Thanked 469 Times in 306 Posts
    Blog Entries
    6
    Rep Power
    199
    Code:
    net time /set
    works for setting the time from a DC. Will that work to set the time from the internet if theres no DC?

  7. Thanks to RabbieBurns from:

    LeMarchand (9th January 2009)

  8. #6

    SYNACK's Avatar
    Join Date
    Oct 2007
    Posts
    10,988
    Thank Post
    851
    Thanked 2,653 Times in 2,253 Posts
    Blog Entries
    9
    Rep Power
    764
    You can grab the time directly off the network if you want with a batch file in the startup group or startup script depending on the Windows version:

    Configuring XP Time Settings with the NET TIME Command &middot Tutorial 2000Trainers.com
    Code:
    net time \\192.168.1.2 /set /yes

  9. Thanks to SYNACK from:

    LeMarchand (9th January 2009)

  10. #7

    LeMarchand's Avatar
    Join Date
    Jan 2008
    Location
    The deepest pits of hell
    Posts
    2,143
    Thank Post
    297
    Thanked 331 Times in 235 Posts
    Rep Power
    141
    Quote Originally Posted by SYNACK View Post
    A batch file?

    Just chuck it in their start menu and get them to click it when needed


    I guess I've been "over thinking" a solution, haven't I? (Not that I knew it was that simple to change the date!)

    I could do another to invoke something like Neutron on a one-off basis to automatically correct the date after the reboot.

    You are a genius!

  11. #8

    SYNACK's Avatar
    Join Date
    Oct 2007
    Posts
    10,988
    Thank Post
    851
    Thanked 2,653 Times in 2,253 Posts
    Blog Entries
    9
    Rep Power
    764
    Happy to help, it is easy to get caught up in a problem as I have done many times.

    If you add the net time command above to startup it should correct the date automaticly if the station is on the network.

  12. #9

    LeMarchand's Avatar
    Join Date
    Jan 2008
    Location
    The deepest pits of hell
    Posts
    2,143
    Thank Post
    297
    Thanked 331 Times in 235 Posts
    Rep Power
    141
    Sorry, I've only just noticed the posts that appeared during my last answer.

    Thanks everyone, not sure if net time will work (as the laptops don't connect to the domain) but I guess it should as they still connect to the DCHP server. I'll try to check this afternoon when I'm in that school - though as they're being OFSTED-ed on Monday I think I might have a few more urgent support requests!

SHARE:
+ Post New Thread

Similar Threads

  1. [For Sale] Promethean 32 set Activote Set (Brand New)
    By lgfl_it_guy in forum Classified Adverts
    Replies: 20
    Last Post: 8th February 2009, 11:41 AM
  2. Replies: 8
    Last Post: 15th December 2008, 03:41 PM
  3. Date of Birth
    By sparkeh in forum General Chat
    Replies: 2
    Last Post: 10th November 2008, 03:36 PM
  4. set date and time BTech exam
    By Outpost in forum How do you do....it?
    Replies: 2
    Last Post: 19th March 2008, 12:21 PM
  5. Finally set a date!
    By Gatt in forum General Chat
    Replies: 12
    Last Post: 16th January 2008, 03:57 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
  •