• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. robertkwild
    3. Posts
    R
    • Profile
    • Following 0
    • Followers 0
    • Topics 45
    • Posts 183
    • Best 9
    • Controversial 0
    • Groups 0

    Posts made by robertkwild

    • RE: Run script after OOBE

      @rodluz

      ok scrap the local GPO done this and it works

      reg add HKLM\Software\Microsoft\Windows\CurrentVersion\RunOnce /v firstlogon /t REG_SZ /d powershell -noexit -ep bypass c:\users\admin\sysprep\firstlogon.ps1 /f
      
      posted in Windows Problems
      R
      robertkwild
    • RE: Run script after OOBE

      @rodluz

      solved…

      https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2012-R2-and-2012/dn789190(v=ws.11)

      i used a computer startup script

      script name:
      C:\Users\admin\sysprep\firstlogon.ps1

      script parameters:
      powershell -ep Bypass

      and heres the script (just made a rough one to test and every command ran as when i logged in after the pc syspreped all commands worked)

      start-process 'C:\Users\admin\sysprep\Firefox Setup 138.0.exe' /S -wait
      
      Remove-ItemProperty -Path "HKLM:\SOFTWARE\Wow6432Node\AdventNet\DesktopCentral\DCAgent\" -Name "ImagedComputer" -Force
      
      Remove-Item -Path "HKLM:\SOFTWARE\Wow6432Node\AdventNet\DesktopCentral\DCAgent\SystemDetails" -Force
      
      Set-LocalUser -Name "user01" -PasswordNeverExpires $true
      Set-LocalUser -Name "it" -PasswordNeverExpires $true
      
      remove-item -path C:\Users\admin\sysprep -recurse -force
      
      
      posted in Windows Problems
      R
      robertkwild
    • RE: Run script after OOBE

      @rodluz thanks but doesnt this need a VL key to run those scripts?

      posted in Windows Problems
      R
      robertkwild
    • Run script after OOBE

      ok ive done this and it works

      <component name="Microsoft-Windows-Deployment" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="NonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                  <RunSynchronous>
                      <RunSynchronousCommand wcm:action="add">
                          <Description>firstlogon</Description>
                          <Order>1</Order>
                          <Path>C:\Users\admin\sysprep\firstlogon.bat</Path>
                      </RunSynchronousCommand>
                  </RunSynchronous>
              </component>
      

      and my bat is just this

      @echo off
      
      C:\Users\admin\sysprep\SophosSetup.exe --quiet
      
      rmdir /Q /S C:\Users\admin\sysprep
      

      this works but when i try to run a powershell command that needs admin it cant do it ie

      powershell.exe -ExecutionPolicy Bypass -File path-to-ps1

      in there i just have this

      Set-LocalUser -Name “user” -PasswordNeverExpires $true

      but everytime after the sysprep and it loads into windows it hasnt done it as it hasnt got admin privs

      so how come cmd had admin but ps1 doesnt?

      any idea please

      thanks,
      rob

      posted in Windows Problems
      R
      robertkwild
    • turning on secure boot after windows

      hi all,

      turned off “secure boot” obviously to use fog to deploy a image to a pc after windows is installed turned back on “secure boot” but now windows cant boot and going into automatic repair mode and cant boot windows

      is there anyway to turn on secure boot after windows and windows still works?

      thanks,
      rob

      posted in FOG Problems
      R
      robertkwild
    • RE: how to turn off https support

      @Tom-Elliott is there a way to find out where its failing

      i have the PCAP file if interested?

      posted in FOG Problems
      R
      robertkwild
    • RE: how to turn off https support

      @Tom-Elliott thanks, now i know the “autoexec.ipxe…not found” is fine its just a warning and it ignores it and continues

      but why then does this laptop fail to boot into fog and a vm does boot into fog?

      is it because the laptop uses a usb/ethernet adapter

      posted in FOG Problems
      R
      robertkwild
    • RE: how to turn off https support

      @Tom-Elliott

      that didnt work, changed to “snponly.efi” but still same error about autoexec.ipxe

      but when i do a ls on /tftpboot i cant see “autoexec.ipxe” is this why

      ls -lah /tftpboot
      total 7.0M
      drwxr-xr-x 5 fogproject root 4.0K Apr 23 14:22 .
      dr-xr-xr-x. 22 root root 4.0K Apr 23 13:48 …
      drwxr-xr-x 4 fogproject root 4.0K Apr 12 12:47 10secdelay
      drwxr-xr-x 2 fogproject root 118 Apr 12 12:47 arm64-efi
      -rw-r-xr-x 1 fogproject root 479 Apr 23 13:58 default.ipxe
      drwxr-xr-x 2 fogproject root 118 Apr 12 12:47 i386-efi
      -rw-r-xr-x 1 fogproject root 326K Apr 23 13:58 intel.efi
      -rw-r-xr-x 1 fogproject root 120K Apr 23 13:58 intel.kkpxe
      -rw-r-xr-x 1 fogproject root 120K Apr 23 13:58 intel.kpxe
      -rw-r-xr-x 1 fogproject root 120K Apr 23 13:58 intel.pxe
      -rw-r-xr-x 1 fogproject root 1.2M Apr 23 13:58 ipxe.efi
      -rw-r-xr-x 1 fogproject root 1.0M Apr 23 13:58 ipxe.iso
      -rw-r-xr-x 1 fogproject root 383K Apr 23 13:58 ipxe.kkpxe
      -rw-r-xr-x 1 fogproject root 383K Apr 23 13:58 ipxe.kpxe
      -rw-r-xr-x 1 fogproject root 382K Apr 23 13:58 ipxe.krn
      -rw-r-xr-x 1 fogproject root 382K Apr 23 13:58 ipxe.lkrn
      -rw-r-xr-x 1 fogproject root 383K Apr 23 13:58 ipxe.pxe
      -rw-r-xr-x 1 fogproject root 400K Apr 23 13:58 ipxe.usb
      -rw-r-xr-x 1 fogproject root 26K Apr 23 13:58 memdisk
      -rw-r-xr-x 1 fogproject root 325K Apr 23 13:58 ncm–ecm–axge.efi
      -rw-r-xr-x 1 fogproject root 325K Apr 23 13:58 realtek.efi
      -rw-r-xr-x 1 fogproject root 121K Apr 23 13:58 realtek.kkpxe
      -rw-r-xr-x 1 fogproject root 121K Apr 23 13:58 realtek.kpxe
      -rw-r-xr-x 1 fogproject root 121K Apr 23 13:58 realtek.pxe
      -rw-r-xr-x 1 fogproject root 325K Apr 23 13:58 snp.efi
      -rw-r-xr-x 1 fogproject root 325K Apr 23 13:58 snponly.efi
      -rw-r-xr-x 1 fogproject root 120K Apr 23 13:58 undionly.kkpxe
      -rw-r-xr-x 1 fogproject root 120K Apr 23 13:58 undionly.kpxe
      -rw-r-xr-x 1 fogproject root 120K Apr 23 13:58 undionly.pxe

      is it because i havnt got a dns entry for fog since i changed to using https?

      what is interesting is that fog works on a vm ie it says “autoexec.ipxe” not found and it continues to load the fog menu where i can deploy my image

      so its only happening on new uefi firmware looks like it

      posted in FOG Problems
      R
      robertkwild
    • how to turn off https support

      hi all,

      when i installed fog for the first time on a new OS alma 9.5 (old fog was on centos 7) i turned on https but now my clients cant connect to fog, they get this

      a0da943a-1f6c-4f06-bad4-8ed66f9107b2-image.png

      i think this is happening because i enabled https, is there anyway to turn it off or am i stuck with it on

      thanks,
      rob

      posted in FOG Problems
      R
      robertkwild
    • images no size on web portal

      hi all,

      I copied my image from old fog server to new fog server via rsync -a, I also created a new image on the web portal and i can successfully deploy it to a new pc but on the web portal it doesnt specify the size

      anyway i can do this please as in terminal when i do a du on the image i get the size 15G

      9c00d26e-bd73-49a9-b17e-6ad04b70c389-image.png

      thanks,
      rob

      posted in FOG Problems
      R
      robertkwild
    • RE: Fog saving filenames instead images in /images directory

      @marcolefo not yet, i was running 1.5 on centos 7 and now re installed fog 1.5 on alma 9.5, i will let you know if i get the same issue on new OS

      posted in FOG Problems
      R
      robertkwild
    • RE: usb network boot ipv4 network disabled

      any help?

      posted in FOG Problems
      R
      robertkwild
    • RE: updating from stable to working branch but get schema error

      tbh i am running fog on centos 7 so maybe its time to re install the OS to rocky 9.5 or ubuntu 24

      what OS do you recommend?

      posted in FOG Problems
      R
      robertkwild
    • updating from stable to working branch but get schema error

      hi all,

      so trying to update my fog from stable 1.5.10.1650 to working 1.6 branch but get a schema error

      4b1c857d-a5d9-48f4-ad3f-cb2a1280433d-image.png

      any help is much appreciated

      thanks,
      rob

      posted in FOG Problems
      R
      robertkwild
    • RE: error deploying windows 11

      @Tom-Elliott looks like i have to update my fog to 1.6 instead of 1.5 as i thought i resolved it by updating fog to the latest 1.5 but the error is still there on 1.5, i thought it went at first as when i made my first image it saved as a folder but on my second capture its saving as a file again

      posted in FOG Problems
      R
      robertkwild
    • RE: Fog saving filenames instead images in /images directory

      @tcthorne i thought i resolved it by updating fog to 1.5.10.1650 ie the latest at the time but guess what the error has come back and i have no idea why its come back, the last resort is to update to working branch ie 1.6

      posted in FOG Problems
      R
      robertkwild
    • usb network boot ipv4 network disabled

      hi all,

      got a weird one as i get this error below in bios when i try to network boot

      usb network boot: ipv4 network (disabled)

      its funny as we bulk buy laptops (hp elitebook 840 G8) and trying to image another one i dont get this error, only this laptop

      boot.png

      the only difference is i dont get the option “network boot tftp windopw size” menu on the other laptop so maybe its a bios firmware version?

      thanks,
      rob

      posted in FOG Problems
      R
      robertkwild
    • RE: error deploying windows 11

      @Tom-Elliott sorry took my time in replying back tom my bad

      in the end i updated my stable to the latest 1.5.10.1650 and now when i capture the image it saves it as a folder not a file

      posted in FOG Problems
      R
      robertkwild
    • RE: Fog saving filenames instead images in /images directory

      @tcthorne I had the exact same issue with the stable branch, i was on 1.5.10.1634 or 39 i forgot and i upgraded to 1.5.10.1650 and now instead of a file in the images dir i get a folder!!!

      posted in FOG Problems
      R
      robertkwild
    • RE: error deploying windows 11

      @Tom-Elliott Hi Tom, Im on stable

      Latest Version:
      1.5.10.1634

      Latest Development Version:
      1.5.10.1639

      i get above on the login screen and below on the fog configuration page

      You’re running the latest stable version: 1.5.10.1634

      so your saying go to alpha/beta?

      posted in FOG Problems
      R
      robertkwild
    • 1
    • 2
    • 3
    • 4
    • 5
    • 9
    • 10
    • 1 / 10