Script with Snap-in?



  • 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 :)?



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



  • @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?



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



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



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


 

467
Online

41.8k
Users

12.3k
Topics

116.0k
Posts