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

Script with Snap-in?

Scheduled Pinned Locked Moved
FOG Problems
2
6
1.6k
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.
  • B
    boeleke
    last edited by May 11, 2016, 5:28 PM

    Hi there!
    I need to run a script on the first startup.
    SetupComplete.cmd is not possible because we are not goind to do a sysprep on this one.

    Is it possible to send a script with snapins? If you use snapins , do you need to login with a user?

    I don’t think my snapins are working. I use my storage on the QNAP – i can upload the snapin but i think i miss some invisble files there so that it works? Can someone help :)?

    1 Reply Last reply Reply Quote 0
    • W
      Wayne Workman
      last edited by May 11, 2016, 5:35 PM

      Yes you can run a script with snapins.

      All snapins run as the SYSTEM user, and cannot have any output. Snapins do not need anyone logged in.

      run with: c:\windows\system32\cmd.exe

      file: your script.

      Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
      Daily Clean Installation Results:
      https://fogtesting.fogproject.us/
      FOG Reporting:
      https://fog-external-reporting-results.fogproject.us/

      B 1 Reply Last reply May 11, 2016, 6:06 PM Reply Quote 0
      • B
        boeleke @Wayne Workman
        last edited by May 11, 2016, 6:06 PM

        @Wayne-Workman

        Hii!
        This are my settings.
        I have no extra files in that directory /opt/ for snapins. Is this going to work?
        What does this file need to be? Just a bat or a text file?

        alt text

        alt text

        W 1 Reply Last reply May 11, 2016, 6:09 PM Reply Quote 0
        • W
          Wayne Workman @boeleke
          last edited by May 11, 2016, 6:09 PM

          @boeleke A batch file needs to have a .bat extension. You upload it via the snapin editing area. It should show up in snapins after the snapin has been created.

          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
          Daily Clean Installation Results:
          https://fogtesting.fogproject.us/
          FOG Reporting:
          https://fog-external-reporting-results.fogproject.us/

          B 1 Reply Last reply May 11, 2016, 6:28 PM Reply Quote 0
          • B
            boeleke @Wayne Workman
            last edited by May 11, 2016, 6:28 PM

            @Wayne-Workman

            yes i know , but in the standard Snapin Area there are in the directory SSL these 3 files :

            CA (directory with files) , fog.csr , .srvprivate.key

            Do i need this also on the QNAP for snapins to work?

            W 1 Reply Last reply May 11, 2016, 6:30 PM Reply Quote 0
            • W
              Wayne Workman @boeleke
              last edited by May 11, 2016, 6:30 PM

              @boeleke Those are the fog server’s CA and private certificate for your specific server. They must remain in place for anything concerning the fog client to work. You should not bother them to create a snapin.

              Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
              Daily Clean Installation Results:
              https://fogtesting.fogproject.us/
              FOG Reporting:
              https://fog-external-reporting-results.fogproject.us/

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              1 / 1
              • First post
                4/6
                Last post

              221

              Online

              12.0k

              Users

              17.3k

              Topics

              155.2k

              Posts
              Copyright © 2012-2024 FOG Project