What could cause Fog client not working?
-
I have fog server v1.5.10 and have fog installed on my win11 machines that I imaged with fog. (fogclient is installed before sysprep)
Now I have installed windows 11 with unattend.xml generated from https://schneegans.de/windows/unattend-generator/ however when I deploy the image windows through fog server the fog client doesnt seem to be either renaiming pc, or joining with domain (even though I have configured them in fog)
When I rename a windows 11 pc that has fog client installed (confirmed that the ip address entered during fogclient installation is correct and pingable, also tried disabling windows firewall just in case)Also it seems that it is not saving anything in the log file of c:\fog.txt
Any ideas what could be the issue? I have tested to renamed a win10 computer through fog and it worked, so the issue is in the win 11 installation or unattend.
-
I had a similar problem. For each PC I had to manually enable Join Domain after deploy and also Name change/AD Join Force reboot in management -> Active Directory. I had everything turned on in FOG configuration -> FOG settings, the settings didn’t work anyway. That’s why I wrote my own script that renames the PC via the FOG API, turns on adding to the domain and forces a force reboot. So far this is the only method that has worked for me to automatically install PCs, rename them and add them to AD.
-
I tried doing the installatio via usb using the unattended and then installed fog and it worked it automatically changed the name of the pc.
I then tried using fog again to deploy the image however with the clean up script (even though I am not using copy profile however still am getting same issue S
REM "C:\Windows\Setup\Scripts\SetupComplete.cmd is executed as final step of coming out of Sysprep under SYSTEM account" REM "Clean up problems caused by using COPYPROFILE=TRUE" rd /s /q "C:\Users\Administrator\AppData\Local\Microsoft\Windows\WebCache" rd /s /q "C:\Users\Administrator\AppData\Local\Microsoft\Windows\INetCache" del /f /q /a:sh "C:\Users\Administrator\AppData\Local\Microsoft\Windows\WebCacheLock.dat" rd /s /q "C:\Users\Default\AppData\Local\Microsoft\Windows\WebCache" rd /s /q "C:\Users\Default\AppData\Local\Microsoft\Windows\INetCache" del /f /q /a:sh "C:\Users\Default\AppData\Local\Microsoft\Windows\WebCacheLock.dat" sc config FOGService start= auto shutdown -t 0 -r
-
seems to have sorted my issue, there is an update to the fog client, I had previously version 0.12, installed 0.13 and seems to be working ok now.