+ Post New Thread
Page 2 of 2 FirstFirst 12
Results 16 to 20 of 20
Windows 7 Thread, Shutdown software that works on Windows 7 & 8 ? in Technical; This is ours via GPP - %systemroot%\System32\Shutdown.exe -f -s -t 60, scheduled to run at 9PM as we have various ...
  1. #16

    Join Date
    Jan 2013
    Posts
    82
    Thank Post
    20
    Thanked 11 Times in 11 Posts
    Rep Power
    6
    This is ours via GPP - %systemroot%\System32\Shutdown.exe -f -s -t 60, scheduled to run at 9PM as we have various after school clubs and staff doing work. (for some reason leaving the PCs on all night ...). I didnt think you could add a message to the shutdown? I thought a message was displayed informing the user that the PC was being shutdown, with a countdown timer?

  2. Thanks to cooka from:

    mikkydoos (29th January 2014)

  3. #17

    Join Date
    Jan 2008
    Location
    South West
    Posts
    1,819
    Thank Post
    217
    Thanked 266 Times in 216 Posts
    Rep Power
    68
    I do an automated daily shutdown this way and it works very well.

    schedule shutdown.PNG

  4. #18

    Join Date
    Oct 2013
    Location
    Leicestershire
    Posts
    52
    Thank Post
    0
    Thanked 1 Time in 1 Post
    Rep Power
    12
    Import-Module ActiveDirectory

    New-PSDrive -PSProvider ActiveDirectory -Server "Name of your DC HERE" -Root "Name of your AD Root HERE" -Name Name of the drive -FormatType Canonical

    cd Name of the drive:

    cd "where your computers live:"

    Get-ADComputer -Filter * | FT DNSHostName #this is just a simple way of getting all the computer names, you can make this filter find whatever you like. you don't need this line as we pipe the results into a var below.

    $computer = Get-ADComputer -Filter * | FT DNSHostName #put the list of AD computers in a variable

    Stop-Computer -ComputerName $computer -Force #put the throttlelimit in here if you are shutting down a lot of computers, you can also use the asjob and then get the results back use get-help stop-computer -examples

  5. #19
    mikkydoos's Avatar
    Join Date
    Jan 2009
    Location
    Jupiter and Saturn
    Posts
    223
    Thank Post
    52
    Thanked 23 Times in 19 Posts
    Rep Power
    15
    I take it the action for this should be create.

    Doesn't seem to work for me on Win7.

    1.jpg

    2.jpg

    3.jpg

    4.jpg

    Looks right to me. GPO is Computer Configuration
    Last edited by mikkydoos; 29th January 2014 at 10:16 AM.

  6. #20

    Join Date
    Jan 2008
    Location
    South West
    Posts
    1,819
    Thank Post
    217
    Thanked 266 Times in 216 Posts
    Rep Power
    68
    @mikkydoos I use the local system account not an AD account. It'll only need access to local resources anyway. When using GPP just don't use the "Run as" section. I also do not specify a "start in" directory.

    EDIT: I use replace with an apply once only ILT
    Last edited by chazzy2501; 30th January 2014 at 10:31 AM.

  7. Thanks to chazzy2501 from:

    mikkydoos (30th January 2014)

SHARE:
+ Post New Thread
Page 2 of 2 FirstFirst 12

Similar Threads

  1. Does impero work on windows 8?
    By mrbios in forum Windows 8
    Replies: 21
    Last Post: 12th May 2013, 05:31 AM
  2. Wake On Lan not working on Windows 7
    By enjay in forum Windows 7
    Replies: 29
    Last Post: 9th May 2012, 12:37 PM
  3. Dell drivers that work with Windows 7
    By ClaireJoanne in forum Windows 7
    Replies: 2
    Last Post: 23rd April 2012, 01:04 PM
  4. Replies: 3
    Last Post: 26th March 2012, 03:13 PM
  5. Sound not working on windows
    By bladedanny in forum Mac
    Replies: 4
    Last Post: 23rd September 2009, 05:27 PM

Thread Information

Users Browsing this Thread

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

Tags for this Thread

Posting Permissions

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