• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. xavierc
    X
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 5
    • Best 0
    • Controversial 0
    • Groups 0

    xavierc

    @xavierc

    0
    Reputation
    28
    Profile views
    5
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    xavierc Unfollow Follow

    Latest posts made by xavierc

    • RE: Cmd not execute in a local computer

      @george1421

      I’ve read a lot to solve the problem, and I think that’s the quid of question:
      Snapins Run as SYSTEM or root
      All Snapins including SnapinPacks run as the SYSTEM or root user’s security context. If a snapin or SnapinPack runs successfully by manual execution but not via the FOG Client - this is typically related to the security context. For example, say you have a shared directory that is granted read access for all Domain Users. Well, an individual host’s local SYSTEM or root account is not a member of Domain Users. Therefore, unless alternative credentials are supplied to access the share, any script executed that tries to read this share will not work. There are a few solutions to this. Granting the share read access for anonymous users is the most simple. Specifying credentials within scripts or as arguments are viable options.

      How can i specifying credentials with scripts or arguments in snapin console? Could you put an example?

      Thks a lot.

      posted in FOG Problems
      X
      xavierc
    • RE: Cmd not execute in a local computer

      @george1421
      Thanks george, but I do not understand why FOG can not execute cmd and exe remotely with administrator permissions.

      At least to transfer the file I did it with the Reboot restore itself, you say send file and execute, and it works perfectly. Open autoit file in the network and install perfect.
      The same file I put in the FOG snapins and it is copied to the FOG temp folder but it is not executed.
      I have tried to create a bat exe, with administrator permissions but it still does not work.

      Are there any way to do that i want to do?

      thks

      posted in FOG Problems
      X
      xavierc
    • RE: Cmd not execute in a local computer

      @george1421
      ok, I’ll try to explain myself better
      I have to install the new version of the Reboot Restore RX on more than 250 computers.
      with autoit I have done a self uninstaller and installer with the license of the new version, unnatended
      But the installer program taht needs to be installed, is networked.

      As FOG allows deploy files, I had thought that first I would copy a bat file, with the commands to execute the compiled autoit exe of the network, in all the local computers in the folder where the FOG is installed in x86 \ fog and then calling the psexec would call the bat file to run.

      But if there is a program to be able to execute files from the network from to a local computer, it would also be worth it.

      posted in FOG Problems
      X
      xavierc
    • RE: Cmd not execute in a local computer

      @george1421
      Thanks for answering

      I have tried with psexec, psexec allows the execution of files. But I need to know what arguments to put in the snapin.

      To give a real example. in the directory x86 \ fog I have the file dinstall.bat

      What arguments should I put in the normal snapin to run locally with the psexec command?

      What I am trying to achieve would be valid for any file that I would like to run locally but that the information of the files is in the network

      posted in FOG Problems
      X
      xavierc
    • Cmd not execute in a local computer

      I created a file in Autoit, with Snapin not working. The auto-it file is in network.

      I thought, that I could create a snapin with a .bat file so that it would be copied to the folder x86 \ fog.
      And then create another snapin to execute that bat of the folder fog, what what would do is call the exe file of auto-it.
      How can I run a bat with the snapin option to run on the local machine?

      Thank you

      posted in FOG Problems
      X
      xavierc