+ Post New Thread
Results 1 to 6 of 6
Windows Thread, Check which Pcs have not turned off? in Technical; I have a shutdown routine sourced from these very forums and as far as I can tell it seems to ...
  1. #1
    TechSupp's Avatar
    Join Date
    Mar 2007
    Location
    South Yorkshire
    Posts
    1,995
    Thank Post
    326
    Thanked 127 Times in 107 Posts
    Rep Power
    42

    Check which Pcs have not turned off?

    I have a shutdown routine sourced from these very forums and as far as I can tell it seems to work quite well, but of course it has just been reported that some PC's have not shut down at night (not that the staff should be doing this themselves anyway!). Went to the PC's and the scheduled task is there and when run, hey presto the PC warns the user then shuts down. Is there any way I can run a routine or script to give me a list of PC's that may have not shut down overnight as I'm not in the school every day and the teachers are in and turned on any PC before I start so makes it a bit more difficult to pinpoint what sgoing on.

  2. #2
    sharkster's Avatar
    Join Date
    Nov 2007
    Location
    Middlesbrough
    Posts
    149
    Thank Post
    23
    Thanked 26 Times in 21 Posts
    Rep Power
    19
    create this batch file and put it in task scheduale on the server

    net view > C:\netviewlist.txt

  3. 2 Thanks to sharkster:

    bladedanny (2nd October 2009), TechSupp (2nd October 2009)

  4. #3

    Edu-IT's Avatar
    Join Date
    Nov 2007
    Posts
    7,452
    Thank Post
    408
    Thanked 671 Times in 613 Posts
    Rep Power
    192
    Can you not just set the script to run a couple of times, for example later on at night when you know that there is definately nobody in the building using the machines, to catch the ones that were missed first time around or the ones that were switched on again?

  5. #4
    TechSupp's Avatar
    Join Date
    Mar 2007
    Location
    South Yorkshire
    Posts
    1,995
    Thank Post
    326
    Thanked 127 Times in 107 Posts
    Rep Power
    42
    Can't run the script again as its run at logon time and sets a scheduled task on the local PC. Will try the batch file though at least that will help track down the problem or at least highlight which ones are not obeying the task. Can't see why they report some are not though...hey ho...

    Just had a second thought....:-) as I'm not in every day, how can I feed the date to the filename that the list of PC's is being directed to? Come on it is Friday afetr all :-)
    Last edited by TechSupp; 2nd October 2009 at 10:40 AM.

  6. #5

    Edu-IT's Avatar
    Join Date
    Nov 2007
    Posts
    7,452
    Thank Post
    408
    Thanked 671 Times in 613 Posts
    Rep Power
    192
    Quote Originally Posted by TechSupp View Post
    Can't run the script again as its run at logon time and sets a scheduled task on the local PC. Will try the batch file though at least that will help track down the problem or at least highlight which ones are not obeying the task. Can't see why they report some are not though...hey ho...

    Just had a second thought....:-) as I'm not in every day, how can I feed the date to the filename that the list of PC's is being directed to? Come on it is Friday afetr all :-)
    There's a script on here which can be scheduled to run from the server isn't there?

  7. #6
    TechSupp's Avatar
    Join Date
    Mar 2007
    Location
    South Yorkshire
    Posts
    1,995
    Thank Post
    326
    Thanked 127 Times in 107 Posts
    Rep Power
    42
    Its Ok now thanks, will run the batch and keep an eye on things.



SHARE:
+ Post New Thread

Similar Threads

  1. Replies: 1
    Last Post: 22nd July 2008, 01:22 PM
  2. [Video] Check it out YO
    By zike in forum Jokes/Interweb Things
    Replies: 3
    Last Post: 11th June 2008, 01:41 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
  •