• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. plegrand
    3. Posts
    P
    • Profile
    • Following 0
    • Followers 0
    • Topics 45
    • Posts 418
    • Best 18
    • Controversial 0
    • Groups 0

    Posts made by plegrand

    • RE: Installing FOG on Debian Stretch fails

      @Tom-Elliott Just for information :
      Is it possible to only upgrade debian , or is it better to reinstall everything from scratch ?

      posted in FOG Problems
      P
      plegrand
    • RE: HostnameChanger

      @Tom-Elliott Not really. It’s only because windows see it as an error

      posted in FOG Problems
      P
      plegrand
    • RE: HostnameChanger

      Is the system already domain joined?
      Yes

      Is the system configured in FOG to join the domain?
      Yes

      Are the credentials set in FOG for domain joining correct?
      Yes

      Do other Windows 10 systems throw this error?
      Yes

      Do Windows 7 or 8 or 8.1 systems throw this error?
      Not tested

      Can you copy/paste the complete error message from Windows Event viewer please? We don’t want a screen shot, We want text.

      Log Fog :

      HostnameChanger
      
       15/06/2017 17:23 Client-Info Client Version: 0.11.12
       15/06/2017 17:23 Client-Info Client OS:      Windows
       15/06/2017 17:23 Client-Info Server Version: 1.4.2
       15/06/2017 17:23 Middleware::Response Success
       15/06/2017 17:23 HostnameChanger Checking Hostname
       15/06/2017 17:23 HostnameChanger Hostname is correct
       15/06/2017 17:23 HostnameChanger Attempting to join domain
       15/06/2017 17:23 HostnameChanger The machine is already joined to the domain, code =  2691
      

      Log WIndows at the same time

      Nom du journal :System
      Source :       NetJoin
      Date :         15/06/2017 17:23:09
      ID de l’événement :4097
      Catégorie de la tâche :Aucun
      Niveau :       Erreur
      Mots clés :    
      Utilisateur :  Système
      Ordinateur :   GEII-102-TMP
      Description :
      L'ordinateur GEII-102-TMP a essayé de joindre le domaine samba_domain mais a échoué. Le code d'erreur était 2691.
      XML de l'événement :
      <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
        <System>
          <Provider Name="NetJoin" Guid="{9741FD4E-3757-479F-A3C6-FC49F6D5EDD0}" />
          <EventID>4097</EventID>
          <Version>0</Version>
          <Level>2</Level>
          <Task>0</Task>
          <Opcode>0</Opcode>
          <Keywords>0x8000000000000000</Keywords>
          <TimeCreated SystemTime="2017-06-15T15:23:09.251539000Z" />
          <EventRecordID>4521</EventRecordID>
          <Correlation ActivityID="{00000000-0000-0000-0100-000000000000}" />
          <Execution ProcessID="480" ThreadID="1556" />
          <Channel>System</Channel>
          <Computer>GEII-102-TMP</Computer>
          <Security UserID="S-1-5-18" />
        </System>
        <EventData>
          <Data Name="DomainName">samba_domain</Data>
          <Data Name="ComputerName">GEII-102-TMP</Data>
          <Data Name="NetStatusCode">2691</Data>
        </EventData>
      </Event>
      

      2691 This computer is already joined to a domain. NERR_SetupAlreadyJoined

      posted in FOG Problems
      P
      plegrand
    • HostnameChanger
      Server
      • FOG Version: 1.4.2
      • OS: Debian Stable
      Client
      • Service Version: 0.11.12
      • OS: Windows 10
      Description

      Hello,
      i’ve got a question : On a windows 10 computer i’ve got around every minutes this error message : NetJoin event id 4097.
      It seeems that it’s corresponding with the fog client which test if computer is already joined to domain : HostnameChanger attempting to join domain.
      Is there a way to avoid this ?

      Thanks for your help

      posted in FOG Problems
      P
      plegrand
    • RE: snapin and batch script

      @Wayne-Workman @Avaryan @george1421 @Quazz @Tom-Elliott

      Just for information :

      I found this tool :
      https://github.com/CoreSecurity/impacket/tree/impacket_0_9_13

      There is this script inside : “psexec.py”

      The package exist for debian : Package python-impacket
      psexec.py works fine from the linux command line (very long command line 😉 )

      And i think i will be able to use it on several remote windows computers with tmux.

      posted in FOG Problems
      P
      plegrand
    • RE: snapin and batch script

      @Wayne-Workman Not sure i want to use Amazon service

      posted in FOG Problems
      P
      plegrand
    • RE: snapin and batch script

      @Wayne-Workman I understand that

      posted in FOG Problems
      P
      plegrand
    • RE: snapin and batch script

      @Avaryan @Tom-Elliott @Quazz @Wayne-Workman
      May be someone know a solution to launch remote command on mulitple computers without GPO’s ?

      posted in FOG Problems
      P
      plegrand
    • RE: snapin and batch script

      @Quazz
      I think the problem is that snapin is launched as SYSTEM user, then even i use psexec or runas to run command as local user, snapin is launched as SYSTEM and then it does not works. I try with -accepteula but …

      posted in FOG Problems
      P
      plegrand
    • RE: snapin and batch script

      @plegrand
      It seams that i have to create the zip file on windows , on linux i have this error.
      After that the snapin pack is launched but i think it’s waiting interaction with user and even i use psexec the script is launch by system. Then it doesn’t works.
      I have to find an other solution

      posted in FOG Problems
      P
      plegrand
    • RE: snapin and batch script

      @Tom-Elliott
      I cant make it works for the moment with snapinpack, I’ve got an error that i don’t understand :

      17/05/2017 08:42 Client-Info Client Version: 0.11.11
      17/05/2017 08:42 Client-Info Client OS:      Windows
      17/05/2017 08:42 Client-Info Server Version: 1.3.5
      17/05/2017 08:42 Middleware::Response Success
      17/05/2017 08:42 SnapinClient Snapin Found:
      17/05/2017 08:42 SnapinClient     ID: 103
      17/05/2017 08:42 SnapinClient     Name: Update Windows 7
      17/05/2017 08:42 SnapinClient     Created: 2017-05-17 08:41:24
      17/05/2017 08:42 SnapinClient     Action: 
      17/05/2017 08:42 SnapinClient     Pack: True
      17/05/2017 08:42 SnapinClient     Hide: False
      17/05/2017 08:42 SnapinClient     Server: 
      17/05/2017 08:42 SnapinClient     TimeOut: 0
      17/05/2017 08:42 SnapinClient     SnapinPack File: cmd.exe
      17/05/2017 08:42 SnapinClient     SnapinPack Args: /c "[FOG_SNAPIN_PATH]\test.bat" >> %tmp%\test.log 2>&1
      17/05/2017 08:42 SnapinClient     File: test.zip
      17/05/2017 08:42 Middleware::Communication Download: http://192.168.39.243/fog/service/snapins.file.php?mac=D0:67:E5:0C:6A:1A||00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0&taskid=103
      17/05/2017 08:42 SnapinClient C:\Program Files\FOG\tmp\test.zip
      17/05/2017 08:42 SnapinClient Processing SnapinPack test.zip
      17/05/2017 08:42 SnapinClient Extracting SnapinPack
      17/05/2017 08:42 SnapinClient ERROR: Compressed size mismatch between central header(161385) and local header(0)
      17/05/2017 08:42 Middleware::Communication URL: http://192.168.39.243/fog/service/snapins.checkin.php?taskid=103&exitcode=-1&mac=D0:67:E5:0C:6A:1A||00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0&newService&json
      

      An idea ?

      posted in FOG Problems
      P
      plegrand
    • RE: snapin and batch script

      @plegrand yes
      but for the moment nothing happen 😉
      I’m trying snapin pack
      with this command :

      psexec \\%computername% -u %computername%\Administrateur -p password -e cmd /c "net use y: \\samba\wsus$ "my'password" /User:samba\Administrateur & y:\wsusoffline\client\cmd\DoUpdate.cmd /verify /updatecpp /updatetsc /instdotnet4 /autoreboot"
      

      i made a zip with my batch script (test.bat) and psexec

      Snapin Type Snapin Pack
      Snapin Pack Template Batch Script
      Snapin Pack File cmd.exe
      Snapin Pack Arguments /c “[FOG_SNAPIN_PATH]\MyScript.bat”
      Snapin File Max Size:1900M test.zip
      Snapin Command cmd.exe /c “[FOG_SNAPIN_PATH]\MyScript.bat”

      posted in FOG Problems
      P
      plegrand
    • RE: snapin and batch script

      @Tom-Elliott @Avaryan
      It works !!! with psexec
      for the moment from command line, then i need to package my script and psexec ?

      here is the command :

      psexec \\%computername% -u %computername%\Administrateur -p password -e cmd /c "net use y: \\samba\wsus$ "my'password" /User:samba\Administrateur & y:\wsusoffline\client\UpdateInstaller.exe"
      

      UpdateInstaller.exe open a windows and wait for user input.
      For the moment i dont if it will works with snapin

      posted in FOG Problems
      P
      plegrand
    • RE: snapin and batch script

      @Tom-Elliott no
      It works alone without waiting something from the user

      posted in FOG Problems
      P
      plegrand
    • RE: snapin and batch script

      @Avaryan said in snapin and batch script:

      UpdateInstaller.exe

      is only for testing, the command i want to launch is :

      "call W:\cmd\DoUpdate.cmd /verify /updatecpp /updatetsc /instdotnet4 /autoreboot"
      

      from the samba share

      posted in FOG Problems
      P
      plegrand
    • RE: snapin and batch script

      @Tom-Elliott as i said before the command i will use will not need user input :

      I will use a command line with arguments like that :

      "call W:\cmd\DoUpdate.cmd /verify /updatecpp /updatetsc /instdotnet4 /autoreboot"
      

      once share mounted in w:

      I would like to update my computer once image deployed, for that i use “WsusOffline”
      WsusOffline is located on a samba share, then i have to mount the samba share, in “w:” for example, and then launch this command :

      W:\cmd\DoUpdate.cmd /verify /updatecpp /updatetsc /instdotnet4 /autoreboot"
      

      from the samba share

      posted in FOG Problems
      P
      plegrand
    • RE: snapin and batch script

      @Avaryan Windows 7 and Windows 10

      posted in FOG Problems
      P
      plegrand
    • RE: snapin and batch script

      @Tom-Elliott may be with psexec tool ?
      For the moment i cant make it works syntax problem but with snapin pack ?

      posted in FOG Problems
      P
      plegrand
    • RE: snapin and batch script

      @Tom-Elliott In fact i will not use “UpdateInstaller.exe” IRl. I will use a command line with arguments like that :

      "call W:\cmd\DoUpdate.cmd /verify /updatecpp /updatetsc /instdotnet4 /autoreboot"
      

      But this command doesnt open a window then for my test i cant see if the command is well launched or not.

      But for the moment my problem is : how mount a samba share with snapin which is usable by administrator user

      posted in FOG Problems
      P
      plegrand
    • RE: snapin and batch script

      @Avaryan it doesn’ works, the share is not mounted at all

      posted in FOG Problems
      P
      plegrand
    • 1
    • 2
    • 5
    • 6
    • 7
    • 8
    • 9
    • 20
    • 21
    • 7 / 21