• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. tahitiju
    T
    • Profile
    • Following 0
    • Followers 0
    • Topics 4
    • Posts 8
    • Best 0
    • Controversial 0
    • Groups 0

    tahitiju

    @tahitiju

    0
    Reputation
    2
    Profile views
    8
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    tahitiju Unfollow Follow

    Latest posts made by tahitiju

    • RE: Problem executing snapin script

      I was unable to resolve this issue with pnputil using a cmd.exe script.

      I noticed that the problem was also present on another FOG installation managed by other system administrators.

      I assume (perhaps wrongly) that the problem is linked to an ANSI/UTF encoding issue. If someone using another language manages to run pnputil.exe in a cmd.exe script, report it here.

      I was finally able to resolve this driver deployment issue using powershell. I’m leaving a sample code (install of a driver named usbblstr.inf) in case it helps someone.

      New-Item -Path "c:\" -Name "drivers" -ItemType "directory" -Force
      Copy-Item -Path "usb-blaster" -Destination "C:\drivers" -Recurse
      Start-Process -FilePath "pnputil.exe" -ArgumentList "/add-driver C:\drivers\usb-blaster\usbblstr.inf /subdirs /install" -RedirectStandardOutput "$env:tmp\usb-blaster-install.txt" -RedirectStandardError "$env:tmp\usb-blaster-err.txt"
      

      Sincerely,

      Julien

      posted in Windows Problems
      T
      tahitiju
    • Problem executing snapin script

      Hi,

      I’m looking to deploy a device driver on a Windows 10 machine using a Snapin Pack.

      I’ve created a .zip file containing the necessary files + an install.bat batch script.

      The problem I’m encountering is that the script executes correctly according to FOG (return code 0), but some lines of the script (the most important ones in fact) are simply not executed.

      I’ve extended the script to save the command execution output in a file (c:\tmp\usb-blaster-install.txt) so that I can understand where the problem lies.

      install.bat :

      rmdir /S /Q c:\tmp
      mkdir c:\tmp
      
      echo "start" 1> c:\tmp\usb-blaster-install.txt 2>&1
      echo %cd% 1>> c:\tmp\usb-blaster-install.txt 2>&1 
      
      where pnputil 1>> c:\tmp\usb-blaster-install.txt 2>&1
      pnputil 1>> c:\tmp\usb-blaster-install.txt 2>&1
      C:\Windows\System32\pnputil.exe /add-driver usbblstr.inf /subdirs /install 1>> c:\tmp\usb-blaster-install.txt 2>&1
      
      where python 1>> c:\tmp\usb-blaster-install.txt 2>&1
      python -V 1>> c:\tmp\usb-blaster-install.txt 2>&1
      
      echo "end" 1>> c:\tmp\usb-blaster-install.txt 2>&1
      

      For some reason, lines 7, 8 and 9 containing the pnputil command are not executed.
      The pnputil command is present on the system, and the script runs when I copy it and run it locally, but not via the FOG agent.

      Here’s the content of my output file when I run it via fog, it contains some strange characters :

      "start" 
      C:\Program Files (x86)\FOG\tmp\drivers-usb-blaster  
      Informationÿ: impossible de trouver des fichiers pour le(s) modŠle(s) sp‚cifi‚(s).
      'pnputil' n'est pas reconnu en tant que commande interne
      ou externe, un programme ex‚cutable ou un fichier de commandes.
      'C:\Windows\System32\pnputil.exe' n'est pas reconnu en tant que commande interne
      ou externe, un programme ex‚cutable ou un fichier de commandes.
      C:\ProgramData\anaconda3\python.exe
      Python 3.10.9
      "end" 
      

      As I said above, when I run it locally the script executes well and the output file contains the expected commands, and no weird characters.
      I’m not sure what the problem could be, as if the terminal launched by fog were running with a particular encoding.
      If you have an idea in mind, please let me know.

      Julien

      posted in Windows Problems
      T
      tahitiju
    • RE: Deploying a snapin is stucked in queud state

      @Tom-Elliott Great thanks for you help 👍

      posted in Windows Problems
      T
      tahitiju
    • RE: Deploying a snapin is stucked in queud state

      @Tom-Elliott yes, client is running.

      I was missing on the fog.log that i get an message ‘HostnameChanger Users still logged in and enforce is disabled, delaying any further actions’

      That might explain why the task stays queued.
      I searched on FOG configuration, but where could i find this enforce setting ?

      posted in Windows Problems
      T
      tahitiju
    • RE: Deploying a snapin is stucked in queud state

      @Tom-Elliott sorry, I wanted to say in a queued state.

      alt text

      Fog agent is installed on clients, and client is able to ping server.

      posted in Windows Problems
      T
      tahitiju
    • Deploying a snapin is stucked in queud state

      Hi,

      I’m having a problem today deploying a snapin on all of my machines. all tasks remain paused.

      I tested it again on one machine only, same problem.

      I don’t see anything special in the agent log on customers. nor anything special in the server (1.5.10) logs.

      Where could the problem be?

      Thanks

      posted in Windows Problems
      T
      tahitiju
    • Multicast is very slow

      Hi,

      I am facing a performance problem with FOG (v1.5.10).
      I try to deploy an image to some PCs but performance is very low (2MB/min) using multicast.
      For the purpose of the test, FOG server (1Gb NIC), clients (1Gb NIC) and dhcp are connected together using a Linksys Switch ( 16 x 1Gb ports / unmanaged) .
      Using unicast, performance seems normal (~1,5GB/min deploying 14 PCs).

      I tried things explained here to debug: multicasting
      Testing 1 Client & Testing 2 Clients were OK, about transfering a small .fogsettings file
      but i start to play with udp-sender to transfer a bigger (1GB sample ) file and :

      • with 1 client, transfer is very fast
      • with 2 clients, it was very slow (as like as my image deployment)

      Where could be the problem ?

      Thanks,

      Julien

      posted in FOG Problems
      T
      tahitiju