• Forcing Smooth Shutdowns and Restarts, Please (Because I Love Analog ClocX)

    Home » Forums » AskWoody support » Windows » Windows 10 » Questions: Win10 » Forcing Smooth Shutdowns and Restarts, Please (Because I Love Analog ClocX)

    Author
    Topic
    #2447175

    ClocX

    I’ve been using ClocX for so long I don’t remember (at this writing) when I started using it. I love it because I came up on analog, and all of us are fundamentally creatures with analog baseware.

    All the Windows machines on which I’ve tried ClocX ask if I’m sure I want to shut down/restart the machine because ClocX stops shut down/restart. Yes, I’m sure. 😉

    What simple, automatic ‘switch’ could be added to the Windows 10 restart/shutdown commands so that it always and automatically forces any open programs to close? And where can I find simple instructions on how to do that? Should Task Scheduler be used? Or should the executables for both shutdown and restart be tweaked?

    Merci buckets

    Finance, social and tech founder. Managing director of new crowd sourced games in pre-release development. Director on a new consortium to bring fractional ownership of heritage antiquities to the blockchain. My planet-wide talk show for people craving new stories by which to live is Casual Saints.
    • This topic was modified 1 month, 3 weeks ago by Mr. Austin.
    • This topic was modified 1 month, 3 weeks ago by Mr. Austin.
    Viewing 3 reply threads
    Author
    Replies
    • #2447206

      shutdown.exe /p /f (force shut down)
      shutdown.exe -s -t 120 (timer)
      shutdown.exe –r (restart)

      1 user thanked author for this post.
      • #2447684

        Thanks Alex, That’s a decent start for me with the command line switches. I use them so infrequently because a coder I’m gnot 😉

        Finance, social and tech founder. Managing director of new crowd sourced games in pre-release development. Director on a new consortium to bring fractional ownership of heritage antiquities to the blockchain. My planet-wide talk show for people craving new stories by which to live is Casual Saints.
    • #2447303

      The question is, can you shut down ClocX using a command line. If not you may not be able to do this.
      Alternatively, you may be able to code it in AutoIt / AutoHotKey.

      cheers, Paul

      • #2447682

        Thank you Paul. I’m trying to do this without learning code I’ve already forgotten because I haven’t used it since the time of Noah😉.

        Finance, social and tech founder. Managing director of new crowd sourced games in pre-release development. Director on a new consortium to bring fractional ownership of heritage antiquities to the blockchain. My planet-wide talk show for people craving new stories by which to live is Casual Saints.
    • #2447464

      You could also just make a simple double click desktop icon to force windows shutdown.

      Windows-shutdown-desktop-shrotcut

      1 user thanked author for this post.
      • #2447681

        This is one of my favorite replies because it spells it out for me, and I might then interpolate how to mod the actual shutdown.exe. Thank you.

        Finance, social and tech founder. Managing director of new crowd sourced games in pre-release development. Director on a new consortium to bring fractional ownership of heritage antiquities to the blockchain. My planet-wide talk show for people craving new stories by which to live is Casual Saints.
      • #2447692

        After creating the shortcut (using either that syntax, or using /t 60) it launches, and then blazes through command line switches, shuts the command line window, and doesn’t shut down.

        Finance, social and tech founder. Managing director of new crowd sourced games in pre-release development. Director on a new consortium to bring fractional ownership of heritage antiquities to the blockchain. My planet-wide talk show for people craving new stories by which to live is Casual Saints.
        • #2447694

          /t 60 is a minute delay, not immediate. /t 0 will give you an immediate shutdown.

          “/s /f /t o” = shutdown, force (shutdown of running processes), timedelay = 0.

          1 user thanked author for this post.
        • #2447702

          Derp. I was going for 60 seconds.

          Finance, social and tech founder. Managing director of new crowd sourced games in pre-release development. Director on a new consortium to bring fractional ownership of heritage antiquities to the blockchain. My planet-wide talk show for people craving new stories by which to live is Casual Saints.
    • #2447695

      “/s /f /t 0”

      zero, not oh.

      cheers, Paul

      1 user thanked author for this post.
      • #2447703

        *That* I knew. I just had the numerical value incorrect.

        Finance, social and tech founder. Managing director of new crowd sourced games in pre-release development. Director on a new consortium to bring fractional ownership of heritage antiquities to the blockchain. My planet-wide talk show for people craving new stories by which to live is Casual Saints.
    Viewing 3 reply threads
    Reply To: Forcing Smooth Shutdowns and Restarts, Please (Because I Love Analog ClocX)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: