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

    CMD or Batch snapins are not working! I have no more idea.

    Scheduled Pinned Locked Moved Solved
    General
    6
    24
    14.3k
    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 Former User @Wayne Workman
      last edited by

      @Wayne-Workman

      All right. Thank you very much for the help! 👍
      I saw that when I run the file locally, it copies and starts the VM as it should.
      I have to find out why that its not work when I’m using snapins.

      1 Reply Last reply Reply Quote 0
      • ?
        A Former User
        last edited by

        Hey guys its me again,

        I guess I could track down the problem.

        The batch file copies all files from the server (172.16.224.177) to the VM_Classroom folder. But when the batch file should open the VM, a new window of “Interactive Services Detection” starts instead.
        When I press “View the Message”, I see the VMware interface, which opens the VM. And after 15 seconds, the window closes again, just like it says in the batch file.

        Thus, I can say that the batch file works, but the VM is launched in Windows interactive service. When I close the window, the VM is not running in the VMware SW.

        How can I solve this problem?

        Wayne WorkmanW 1 Reply Last reply Reply Quote 0
        • Wayne WorkmanW
          Wayne Workman @A Former User
          last edited by

          @Reto Fog snapins must run silently. This is because they could run while the computer is not logged in, while it’s logged in but locked, overnight, etc. There can be no visual output attempted from a snapin. You need to figure out how to make your script totally silent - and that might mean using a different method in the script. Don’t think about making it work as it is now, think about what is acceptable and what can work.

          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
          • ?
            A Former User
            last edited by

            @Wayne-Workman Thank you! I will try to convert the batch to an .exe file.

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

            161

            Online

            12.0k

            Users

            17.3k

            Topics

            155.2k

            Posts
            Copyright © 2012-2024 FOG Project