@Tom-Elliott That’s what i was thinking. Thank you.
Posts
-
RE: Client Updater Loopposted in Bug Reports
@Wayne-Workman It’s set on computer startup. I can’t restart all my network like this… I fixed only a few manually.
-
RE: Client Updater Loopposted in Bug Reports
@Tom-Elliott
I live in loops… lol------------------------------------------------------------------------------ ---------------------------------SnapinClient--------------------------------- ------------------------------------------------------------------------------ 18/12/2015 16:25 Client-Info Version: 0.9.9 18/12/2015 16:25 SnapinClient Running... 18/12/2015 16:25 Middleware::Communication URL: http://fog-server/fog/service/servicemodule-active.php?moduleid=snapinclient&mac=1C:C1:DE:51:16:C1||00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0&newService=1 18/12/2015 16:25 Middleware::Communication Response: Success 18/12/2015 16:25 Middleware::Communication URL: http://fog-server/fog/service/snapins.checkin.php?mac=1C:C1:DE:51:16:C1||00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0&newService=1 18/12/2015 16:25 Middleware::Communication Response: Success 18/12/2015 16:25 SnapinClient Snapin Found: 18/12/2015 16:25 SnapinClient ID: 201 18/12/2015 16:25 SnapinClient RunWith: 18/12/2015 16:25 SnapinClient RunWithArgs: 18/12/2015 16:25 SnapinClient Name: Upgrade Client FOG 18/12/2015 16:25 SnapinClient File: upgradefogclient.bat 18/12/2015 16:25 SnapinClient Created: 2015-12-18 15:21:44 18/12/2015 16:25 SnapinClient Args: 18/12/2015 16:25 SnapinClient Reboot: 0 18/12/2015 16:25 Middleware::Communication URL: http://fog-server/fog/service/snapins.file.php?mac=1C:C1:DE:51:16:C1||00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0&taskid=201 18/12/2015 16:25 Bus { "channel": "Notification", "data": "{\r\n \"title\": \"Upgrade Client FOG\",\r\n \"message\": \"FOG is installing Upgrade Client FOG\",\r\n \"duration\": 10\r\n}" } 18/12/2015 16:25 Bus Emmiting message on channel: Notification 18/12/2015 16:25 SnapinClient Starting snapin... 18/12/2015 16:25 Service Stop requested 18/12/2015 16:25 SnapinClient ERROR: Could not start snapin 18/12/2015 16:25 SnapinClient ERROR: Le thread a été abandonné. 18/12/2015 16:25 Service ERROR: Le thread a été abandonné. 18/12/2015 16:25 Bus { "channel": "Status", "data": "{\r\n \"action\": \"unload\"\r\n}" } 18/12/2015 16:25 Bus Emmiting message on channel: Status 18/12/2015 16:26 RegistryHandler ERROR: Could not retrieve Software\Wow6432Node\FOG\Server 18/12/2015 16:26 RegistryHandler ERROR: Null key 18/12/2015 16:26 RegistryHandler 32 bit registry detected 18/12/2015 16:26 Middleware::Communication URL: http://fog-server/fog/management/other/ca.cert.der 18/12/2015 16:26 Bus Became bus server 18/12/2015 16:26 Bus { "channel": "Status", "data": "{\r\n \"action\": \"load\"\r\n}" } 18/12/2015 16:26 Bus Emmiting message on channel: Status -
RE: Client Updater Loopposted in Bug Reports
@Wayne-Workman If he releases a new version that remove all old version (under 0.9.9) and upgrade the last (0.9.9), won’t it solve my problem ?
Will 0.9.7 client will download a 0.9.9+ version and clean the multiple install ?My current script remove the 3 clients (old, 0.9.7 and 0.9.9) before installing the 0.9.9.
But this is not great since it will do this in loop. -
RE: Client Updater Loopposted in Bug Reports
@Tom-Elliott So a check looking for newer version was forgotten in 0.9.7 install to avoid such install ? Client shouldn’t have been installed if 0.9.9 was already installed.
-
RE: Client Updater Loopposted in Bug Reports
@Tom-Elliott If I understand well, i have kept deloying the 0.9.7 when 0.9.9 was already installed automatically ?
-
RE: Remove Legacy client and replace with latest new client?posted in FOG Problems
@Tom-Elliott How detect that 0.9.9 is seen as 0.9.7 ?
I need help for the code… I am stuck. -
RE: Client Updater Loopposted in Bug Reports
@Tom-Elliott That’s was more for the way to do it that I was looking for. i can’t go on 200 computer to do this manually.
-
RE: Remove Legacy client and replace with latest new client?posted in FOG Problems
@Tom-Elliott Client 0.9.7 doesn’t update itself. That’s the big problem.
-
RE: Client Updater Loopposted in Bug Reports
Bad news removing 0.9.7 when both are listend end to make client is 0.9.7…
I have run :
start /wait wmic product where "Version like '0.9.7' and name like 'FOG Service'" call uninstall /nointeractiveThen :
C:\Windows\system32>wmic product where "name like 'FOG Service'" get Version Version 0.9.9And logs…
------------------------------------------------------------------------------ ---------------------------------SnapinClient--------------------------------- ------------------------------------------------------------------------------ 18/12/2015 10:53 Client-Info Version: 0.9.7 18/12/2015 10:53 SnapinClient Running... 18/12/2015 10:53 Middleware::Communication URL: http://fog-server/fog/service/servicemodule-active.php?moduleid=snapinclient&mac=78:E7:D1:D2:F3:5A||00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0&newService=1 18/12/2015 10:53 Middleware::Communication Response: Success 18/12/2015 10:53 Middleware::Communication URL: http://fog-server/fog/service/snapins.checkin.php?mac=78:E7:D1:D2:F3:5A||00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0&newService=1 18/12/2015 10:53 Middleware::Communication Response: No snapins ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ --------------------------------PrinterManager-------------------------------- ------------------------------------------------------------------------------ 18/12/2015 10:53 Client-Info Version: 0.9.7 18/12/2015 10:53 PrinterManager Running... 18/12/2015 10:53 Middleware::Communication URL: http://fog-server/fog/service/servicemodule-active.php?moduleid=printermanager&mac=78:E7:D1:D2:F3:5A||00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0&newService=1 18/12/2015 10:53 Middleware::Communication Response: Success 18/12/2015 10:53 Middleware::Communication URL: http://fog-server/fog/service/Printers.php?mac=78:E7:D1:D2:F3:5A||00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0&newService=1 18/12/2015 10:53 Middleware::Communication Response: No Printers 18/12/2015 10:53 Middleware::Communication URL: http://fog-server/fog/service/printerlisting.php?newService=1 18/12/2015 10:53 Middleware::Communication Response: No Printers ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ -----------------------------------GreenFOG----------------------------------- ------------------------------------------------------------------------------ 18/12/2015 10:53 Client-Info Version: 0.9.7 18/12/2015 10:53 GreenFOG Running... 18/12/2015 10:53 Middleware::Communication URL: http://fog-server/fog/service/servicemodule-active.php?moduleid=greenfog&mac=78:E7:D1:D2:F3:5A||00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0&newService=1 18/12/2015 10:53 Middleware::Communication Response: Success 18/12/2015 10:53 Middleware::Communication URL: http://fog-server/fog/service/greenfog.php?mac=78:E7:D1:D2:F3:5A||00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0&newService=1 18/12/2015 10:53 Middleware::Communication Response: Success 18/12/2015 10:53 GreenFOG Registered task: 0@0@s ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ ----------------------------------UserTracker--------------------------------- ------------------------------------------------------------------------------ 18/12/2015 10:53 Client-Info Version: 0.9.7 18/12/2015 10:53 UserTracker Running... 18/12/2015 10:53 Middleware::Communication URL: http://fog-server/fog/service/servicemodule-active.php?moduleid=usertracker&mac=78:E7:D1:D2:F3:5A||00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0&newService=1 18/12/2015 10:53 Middleware::Communication Response: Success 18/12/2015 10:53 Middleware::Communication URL: http://fog-server/fog/service/usertracking.report.php?action=login&user=intelhps3vinci\LACHKARM&mac=78:E7:D1:D2:F3:5A||00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0&newService=1 ------------------------------------------------------------------------------ 18/12/2015 10:53 Middleware::Communication URL: http://fog-server/fog/management/index.php?node=client&sub=configure&newService=1 18/12/2015 10:53 Middleware::Communication Response: Success 18/12/2015 10:53 Service Sleeping for 99 seconds ------------------------------------------------------------------------------ ---------------------------------ClientUpdater-------------------------------- ------------------------------------------------------------------------------ 18/12/2015 10:54 Client-Info Version: 0.9.7 18/12/2015 10:54 ClientUpdater Running... 18/12/2015 10:54 Middleware::Communication URL: http://fog-server/fog/service/servicemodule-active.php?moduleid=clientupdater&mac=78:E7:D1:D2:F3:5A||00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0&newService=1 18/12/2015 10:54 Middleware::Communication Response: Success 18/12/2015 10:54 Middleware::Communication URL: http://fog-server/fog/service/getversion.php?client&newService=1 18/12/2015 10:54 Middleware::Communication URL: http://fog-server/fog/client/FOGService.msi 18/12/2015 10:54 Data::RSA ERROR: Could not verify certificate is from CA 18/12/2015 10:54 Data::RSA ERROR: Value cannot be null. Parameter name: certificate 18/12/2015 10:54 ClientUpdater ERROR: Update file is not authentic ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ ----------------------------------TaskReboot---------------------------------- ------------------------------------------------------------------------------ 18/12/2015 10:54 Client-Info Version: 0.9.7 18/12/2015 10:54 TaskReboot Running... 18/12/2015 10:54 Middleware::Communication URL: http://fog-server/fog/service/servicemodule-active.php?moduleid=taskreboot&mac=78:E7:D1:D2:F3:5A||00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0&newService=1 18/12/2015 10:54 Middleware::Communication Response: Success 18/12/2015 10:54 Middleware::Communication URL: http://fog-server/fog/service/jobs.php?mac=78:E7:D1:D2:F3:5A||00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0&newService=1 18/12/2015 10:54 Middleware::Communication Response: No jobs ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ --------------------------------HostnameChanger------------------------------- ------------------------------------------------------------------------------ 18/12/2015 10:54 Client-Info Version: 0.9.7 18/12/2015 10:54 HostnameChanger Running... 18/12/2015 10:54 Middleware::Communication URL: http://fog-server/fog/service/servicemodule-active.php?moduleid=hostnamechanger&mac=78:E7:D1:D2:F3:5A||00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0&newService=1 18/12/2015 10:54 Middleware::Communication Response: Success 18/12/2015 10:54 Middleware::Communication URL: http://fog-server/fog/service/hostname.php?moduleid=hostnamechanger&mac=78:E7:D1:D2:F3:5A||00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0&newService=1 18/12/2015 10:54 Middleware::Communication Response: Success 18/12/2015 10:54 HostnameChanger Checking Hostname 18/12/2015 10:54 HostnameChanger Hostname is correct 18/12/2015 10:54 HostnameChanger Registering host with active directory 18/12/2015 10:54 HostnameChanger Host is already joined to target domain 18/12/2015 10:54 HostnameChanger Activing host with product key ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ ---------------------------------SnapinClient--------------------------------- ------------------------------------------------------------------------------ 18/12/2015 10:54 Client-Info Version: 0.9.7 18/12/2015 10:54 SnapinClient Running... 18/12/2015 10:54 Middleware::Communication URL: http://fog-server/fog/service/servicemodule-active.php?moduleid=snapinclient&mac=78:E7:D1:D2:F3:5A||00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0&newService=1 18/12/2015 10:54 Middleware::Communication Response: Success 18/12/2015 10:54 Middleware::Communication URL: http://fog-server/fog/service/snapins.checkin.php?mac=78:E7:D1:D2:F3:5A||00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0&newService=1 18/12/2015 10:54 Middleware::Communication Response: No snapins ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ --------------------------------PrinterManager-------------------------------- ------------------------------------------------------------------------------ 18/12/2015 10:54 Client-Info Version: 0.9.7 18/12/2015 10:54 PrinterManager Running... 18/12/2015 10:54 Middleware::Communication URL: http://fog-server/fog/service/servicemodule-active.php?moduleid=printermanager&mac=78:E7:D1:D2:F3:5A||00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0&newService=1 18/12/2015 10:54 Middleware::Communication Response: Success 18/12/2015 10:54 Middleware::Communication URL: http://fog-server/fog/service/Printers.php?mac=78:E7:D1:D2:F3:5A||00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0&newService=1 18/12/2015 10:54 Middleware::Communication Response: No Printers 18/12/2015 10:54 Middleware::Communication URL: http://fog-server/fog/service/printerlisting.php?newService=1 18/12/2015 10:54 Middleware::Communication Response: No Printers ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ -----------------------------------GreenFOG----------------------------------- ------------------------------------------------------------------------------ 18/12/2015 10:54 Client-Info Version: 0.9.7 18/12/2015 10:54 GreenFOG Running... 18/12/2015 10:54 Middleware::Communication URL: http://fog-server/fog/service/servicemodule-active.php?moduleid=greenfog&mac=78:E7:D1:D2:F3:5A||00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0&newService=1 18/12/2015 10:54 Middleware::Communication Response: Success 18/12/2015 10:54 Middleware::Communication URL: http://fog-server/fog/service/greenfog.php?mac=78:E7:D1:D2:F3:5A||00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0&newService=1 18/12/2015 10:54 Middleware::Communication Response: Success 18/12/2015 10:54 GreenFOG 0@0@s already scheduled ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ ----------------------------------UserTracker--------------------------------- ------------------------------------------------------------------------------ 18/12/2015 10:54 Client-Info Version: 0.9.7 18/12/2015 10:54 UserTracker Running... 18/12/2015 10:54 Middleware::Communication URL: http://fog-server/fog/service/servicemodule-active.php?moduleid=usertracker&mac=78:E7:D1:D2:F3:5A||00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0&newService=1 18/12/2015 10:54 Middleware::Communication Response: Success ------------------------------------------------------------------------------ 18/12/2015 10:54 Middleware::Communication URL: http://fog-server/fog/management/index.php?node=client&sub=configure&newService=1 18/12/2015 10:54 Middleware::Communication Response: Success 18/12/2015 10:54 Service Sleeping for 74 seconds``` -
Client Updater Loopposted in Bug Reports
Hello,
I think there is something pretty wrong there, no ?

