• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. dejv
    3. Posts
    D
    • Profile
    • Following 0
    • Followers 0
    • Topics 9
    • Posts 44
    • Best 3
    • Controversial 0
    • Groups 0

    Posts made by dejv

    • Windows server 2008 virtual to physical

      I have an old hyperv vm that was running win server 2008 that hasnt been switched on for quite a while, I switched it on and it works ok however I need to put the vm on a laptop to give it to a user to be able to access some old data without connecting it to the network.

      option 1 - I tried installing windows 10 and hyperv on the laptop however the laptop doesnt support hyperv platform Tried on a dell vostro 15 and latitude 5490 (both with virtualization in bios enabled)

      05b42bbb-ce6a-4f51-8515-865342e9143f-image.png

      option2: backup server using fog and deploy directly to laptop (this would be the best option) did this however laptop is not booting black screen and getting “selected boot device failed”

      I tried disabling secure boot and putting the laptop on legacy mode.

      is there any options from fog maybe it will sort of generalize the image?

      posted in FOG Problems
      D
      dejv
    • Snapin script running silent

      I got 2 snapins (batch files) that run in the when computer is imaged using fog snapin, is there a way that they run with the window open instead of silent (in the backround)

      Script1
      ed523eff-e496-4b70-b8da-3b1f518be9fa-image.png

      @"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"
      
      choco feature enable -n allowGlobalConfirmation
      choco upgrade chocolatey
      
      
      choco install VLC
      choco install googlechrome
      choco install 7zip
      choco install notepadplusplus
      choco install office365business
      
      posted in FOG Problems
      D
      dejv
    • RE: What could cause Fog client not working?

      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.

      posted in FOG Problems
      D
      dejv
    • RE: What could cause Fog client not working?

      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
      
      posted in FOG Problems
      D
      dejv
    • 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.

      posted in FOG Problems
      D
      dejv
    • Windows 11 going into auto repair mode.

      I am having an issue with windows 11 going into repair mode and am soon going to give up as I havent found a soltuion yet and have been trying a lot of different ideas however all ended up the same, either after encrypting the hard disk I reboot the pc and then issue occurs or now I am noticing that issue is happening also when I run windows updates after a reboot this happens.

      I never had these kind of issues when I did the implementation of win 7 to 10 few years back with FOG and have been imaging win10 machines since then with FOG and found it great.

      [EDIT] I removed the hard disk and connected it to another computer to read the log however the folder was missing so there is no log to check whats the issue 😕
      2d3119c0-da72-46ed-affa-07da04a7ff17-image.png

      I install win11 on hyperv (tried also installing on an old esxi 7.0)then go into audit mode do all windows updates, just the windows updates and then run sysprep with the below command to use the unattend file (I tested the unattend file using usb to do the installation and it worked so that eliminates the unattend.xml of causing the issue.

      @echo off
      cd c:\windows\system32\sysprep
      sysprep.exe /generalize /oobe /shutdown /unattend:C:\Sysprep\unattend.xml
      

      83b6cda1-de55-40fc-8dfe-49be3bd3c81b-image.png

      Then I would backup the image to fog by disabling the secure boot on the virtual machine

      2cb4cda2-fcd6-46e9-9242-b42ea8282d26-image.png
      a6a94c77-b712-46c5-9f9a-1e7448f25901-image.png

      Then I would deploy it on the computer (with secure boot switched off as to be able to boot from the network,
      Issue happens both if computer is joined to domain or not
      Till now I tried it on Dell optiplex 3060 and Dell vostro 3510 both are getting same issue.

      Any ideas as I am soon giving up and will end up doing them with usb and unattend 😕

      posted in Windows Problems
      D
      dejv
    • RE: Win11 unattend.xml

      joining pc to domain and logging into the domain account seems to have brought the settings.

      posted in Windows Problems
      D
      dejv
    • RE: HyperV / Win 11 /Fog

      @sideone said in HyperV / Win 11 /Fog:

      @dejv Ah, came here to say secure boot! Nice one.

      Thanks @Tom-Elliott and @sideone for your replies 🙂

      posted in General Problems
      D
      dejv
    • RE: HyperV / Win 11 /Fog

      issue seems to be sorted … secure boot was enabled 😛

      thanks for your reply anyway 🙂

      posted in General Problems
      D
      dejv
    • RE: HyperV / Win 11 /Fog

      @Tom-Elliott said in HyperV / Win 11 /Fog:

      snponly.efi

      I tried with the snpoly.efi however still got same issue

      4aa51ffa-4fea-4103-b7e0-84054b2f279c-image.png

      05396d3b-365e-4ff8-87ec-d140c2ccbec7-image.png

      posted in General Problems
      D
      dejv
    • RE: HyperV / Win 11 /Fog

      @Tom-Elliott said in HyperV / Win 11 /Fog:

      @dejv Please try using snponly.efi instead of ipxe.efi?

      What version of fog are you using?

      Your version of FOG is up to date.
      You’re running the latest stable version: 1.5.10

      posted in General Problems
      D
      dejv
    • HyperV / Win 11 /Fog

      Previously I used to have a golden image on esxi using win 10 where I would get the image ready in audit mode and then I do sysprep and then turn it of.

      Login to Fog server and select to capture image, I switch on the golden image and it is captured into fog and from there I can deploy the image on the other workstations.

      My issue is that I recently moved to hyperv and am trying to get this to work on win11 however when loading the below the golden image continues booting it is not entering the fog capturing
      Any ideas ?

      0ed20c3c-b947-48fb-b7e6-fd4f2eae28dc-image.png

      posted in General Problems
      D
      dejv
    • RE: Fog not loading after ubuntu updates

      @dejv changed php version as you instructed, redownloaded latest version, installed and is working ok thanks a lot 😉

      posted in Linux Problems
      D
      dejv
    • RE: Fog not loading after ubuntu updates

      I have a server snapshot before the upgrade, I think I will revert back to it and then when it is nearly out of support will backup everything and do a fresh os installation

      @Tom-Elliott

      Aww 08 15:43:13 fog systemd[1]: FOGImageSize.service: Main process exited, code=exited, status=255/EXCEPTION
      ░░ Subject: Unit process exited
      ░░ Defined-By: systemd
      ░░ Support: http://www.ubuntu.com/support
      ░░
      ░░ An ExecStart= process belonging to unit FOGImageSize.service has exited.
      ░░
      ░░ The process’ exit code is ‘exited’ and its exit status is 255.
      Aww 08 15:43:13 fog systemd[1]: FOGImageSize.service: Failed with result ‘exit-code’.
      ░░ Subject: Unit failed
      ░░ Defined-By: systemd
      ░░ Support: http://www.ubuntu.com/support
      ░░
      ░░ The unit FOGImageSize.service has entered the ‘failed’ state with result ‘exit-code’.
      Aww 08 15:43:13 fog systemd[1]: FOGMulticastManager.service: Main process exited, code=exited, status=255/EXCEPTION
      ░░ Subject: Unit process exited
      ░░ Defined-By: systemd
      ░░ Support: http://www.ubuntu.com/support
      ░░
      ░░ An ExecStart= process belonging to unit FOGMulticastManager.service has exited.
      ░░
      ░░ The process’ exit code is ‘exited’ and its exit status is 255.
      Aww 08 15:43:13 fog systemd[1]: FOGMulticastManager.service: Failed with result ‘exit-code’.
      ░░ Subject: Unit failed
      ░░ Defined-By: systemd
      ░░ Support: http://www.ubuntu.com/support
      ░░
      ░░ The unit FOGMulticastManager.service has entered the ‘failed’ state with result ‘exit-code’.
      Aww 08 15:43:13 fog systemd[1]: FOGScheduler.service: Main process exited, code=exited, status=255/EXCEPTION
      ░░ Subject: Unit process exited
      ░░ Defined-By: systemd
      ░░ Support: http://www.ubuntu.com/support
      ░░
      ░░ An ExecStart= process belonging to unit FOGScheduler.service has exited.
      ░░
      ░░ The process’ exit code is ‘exited’ and its exit status is 255.
      Aww 08 15:43:13 fog systemd[1]: FOGScheduler.service: Failed with result ‘exit-code’.
      ░░ Subject: Unit failed
      ░░ Defined-By: systemd
      ░░ Support: http://www.ubuntu.com/support
      ░░
      ░░ The unit FOGScheduler.service has entered the ‘failed’ state with result ‘exit-code’.
      Aww 08 15:43:13 fog systemd[1]: FOGSnapinReplicator.service: Main process exited, code=exited, status=255/EXCEPTION
      ░░ Subject: Unit process exited
      ░░ Defined-By: systemd
      ░░ Support: http://www.ubuntu.com/support
      ░░
      ░░ An ExecStart= process belonging to unit FOGSnapinReplicator.service has exited.
      ░░
      ░░ The process’ exit code is ‘exited’ and its exit status is 255.
      Aww 08 15:43:13 fog systemd[1]: FOGSnapinReplicator.service: Failed with result ‘exit-code’.
      ░░ Subject: Unit failed
      ░░ Defined-By: systemd
      ░░ Support: http://www.ubuntu.com/support
      ░░
      ░░ The unit FOGSnapinReplicator.service has entered the ‘failed’ state with result ‘exit-code’.
      lines 3405-3460/3460 (END)

      posted in Linux Problems
      D
      dejv
    • RE: Fog not loading after ubuntu updates

      Also when running

      sudo apachectl configtest

      I was getting :
      fog apachectl[941]: AH00558: apache2: Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1. Set the ‘ServerName’ directive globally to suppress this message

      So had to add the below command
      sudo nano /etc/httpd/conf/httpd.conf
      and added : ServerName 127.0.0.1

      root@fog:~# sudo apachectl configtest
      Syntax OK

      Now am getting :

      Service Unavailable
      The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.

      Apache/2.4.52 (Ubuntu) Server at 192.168.0.58 Port 80

      posted in Linux Problems
      D
      dejv
    • RE: Fog not loading after ubuntu updates

      I performed the below commands and now

      sudo a2dismod php7.4
      sudo a2enmod php8.1
      systemctl restart apache2

      and now on the web I am getting:

      Service Unavailable
      The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.

      Apache/2.4.52 (Ubuntu) Server at 192.168.0.58 Port 80

      posted in Linux Problems
      D
      dejv
    • RE: Fog not loading after ubuntu updates

      @Tom-Elliott seems to be an apache related issue :s tried starting it manually and am getting the below error

      root@fog:~# systemctl status apache2.service
      × apache2.service - The Apache HTTP Server
      Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)
      Active: failed (Result: exit-code) since Tue 2023-08-08 12:40:08 CEST; 15s ago
      Docs: https://httpd.apache.org/docs/2.4/
      Process: 104535 ExecStart=/usr/sbin/apachectl start (code=exited, status=1/FAILURE)
      CPU: 120ms

      Aww 08 12:40:07 fog systemd[1]: Starting The Apache HTTP Server…
      Aww 08 12:40:08 fog apachectl[104538]: apache2: Syntax error on line 146 of /etc/apache2/apache2.conf: Syntax error on line 3 of /etc/apache2/mods-enabled/php7.4.load: Cannot load /usr/lib/apache2/modules/libphp>
      Aww 08 12:40:08 fog apachectl[104535]: Action ‘start’ failed.
      Aww 08 12:40:08 fog apachectl[104535]: The Apache error log may have more information.
      Aww 08 12:40:08 fog systemd[1]: apache2.service: Control process exited, code=exited, status=1/FAILURE
      Aww 08 12:40:08 fog systemd[1]: apache2.service: Failed with result ‘exit-code’.
      Aww 08 12:40:08 fog systemd[1]: Failed to start The Apache HTTP Server.

      posted in Linux Problems
      D
      dejv
    • RE: Fog not loading after ubuntu updates

      Hey, issues again, yesterday I updated my ubuntu version from 20.04.6lts to 22.04.2lts however now fog is not loading :S

      I checked and apache seems to be running :S any ideas

      55b555f8-47b4-4f75-af79-bac66928ec21-image.png

      posted in Linux Problems
      D
      dejv
    • RE: UEFI boot on vmware

      @george1421 mainly I wanted to select raid on so that if a laptop hass issues and looses bios settings it will still work 🙂

      Example I have a couple of HP laptops that for some reason if left not being used for a couple of days they loose bios settings even if they have battery life :S

      posted in General Problems
      D
      dejv
    • 1
    • 2
    • 3
    • 1 / 3