Results 1 to 2 of 2

Thread: script for network computer shutdown

  1. #1
    Join Date
    Jul 2009
    Posts
    1

    script for network computer shutdown

    Want to shut my network computers down everyday at 4:15pm

    How can I do this to all my computers using a domain policy?
    Does anyone know how to write a script for this that I could add to
    scripts -startup/shutdown

  2. #2
    Join Date
    May 2008
    Posts
    4,831

    Re: script for network computer shutdown

    Use the FOR command combined with the SHUTDOWN command:

    FOR /L %i in (1,1,254) DO shutdown ''192.168.1.%i

    Windows XP will let you log-off all users in one line:

    FOR /L %i in (1,1,254) DO shutdown ''192.168.1.%i /l


    Change 192.168.1 to match you own Network ID.

Similar Threads

  1. How to shutdown a network pc
    By KRI!PAL in forum Networking & Security
    Replies: 9
    Last Post: 21-08-2012, 10:32 AM
  2. ShutDown Script for Windows XP
    By Asaph in forum Windows Software
    Replies: 3
    Last Post: 30-07-2009, 12:24 PM
  3. Replies: 1
    Last Post: 19-03-2009, 10:32 AM
  4. Not able to shutdown computer
    By DEHATEH in forum Operating Systems
    Replies: 4
    Last Post: 06-03-2009, 03:51 PM
  5. Replies: 0
    Last Post: 21-05-2008, 01:37 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,714,136,331.08213 seconds with 16 queries