How can I schedule a restart to SCCM managed computers at a certain time?

Hi all;
I've been trying to schedule a restart to SCCM 2012R2 managed computers at a certain time with no luck.
Here is what I did:
Created a new package called “ScheduledReboot”
Standard Program without Source Packages
I named mine simply “ScheduledReboot”. Set Start In to
c:\windows\system32, and set After Running to Program restarts computer.
My command line is shutdown.exe -r -t 300 -c “Initiating scheduled reboot for system maintenance. You have 5 minutes to save your work before mandatory forced reboot.” This gives a reboot with 5 minutes of lead-time, and displays the
message in quotes to any users who may still be logged in.
Created an advertisement with a mandatory advertisement a little bit into the Maintenance Window. I advertise this to a test collection with 1 PC. Set it to recur every 1 day at 2AM. Changed the Program Run Behavior of the advertisement
to Always Rerun Program.
However; I get an error and noting happens. I did deploy several Packages to the same PC such as WinZip and other stuff.
Please advise.
Thank you.

Check out the Coretech Shutdown Tool.
http://blog.coretech.dk/kea/new-version-of-the-coretech-shutdown-tool/
It's a community tool and pretty cool.
Gerry Hampson | Blog:
www.gerryhampsoncm.blogspot.ie | LinkedIn:
Gerry Hampson | Twitter:
@gerryhampson

