Legacy Client Snapins seem to not work anymore - r4571



  • I’ve restarted also since creating & deploying the snapin. Not sure what’s going wrong or if I’m doing something wrong.

     9/8/2015 10:31 AM FOG::PrinterManager Major printing operations complete, moving to tracking mode.
     9/8/2015 10:31 AM FOG::PrinterManager New user detected: MB\workman.wayne
     9/8/2015 10:31 AM FOG::PrinterManager Waiting for tray to load...
     9/8/2015 10:31 AM FOG::DirCleaner Starting directory cleaning process...
     9/8/2015 10:31 AM FOG::DirCleaner Attempting to connect to fog server...
     9/8/2015 10:31 AM FOG::DirCleaner Module is active...
     9/8/2015 10:31 AM FOG::DirCleaner Determining which directories should be cleaned...
     9/8/2015 10:31 AM FOG::DirCleaner 1 directories located
     9/8/2015 10:31 AM FOG::DirCleaner Starting directory cleaning loop...
     9/8/2015 10:32 AM FOG::MODDebug Reading config settings...
     9/8/2015 10:32 AM FOG::MODDebug Reading of config settings passed.
     9/8/2015 10:32 AM FOG::MODDebug Starting Core processing...
     9/8/2015 10:32 AM FOG::MODDebug Operating System ID: 6
     9/8/2015 10:32 AM FOG::MODDebug Operating System Minor: 1
     9/8/2015 10:32 AM FOG::MODDebug MAC ID 0 90:B1:1C:98:03:8C
     9/8/2015 10:32 AM FOG::MODDebug MAC POST String: 90:B1:1C:98:03:8C
     9/8/2015 10:32 AM FOG::MODDebug A user is currently logged in
     9/8/2015 10:32 AM FOG::MODDebug Username: MB\workman.wayne
     9/8/2015 10:32 AM FOG::MODDebug Hostname: R0219508713WDMB
     9/8/2015 10:32 AM FOG::MODDebug Attempting to open connect to: http://10.2.1.11/fog/service/debug.php
     9/8/2015 10:32 AM FOG::MODDebug Server responded with: Hello FOG Client
     9/8/2015 10:32 AM FOG::MODDebug Module has finished work and will now exit.
    

    upload-40ffd3b2-1679-4256-a3ae-5e66847ce6d5

    upload-0c296a40-1a3f-4a93-824a-f1a13f68c831



  • Ok so basically I royally screwed up my attempt at this lol…

    Thank you everyone! I will try again!


  • Senior Developer

    @Wayne-Workman

    @Matthieu-Jacquart is dead on, one way to think of it is:

    {Snapin Run With} {Snapin Run With Argument} {SNAPIN} {Snapin Arguments}

    So if you were to execute an msi via cmd, you would do:

    msiexec /i MSI_NAME /quiet
    

    This would break down into:
    Snapin Run With: msiexec
    Snapin Run With Argument: /i
    Snapin File: The MSI
    Snapin Arguments : /quiet


  • Developer

    this is old and a very small sample of what can be done, but it does provide examples what each of the settings are for https://wiki.fogproject.org/wiki/index.php/Supported_Snapin's_and_Command_Line_Switches



  • For example :

    Snapin Run With : c:\windows\system32\cmd.exe
    Snapin Run With Argument : /c

    Or

    Snapin Run With : msiexec.exe
    Snapin Run With Argument : /i



  • @Developers @Moderators

    So what’s the difference between

    Snapin Run With
    and
    Snapin Run With Argument

    ???



  • And I’m seeing this stuff in my log… and it won’t go away after a reboot.

    fog.log



  • Ok so the FOG web UI is removing my double back slashes and leaving just one backslash… that won’t work.

    See the very short video below.
    4.mp4



  • Aparently I’m impatient…

    9/8/2015 10:37 AM FOG::SnapinClient Attempting to connect to fog server...
     9/8/2015 10:37 AM FOG::SnapinClient Module is active...
     9/8/2015 10:37 AM FOG::SnapinClient Snapin Found: 
     9/8/2015 10:37 AM FOG::SnapinClient     ID: 1748
     9/8/2015 10:37 AM FOG::SnapinClient     RunWith: 
     9/8/2015 10:37 AM FOG::SnapinClient     RunWithArgs:  /s /L \\10.2.1.5\logs$\Java\%computername%.log
     9/8/2015 10:37 AM FOG::SnapinClient     Name: Java_8u60
     9/8/2015 10:37 AM FOG::SnapinClient     Created: 2015-09-08 09:28:59
     9/8/2015 10:37 AM FOG::SnapinClient     Args: 
     9/8/2015 10:37 AM FOG::SnapinClient     Reboot: No
     9/8/2015 10:37 AM FOG::SnapinClient Starting FOG Snapin Download
     9/8/2015 10:37 AM FOG::SnapinClient Download complete.
     9/8/2015 10:37 AM FOG::SnapinClient Starting FOG Snapin Installation.
    

 

340
Online

41.8k
Users

12.3k
Topics

116.0k
Posts