• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • 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.
  • A
    Albertus
    last edited by Sebastian Roth Feb 13, 2017, 5:15 AM Feb 13, 2017, 5:51 AM

    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 Feb 13, 2017, 11:37 AM Reply Quote 0
    • Q
      Quazz Moderator @Albertus
      last edited by Feb 13, 2017, 11:37 AM

      @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
      • A
        Albertus
        last edited by Feb 14, 2017, 8:55 AM

        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 Feb 14, 2017, 10:34 AM Reply Quote 0
        • Q
          Quazz Moderator @Albertus
          last edited by Feb 14, 2017, 10:34 AM

          @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.

          X 1 Reply Last reply Feb 14, 2017, 12:31 PM Reply Quote 0
          • X
            x23piracy @Quazz
            last edited by Feb 14, 2017, 12:31 PM

            @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
            1 / 1
            • First post
              5/5
              Last post

            150

            Online

            12.1k

            Users

            17.3k

            Topics

            155.3k

            Posts
            Copyright Β© 2012-2024 FOG Project