Similar Messages

  • How can I set up a Macbook to wake up at a certain time for backing up?

    My wife objects strenuously to Time Capsule (wireless) backups so I finally set it to once a day, starting at 7 pm. You would think that would work but NO, runs too long and even next morning to finish. We are backing up only documents, mail, safari, etc. — no Apps.
    We also back up online to BackJack once a day.
    So I am thinking what may be a solution is to have it run at night, when she is asleep and the only time she is not using it.
    But how do I wake it up at the designated time? If we leave the lid up will just start when something is scheduled like Time Machine or Backjack? Or do I need additional software?
    Thanks,
    Richard

    Richard Pitcairn wrote:
    Basically, for my wife's settings, we exclude iTunes, movies, Apps but do back up Mail, Safari, Docs, Prefs. I have watched it and it does indeed run a long time.
    Then something is broken. Backups are only useful when done from a known good system. Then, if that system dies, is stolen, etc. you can restore from your backups. You are backing up a known bad system. If and when you need to restore (and you may, considering something is wrong), you may find your backed up data to be garbage. It is worth investigating why those backups are taking so long. You shouldn't have to exclude anything. You shouldn't be able to generate enough hourly changes to cause the backup to be so slow as to interfere with normal operation.
    Two things that could be improved are the memory on the Macbook and the available disk space on the Time Capsule. You are low on both. However, I suspect the problem is elsewhere. You might want to review her log files during a backup to see if there are any error messages.
    As for using BackJack, she is an artist and has about 40 GB of photos on her drive that if lost, might be the end of our relationship.
    Then those files need to be archived, not backed up, to one or more devices. They should probably also be verified. I have seen people dutifully run backups for months, never realizing they were backing up junk and overwriting the previous, valid backups. I discovered that only when called in to do a system restore from backup.
    Time Machine too slow, too small a capacity. I ran Mozy for a while but really slow and CPU consuming. BJ is reasonably fast, does incremental backups, does tie up CPU nearly as much.
    I think you have jumped to some invalid conclusions based on some other, underlying issue. When your system if functioning properly, Time Machine should make anything else look like a joke. Your system is sickly, and backing that up isn't doing you any favors.
    My advice is to shut down all backups, perform an archive backup, and verify that the archived data is valid. This might be an excellent occasion to use a cloning tool such as Carbon Copy Cloner. Then investigate why your backups are so slow. I suggest buying a new hard drive anyway for that 40 GB of critical data. May as well get an additional hard drive for the Time Capsule and some more RAM. Then re-partition that machine and reinstall the OS, perhaps onto yet another new drive. That is probably the quickest, easiest, and cheapest way to get your systems back up to speed and running well for the long term.

  • How can I get my itunes library on multiple computers at the same time. I have 3 and an iphone 4S

    So I have my itunes library on a laptop and synced with my iphone 4S. I have a new laptop and a tower and I use all three computers. Is there a simple way to have all three computers sync the same itunes library, and the phone?

    No.
    Iphone will sync with one and only one computer a a time.  Syncing to another will erase the current content from the iphone and replace with content from the new computer.

  • How can i lock and unlock my daughter iphone 4S in a certain time

    I need to lock my daughter iphone at 8am and unlock at 4pm basically at school time, then lock againg at 9pm.

    AT&T offers this:
    http://www.att.net/smartcontrols-SmartLimitsForWireless
    If not on AT&T, see if your carrier offers similar.

  • My ipad has gone in lost mode by mistake and now i have it and i enter the password and i cant enter my ipad how can i enter or restart the ipad and start back over new

    my ipad has gone in lost mode by mistake and now i have it and i enter the password and i cant enter my ipad how can i enter or restart the ipad and start back over new

    FORCE IPAD INTO RECOVERY MODE
    1. Turn off iPad
    2. Turn on computer and launch iTunes (make sure you have the latest version of iTune)
    3. Plug USB cable into computer's USB port
    4. Hold Home button down and plug the other end of cable into docking port.
    DO NOT RELEASE BUTTON until you see picture of iTunes and plug
    5. Release Home button.
    ON COMPUTER
    6. iTunes has detected iPad in recovery mode. You must restore this iPad before it can be used with iTunes.
    7. Select "Restore iPad"...
    Note:
    1. Data will be lost if you do not have backup
    2. You must follow step 1 to step 4 VERY CLOSELY.
    3. Repeat the process if necessary.

  • I have the new version of iMovie, and when i try to start the program, i can't because it says that it is looking for some movie files from the Iphoto, so all the program is locked up... how can i do to restart the program??

    i have the new version of iMovie, and when i try to start the program, i can't because it says that it is looking for some movie files from the Iphoto, so all the program is locked up... how can i do to restart the program??

    Hi
    Did You ever use - iPhoto ?
    Did You may be direct iPhoto to a different Photo Library
    As iMovie tries to find the appropriate photo library - it can get lost if iPhoto direct it into a Library on a not connected external hard disk or to a strange location - And iMovie HANGS.
    Do - When no other program is running that might interfere
    • Start iPhoto - BUT NOW KEEP alt-key (option key) DOWN during the full Start-Up process
    • Now iPhoto let's You select Photo Library
    • Select the one in Your Account / Home folder / Pictures ! !
    • Then iPhoto should start up OK
    • Now Quit iPhoto
    • START iMovie
    Does it still hangs - then I would suspect - iMovie Pref. file
    If it Run's OK - Then HURRAY !
    Yours Bengt W

  • How can I do to restart my questions

    how can I do to restart my answers for the security questions as I forgot then and cannot proceed with purchasing

    Hey Edgarcito,
    Thanks for the question. If you are having issues with the security questions associated with your Apple ID, follow these steps:
    If you forgot the answers to your Apple ID security questions
    http://support.apple.com/kb/HT6170
    Reset your security questions
    1. Go to My Apple ID (appleid.apple.com).
    2. Select “Manage your Apple ID” and sign in.
    3. Select “Password and Security” on the left side of the page.
    4. If you have only one security question, you can change the question and answer now.
    5. If you have more than one security question:
              - Select “Send reset security info email to [your rescue email address].” If you don't see this link or don't have access to your rescue address, contact Apple Support as described in the next section.
              - Your rescue address will receive a reset email from Apple. Follow its instructions to reset your security questions and set up new questions and answers. Didn't receive the email?
    After resetting your security questions, consider turning on two-step verification. With two-step verification, you don't need security questions to secure your account or verify your identity.
    If you can't reset your security questions
    Contact Apple Support in either of these circumstances:
              - You don't see the link to send a reset email, which means you don't have a rescue address.
              - You see the link to send a reset email, but you don't have access to email at the rescue address.
    A temporary support PIN isn't usually required, but Apple may ask you to generate a PIN if your identity needs to be verified.
    Thanks,
    Matt M.

  • How can I schedule my Bex report to execute in background

    My Bex program takes more than 20 mins to run and it always hangs up my PC especially when I am trying to do something else in EXCEL.
    How can I schedule to run the report in background, whether from BEX or anywhere as long as I can get the report output.
    Thanks

    Hi Colin.......
    Check this......
    Schedule Reports in BW
    Regards,
    Debjani.......

  • )How can we schedule the info package daily run at 6 AM, with out useing in

    Hi
       Can any one explain 1) what is information broadcasting &how can we use this.
    2)What are the settings we have to do when we use the charts in WAD's
    3)How can we schedule the info package daily run at 6 AM, with out useing in process chains
    Thanks
    Bharath

    Hi,
      Information broadcaster :
          you can precalculate and distribute(thru mail) the query, workbook and webtemplate through online link or html file to the receipents (users).
    have a look at the below link.
         http://help.sap.com/saphelp_nw04/helpdata/en/3a/0e044017355c0ce10000000a1550b0/frameset.htm
    Infopackage scheduling:
         you can schedule the infopackage daily at your desired time .In the schedule tab ,select the start later in background and in the scheduling option give the date and time and give the period values as daily.
    Regards,
    Siva.

  • How can u schedule or monitor Bacground jobs from OS level?

    Hello,
         I was faced one question recently in IBM interview,, How can u schedule or monitor Background Jobs through OS level.anyone pls help me.
    regards,
    balaram

    In my knowledge, for scheduling background jobs in windows we can use scheduler.
    In unix flavours, cronjobs or at commands can be used.
    Again it depends on which version of OS we use.
    hope this helps.
    inspire by rewarding

  • How can i actived mu id apple? i change my pasword 3 times and it still donsent qwork

    how can i actived mu id apple? i change my pasword 3 times and it still donsent qwork

    Boot from your recovery partition by holding down the key combination command-R at startup. Release the keys when you see a gray screen with a spinning dial.
    When the recovery desktop appears, select Utilities ▹ Terminal from the menu bar.
    In the Terminal window, enter “resetpassword” and press return. A Reset Password window opens.
    Select your boot volume if not already selected.
    Select your username from the menu labeled Select the user account if not already selected.
    Follow the prompts to reset the password.
    Select  ▹ Restart from the menu bar.
    You should now be able to log in with the new password, but you won't be able to unlock the Keychain. If you've forgotten the Keychain password (which is ordinarily the same as your login password), there's no way to recover it. You’ll need to reset your keychain in the preferences of the Keychain Access application.

  • How can we assign one attribute set to multiple business partners at a time ?

    How can we assign one attribute set to multiple business partners at a time ? Is it possible ? Can anyone explain me ?

    Hello,
    please refer to the following thread:
    How can we assign one Attribute Set to multiple Business Partners at a time? Is it possible?
    best regards,
    Johannes

  • How can I see the old backups of my previous Macbook done by Time machine in a Time capsule with my new iMac?

    How can I see the old backups of my previous Macbook done by Time machine in a Time capsule with my new iMac? I've changed from a Macbook to a iMac because that one stopped working and I cannot use it anymore. I've been able to import all the data of the last backup of the Macbook when setting the new iMac, but I cannot access now to the old backups of the Macbook and there are information that wasn't in the last backup and I would like to recover. Thank you very much.

    Yes, you can ..
    Read Q17 here.
    http://pondini.org/TM/FAQ.html
    Strongly recommend his whole section.. 14-17 and read it carefully to understand the ways you can make TM work for you.

  • How can i control what images load on my project to save preload time and avoid loading all images, elements, divs not yet visible?

    Sup buddies,
    How can I control what images load on my project to save preload time and avoid loading all images, elements, divs not yet visible?
    As the project grows in size the load time increases. How does one control not loading all images ,divs,elements etc. until they're
    needed on the timeline? For example some sections are off and only become visible when recalled. My projects slowly grow in size so loading
    all images , is counter productive . My other option would be to create separate htmls but that breaks the seamless user experience .
    TY...Over N Out... 

    hello, kiwi
    quote: "Is there an easy way to burn a completed project to DVD, but keep only the (lo res, lo size) previews on my hard drive?"
    yes.
    maybe,...
    1. you might think of making DVD backups first prior to importing the photos into Aperture. "Store Files: In their current location" once in Aperture make low rez Previews, and export finished Project.
    or,
    2. bring in the photographs to hard drive first prior to importing the photos into Aperture. "Store Files: In their current location" once in Aperture make low rez Previews, and export finished Project.
    the low rez Previews will stay in Aperture but the high quality Versions will be exported onto DVDs and gone from the hard drive (if you delete the originals).
    another way would be to export small about 50-70 pixel wide high quality jpegs to a folder on your Desktop and import & keep these in Aperture Library as a reference. make metadata to show where the original Project DVDs are stored and DVD filing system used.
    victor

  • I bought a Mountain Lion upgrade for $20 off the Apple site. I have four other Macs all under the same ID. How can I share the new OS with other computers. Or can I?

    I bought a Mountain Lion upgrade for $20 off the Apple site. I have four other Macs all under the same ID. How can I share the new OS with other computers. Or can I?

    You can share it with other Macs under your control (not your neighbor's).  You just need to be logged in under the buying AppleID for updates or to download again.
    Use this thread to find a method of copying the ML download into a USB drive to make other installations easier: https://discussions.apple.com/message/16639520#16639520

Maybe you are looking for