It keeps downloading client from server in loop.

Can I blame someone for making my network a battlefield ?
I had to stop apache2 to end this but that doesn’t give me solution to fix the upgrade on every computer of my network unless going on them to run the 0.9.9 msi manually or remove the 0.9.7.
I even have this when I see 0.9.7 and 0.9.9 on add/remove software panel…Here are the result for having the 2 version installed :
C:\Windows\system32>wmic product where "name like 'FOG Service'" get Version Version 0.9.9 0.9.7And logs of this computer :
18/12/2015 10:47 Data::RSA FOG Server CA cert found 18/12/2015 10:47 Update Helper Starting service... 18/12/2015 10:47 Bus Became bus server 18/12/2015 10:47 Bus { "channel": "Status", "data": "{\r\n \"action\": \"load\"\r\n}" } 18/12/2015 10:47 Bus Emmiting message on channel: Status ------------------------------------------------------------------------------ --------------------------------Authentication-------------------------------- ------------------------------------------------------------------------------ 18/12/2015 10:47 Client-Info Version: 0.9.7 18/12/2015 10:47 Middleware::Communication URL: http://fog-server/fog/management/other/ssl/srvpublic.crt 18/12/2015 10:47 Data::RSA FOG Server CA cert found 18/12/2015 10:47 Middleware::Authentication Cert OK 18/12/2015 10:47 Middleware::Communication POST URL: http://fog-server/fog/management/index.php?sub=authorize 18/12/2015 10:47 Middleware::Communication Response: Success 18/12/2015 10:47 Middleware::Authentication Authenticated 18/12/2015 10:47 Bus Registering ParseBus in channel Power ------------------------------------------------------------------------------ ---------------------------------ClientUpdater-------------------------------- ------------------------------------------------------------------------------ 18/12/2015 10:47 Client-Info Version: 0.9.7 18/12/2015 10:47 ClientUpdater Running... 18/12/2015 10:47 Middleware::Communication URL: http://fog-server/fog/service/servicemodule-active.php?moduleid=clientupdater&mac=78:E7:D1:D2:F3:5A||00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0&newService=1 18/12/2015 10:47 Middleware::Communication Response: Success 18/12/2015 10:47 Middleware::Communication URL: http://fog-server/fog/service/getversion.php?client&newService=1 18/12/2015 10:47 Middleware::Communication URL: http://fog-server/fog/client/FOGService.msi 18/12/2015 10:47 Data::RSA FOG Project cert found 18/12/2015 10:47 ClientUpdater Update file is authentic ------------------------------------------------------------------------------ 18/12/2015 10:47 Bus { "channel": "Update", "data": "{\r\n \"action\": \"start\"\r\n}" } 18/12/2015 10:47 Bus Emmiting message on channel: Update 18/12/2015 10:47 Service-Update Spawning update helper 18/12/2015 10:47 Bus Registering ParseBus in channel Power 18/12/2015 10:47 Update Helper Shutting down service... 18/12/2015 10:47 Service Stop requested 18/12/2015 10:47 Bus { "channel": "Status", "data": "{\r\n \"action\": \"unload\"\r\n}" } 18/12/2015 10:47 Bus Emmiting message on channel: Status 18/12/2015 10:47 Update Helper Killing remaining FOG processes... 18/12/2015 10:47 Update Helper Applying MSI... 18/12/2015 10:47 Update Helper --> msiexec /i "C:\Program Files\FOG\tmp\FOGService.msi" /quiet USETRAY="1" HTTPS="0" WEBADDRESS="fog-server" WEBROOT="/fog" ROOTLOG="1" 18/12/2015 10:47 Data::RSA FOG Server CA cert found 18/12/2015 10:47 Update Helper Starting service... 18/12/2015 10:47 Bus Became bus server 18/12/2015 10:47 Bus { "channel": "Status", "data": "{\r\n \"action\": \"load\"\r\n}" } 18/12/2015 10:47 Bus Emmiting message on channel: Status ------------------------------------------------------------------------------ --------------------------------Authentication-------------------------------- ------------------------------------------------------------------------------ 18/12/2015 10:47 Client-Info Version: 0.9.7 18/12/2015 10:47 Middleware::Communication URL: http://fog-server/fog/management/other/ssl/srvpublic.crt 18/12/2015 10:47 Data::RSA FOG Server CA cert found 18/12/2015 10:47 Middleware::Authentication Cert OK 18/12/2015 10:47 Middleware::Communication POST URL: http://fog-server/fog/management/index.php?sub=authorize 18/12/2015 10:47 Middleware::Communication Response: Success 18/12/2015 10:47 Middleware::Authentication Authenticated 18/12/2015 10:47 Bus Registering ParseBus in channel Power ------------------------------------------------------------------------------ ---------------------------------ClientUpdater-------------------------------- ------------------------------------------------------------------------------ 18/12/2015 10:47 Client-Info Version: 0.9.7 18/12/2015 10:47 ClientUpdater Running... 18/12/2015 10:47 Middleware::Communication URL: http://fog-server/fog/service/servicemodule-active.php?moduleid=clientupdater&mac=78:E7:D1:D2:F3:5A||00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0&newService=1 18/12/2015 10:47 Middleware::Communication Response: Success 18/12/2015 10:47 Middleware::Communication URL: http://fog-server/fog/service/getversion.php?client&newService=1 18/12/2015 10:47 Middleware::Communication URL: http://fog-server/fog/client/FOGService.msi 18/12/2015 10:47 Data::RSA FOG Project cert found 18/12/2015 10:47 ClientUpdater Update file is authentic ------------------------------------------------------------------------------ 18/12/2015 10:47 Bus { "channel": "Update", "data": "{\r\n \"action\": \"start\"\r\n}" } 18/12/2015 10:47 Bus Emmiting message on channel: Update 18/12/2015 10:47 Service-Update Spawning update helper 18/12/2015 10:48 Bus Registering ParseBus in channel Power 18/12/2015 10:48 Update Helper Shutting down service... 18/12/2015 10:48 Service Stop requested 18/12/2015 10:48 Bus { "channel": "Status", "data": "{\r\n \"action\": \"unload\"\r\n}" } 18/12/2015 10:48 Bus Emmiting message on channel: Status 18/12/2015 10:48 Update Helper Killing remaining FOG processes... 18/12/2015 10:48 Update Helper Applying MSI... 18/12/2015 10:48 Update Helper --> msiexec /i "C:\Program Files\FOG\tmp\FOGService.msi" /quiet USETRAY="1" HTTPS="0" WEBADDRESS="fog-server" WEBROOT="/fog" ROOTLOG="1" 18/12/2015 10:48 Data::RSA FOG Server CA cert found 18/12/2015 10:48 Update Helper Starting service... 18/12/2015 10:48 Bus Became bus server 18/12/2015 10:48 Bus { "channel": "Status", "data": "{\r\n \"action\": \"load\"\r\n}" } 18/12/2015 10:48 Bus Emmiting message on channel: Status ------------------------------------------------------------------------------ --------------------------------Authentication-------------------------------- ------------------------------------------------------------------------------ 18/12/2015 10:48 Client-Info Version: 0.9.7 18/12/2015 10:48 Middleware::Communication URL: http://fog-server/fog/management/other/ssl/srvpublic.crt -
RE: Remove Legacy client and replace with latest new client?posted in FOG Problems
@Wayne-Workman Upgrading to 0.9.7 was a very bad idea ! lol
https://forums.fogproject.org/topic/6368/client-updater-loopNow i need to review the script to remove 0.9.7 and 0.9.9 is both are installed…
Any idea how to do this ?I temporary did this since i have no other choice :
::v3.2 - Thanks to Wayne Workman, Robza start /wait wmic product where "Version like '0.9.7' and name like 'FOG Service'" call uninstall /nointeractive start /wait wmic product where "Version like '0.9.9' and name like 'FOG Service'" call uninstall /nointeractive set programpath=%programfiles(x86)% IF %PROCESSOR_ARCHITECTURE%==x86 set programpath=%programfiles% IF EXIST "%programpath%\FOG\fog.ca.cer" GOTO END set FogServerIP=fog-server start /wait wmic product where "Version like '3.0.29' and name like 'FOG Service'" call uninstall /nointeractive start /wait bitsadmin /transfer FOGService /download /priority normal http://%FogServerIP%/fog/client/FOGService.msi %temp%\FOGService.msi start /wait msiexec /i %temp%\FOGService.msi /quiet WEBADDRESS="%FogServerIP%" :END -
RE: Upgrade client from 0.9.7 to 0.9.9posted in Bug Reports
@Jbob I was using script with msiexec in GPO but not directly using software installation.
-
RE: Reboot made by wmiprvse.exe during first boot after sysprepposted in Windows Problems
@FlowLive
It was fog client that was calling the reboot.
I just disable it before sysprep and enable it in script.I set most of it in a script in a smb share called by SetupComplete.cmd to not have to edit my image but be able to enhance it.
It works great and I use this script to do the most of task needed after deploy : drivers, windows activation and few basic software installation.
I even tested and validated it under Windows 10 few days ago.Days of work that finally pay back.

