Windows FOG client does not always restart the computer post successful snap-in install



  • This only happens about 15% of the time…

    After the Kaspersky AV snapin completes successfully, the FOG service returns an error, says it will try again in 5 minutes but it never updates the log file again. I am including a snipit:

    ------------------------------------------------------------------------------
    ---------------------------------SnapinClient---------------------------------
    ------------------------------------------------------------------------------
     5/4/2018 10:15 AM Client-Info Client Version: 0.11.15
     5/4/2018 10:15 AM Client-Info Client OS:      Windows
     5/4/2018 10:15 AM Client-Info Server Version: 1.4.4
     5/4/2018 10:15 AM Middleware::Response Success
     5/4/2018 10:15 AM SnapinClient Running snapin 1410 (ALL) OpenDNS Client
     5/4/2018 10:15 AM Middleware::Communication Download: http://xx.xx.xx.xxx/fog/ser
    vice/snapins.file.php?mac=BC:AE:C5:E5:70:93||00:00:00:00:00:00:00:E0&taskid=2488
    
     5/4/2018 10:15 AM SnapinClient C:\Program Files (x86)\FOG\tmp\OpenDNS.zip
     5/4/2018 10:15 AM SnapinClient Processing SnapinPack OpenDNS.zip
     5/4/2018 10:15 AM SnapinClient Extracting SnapinPack
     5/4/2018 10:15 AM Bus Emmiting message on channel: Notification
     5/4/2018 10:15 AM SnapinClient Starting snapin
     5/4/2018 10:15 AM SnapinClient Snapin finished
     5/4/2018 10:15 AM SnapinClient Return Code: 0
     5/4/2018 10:15 AM Bus Emmiting message on channel: Notification
     5/4/2018 10:15 AM Middleware::Communication URL: http://xx.xx.xx.xxx/fog/service/
    snapins.checkin.php?taskid=2488&exitcode=0&mac=BC:AE:C5:E5:70:93||00:00:00:00:00
    :00:00:E0&newService&json
     5/4/2018 10:15 AM SnapinClient Running snapin 1411 (ALL) KES-10SP2MR1
     5/4/2018 10:15 AM Middleware::Communication Download: http://xx.xx.xx.xxx/fog/ser
    vice/snapins.file.php?mac=BC:AE:C5:E5:70:93||00:00:00:00:00:00:00:E0&taskid=2489
    
     5/4/2018 10:21 AM SnapinClient C:\Program Files (x86)\FOG\tmp\KES-10SP2MR1.zip
     5/4/2018 10:21 AM SnapinClient Processing SnapinPack KES-10SP2MR1.zip
     5/4/2018 10:21 AM SnapinClient Extracting SnapinPack
     5/4/2018 10:21 AM Bus Emmiting message on channel: Notification
     5/4/2018 10:21 AM SnapinClient Starting snapin
     5/4/2018 10:25 AM SnapinClient Snapin finished
     5/4/2018 10:25 AM SnapinClient Return Code: 0
     5/4/2018 10:25 AM Bus Emmiting message on channel: Notification
     5/4/2018 10:25 AM Middleware::Communication URL: http://xx.xx.xx.xxx/fog/service/
    snapins.checkin.php?taskid=2489&exitcode=0&mac=BC:AE:C5:E5:70:93||00:00:00:00:00
    :00:00:E0&newService&json
     5/4/2018 10:25 AM Power Creating shutdown request
     5/4/2018 10:25 AM Power Parameters: /r /c "Snapin requested restart" /t 0
     5/4/2018 10:25 AM Bus Emmiting message on channel: Power
     5/4/2018 10:25 AM Power Attempt 1/6 to shutdown computer
     5/4/2018 10:25 AM Power --> API call returned 1, will re-attempt in 5 minutes
    

    This is the end of the log. I copied this out of the log 30 minute later and no more entries were created. The snap-in is removed from the task list as if it completed successfully but never restarts. A remote reboot (shutdown -r -f -t 0 -m \computername) restarts the machine and the last snap-in continues normally.



  • @joe-schmitt Yes. Kaspersky starts when the snap-in finishes.

    Sometimes the FOG Client will crash on other snap-ins, but setting the service to automatically restart fixes that issue. This is the only snap-in that does not always reboot after it is completed. I’ll play around with it, maybe adding a wait-time after Kaspersky is installed to let it do whatever it needs to will help.


  • Senior Developer

    @dsloan-ethra is Kaspersky AV started once as the Snapin Pack finishes? I’m thinking this may be AV related.



  • @joe-schmitt Windows 7 Pro SP1


  • Senior Developer

    @dsloan-ethra what build of Windows are the systems running? (E.g Windows 10 1709)


 

474
Online

41.7k
Users

12.2k
Topics

115.2k
Posts