• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Chkdsk as remote job

    Scheduled Pinned Locked Moved Unsolved
    FOG Problems
    3
    5
    1.5k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • AlbertusA
      Albertus
      last edited by Sebastian Roth

      Server
      • FOG Version: 1.3.3
      • OS: Linux Ubuntu
      Client
      • Service Version:
      • OS: Windows 10

      Good Day

      Is there any way to automatically schedule a remote job to run chkdsk to eliminate to do it manually to some pc’s?

      Thank You
      Albertus

      01000001 01101100 01100010 01100101 01110010 01110100 01110101 01110011
      That's me in a nutshell!!

      Q 1 Reply Last reply Reply Quote 0
      • Q
        Quazz Moderator @Albertus
        last edited by

        @Albertus

        .bat script, barebones just pure functionality:

        fsutil dirty set c:
        shutdown /r
        

        This sets the dirty bit flag, so that windows will run a chkdsk /f on next reboot, which is triggered immediately after.

        This assumes windows is installed on πŸ˜„

        You can make it more advanced if necessary of course, but this is the core of what you want.

        1 Reply Last reply Reply Quote 1
        • AlbertusA
          Albertus
          last edited by

          Thank you for your reply. Works great!!
          Any other bit flags that can be set like to defrag disk / scan for viruses on windows boot?

          Thank You
          Albertus Geyser

          01000001 01101100 01100010 01100101 01110010 01110100 01110101 01110011
          That's me in a nutshell!!

          Q 1 Reply Last reply Reply Quote 0
          • Q
            Quazz Moderator @Albertus
            last edited by

            @Albertus Virus scan will depend on your anti virus. I don’t think Windows Defender has an option for boot scan. You can schedule an advanced task to run ClamAV on any host with FOG though.

            Builtin defrag does not work on boot afaik.

            x23piracyX 1 Reply Last reply Reply Quote 0
            • x23piracyX
              x23piracy @Quazz
              last edited by

              @Quazz http://www.thewindowsclub.com/offline-scan-using-windows-defender
              https://www.deskmodder.de/wiki/index.php?title=Offline_Scan_beim_Booten_mit_dem_Windows_Defender

              β•‘β–Œβ•‘β–ˆβ•‘β–Œβ”‚β•‘β–Œβ•‘β–Œβ–ˆ

              1 Reply Last reply Reply Quote 1
              • 1 / 1
              • First post
                Last post

              152

              Online

              12.0k

              Users

              17.3k

              Topics

              155.2k

              Posts
              Copyright Β© 2012-2024 FOG Project