SetupComplete.cmd
@echo off echo %date% %time% Demarrage du script SetupComplete >> C:\imageresults.txt 2>&1 del /Q /F %windir%\system32\sysprep\unattend.xml >> C:\imageresults.txt 2>&1 del /Q /F %windir%\panther\unattend.xml >> C:\imageresults.txt 2>&1 echo %date% %time% Attente de 60 secondes pour activation du LAN >> C:\imageresults.txt 2>&1 timeout /t 60 /nobreak >> C:\imageresults.txt 2>&1 echo %date% %time% Fin des 60s >> C:\imageresults.txt 2>&1 echo %date% %time% Montage du partage samba de fog >> C:\imageresults.txt 2>&1 NET USE z: \\fogserver\AfterDeploy echo %date% %time% Net use effectué >> C:\imageresults.txt 2>&1 Z: if not %cd% == Z:\ goto nofog echo %date% %time% Dossier actuel %cd% >> C:\imageresults.txt 2>&1 echo %date% %time% Chargement du script AfterDeploy >> C:\imageresults.txt 2>&1 start /wait AfterDeploy.cmd C: NET USE /delete /yes Z: echo %date% %time% Lecteur Z demonte >> C:\imageresults.txt 2>&1 :nofog ::echo %date% %time% Activation Windows >> C:\imageresults.txt 2>&1 ::cscript C:\Windows\system32\slmgr.vbs /ato >> C:\imageresults.txt 2>&1 echo Activation du service FOG en demarrage automatique >> C:\imageresults.txt sc config "FOG Service" start= auto >> C:\imageresults.txt 2>&1 net start "FOG Service" >> C:\imageresults.txt 2>&1 shutdown -r -t 30 echo %date% %time% Reboot >> C:\imageresults.txt 2>&1 exitAfterDeploy.cmd
echo %date% %time% - Script AfterDeploy - Changement de dossier : %cd% >> C:\imageresults.txt 2>&1 cd /SDI echo %date% %time% - Script AfterDeploy - Lancement de SDI >> C:\imageresults.txt 2>&1 IF %cd% == Z:\SDI start /wait SDI_auto.bat -autoinstall -nologfile -autoclose -license echo %date% %time% - Script AfterDeploy - Fin script SDI >> C:\imageresults.txt 2>&1 cd .. cd /ActivationWin7 echo %date% %time% - Script AfterDeploy - Lancement de Activation OEM Windows >> C:\imageresults.txt 2>&1 cscript ActivationWin7.vbs echo %date% %time% - Script AfterDeploy - Fin script activation >> C:\imageresults.txt 2>&1 cd .. echo %date% %time% - Script AfterDeploy - Modification pour désactiver AutoAdminLogon REG ADD "HKLM\Software\Microsoft\Windows NT\CurrentVersion\Winlogon" /v AutoAdminLogon /t REG_SZ /d 0 /f echo %date% %time% - Script AfterDeploy - Modification registre effectuée cd /Logiciels echo %date% %time% - Script AfterDeploy - Lancement Install logiciels>> C:\imageresults.txt 2>&1 cscript Logiciels.vbs echo %date% %time% - Script AfterDeploy - Fin Install logiciels >> C:\imageresults.txt 2>&1 cd .. cd /IACA echo %date% %time% - Script AfterDeploy - Lancement de Auto Install IACA >> C:\imageresults.txt 2>&1 Auto_Install_Client.exe /NOREBOOT /YES /AM=N echo %date% %time% - Script AfterDeploy - Fin Auto Install IACA >> C:\imageresults.txt 2>&1 cd .. echo %date% %time% - Script AfterDeploy - Fermeture de script AfterDeploy.cmd >> C:\imageresults.txt 2>&1 exit -
RE: Remove Legacy client and replace with latest new client?posted in FOG Problems
@Wayne-Workman https://forums.fogproject.org/topic/6353/upgrade-client-from-0-9-7-to-0-9-9/3
I don’t know yet how it happened I don’t have this on every host.
Maybe I am just unlucky. lol -
Upgrade client from 0.9.7 to 0.9.9posted in Bug Reports
Hello,
I just find out that i have 2 “Fog Service” installation in add/remove software panel on some computer. One line for 0.9.7 and one other for 0.9.9.
I can remove the 0.9.7 manually without impacting the 0.9.9.Should I run script to remove the 0.9.7 via GPO or will this be fixed and installing new client will remove all version of the client in the list ?
Thank you.
-
RE: Remove Legacy client and replace with latest new client?posted in FOG Problems
Here is the new version using robza command for removing the old client that makes.
We reduce a bit the size of the script this way and I just realized that one IF was useless.
I hope I didn’t miss something because I am putting it in GPO ! lol::v3.1 - Thanks to Wayne Workman, Robza set programpath=%programfiles(x86)% IF %PROCESSOR_ARCHITECTURE%==x86 set programpath=%programfiles% IF EXIST "%programpath%\FOG\fog.ca.cer" GOTO END set FogServerIP=fog-server start /wait wmic product where "Version like '3.0.29' and name like 'FOG Service'" call uninstall /nointeractive start /wait bitsadmin /transfer FOGService /download /priority normal http://%FogServerIP%/fog/client/FOGService.msi %temp%\FOGService.msi start /wait msiexec /i %temp%\FOGService.msi /quiet WEBADDRESS="%FogServerIP%" :ENDJust found a bug on my side.
Client 0.9.9 doesn’t remove or upgrade version 0.9.7 and I end with 2 “FOG Service” in add/remove software panel.
Removing the 0.9.7 doesn’t impact the install of the 0.9.9.
Maybe it’s something to add to script.