Why won't "WMIC OS Where Primary=True Call Reboot" not force reboot when dialog box is open?

Posted on 2008-11-05
Last Modified: 2009-07-29
WMIC OS Where Primary=True Call Reboot will not force reboot when dialog box was open asking to save document. Are there parameter settings, another windows command or a software package that will force the reboot?
Question by:cc22
    1 Comment
    LVL 3

    Accepted Solution


    Just run the following...
    SHUTDOWN -r -f -t 01

    In English this is - Shutdown and restart forcing all running apps to close in one seconds time...
    for a full list of options for the shutdown command...

    Hope that helps...


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Find Ransomware Secrets With All-Source Analysis

    Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

    The canonical version of this article is on my web site here: A companion presentation is available here:
    Technology opened people to different means of presenting information, but PowerPoint remains to be above competition. Know why PPT still works today.
    The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
    The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…

    761 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    12 Experts available now in Live!

    Get 1:1 Help Now