Navigation

    • Register
    • Login
    • Search
    • Recent
    • Popular
    1. Home
    2. tomas.hook
    T
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 12
    • Best 0
    • Groups 0

    tomas.hook

    @tomas.hook

    0
    Reputation
    2
    Profile views
    12
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    tomas.hook Follow

    Best posts made by tomas.hook

    This user hasn't posted anything yet.

    Latest posts made by tomas.hook

    • RE: creating base image

      @theopenem_admin There is exception for this script, and unfortunately I used installation file that match with exception.

      Documentation:

      %WINDIR%\Setup\Scripts\SetupComplete.cmd: This script runs with local system permissions and starts immediately after the user sees the desktop. This setting is disabled when using OEM product keys, except on Enterprise editions and Windows Server operating systems.

      Setupact.log from ../Panther/UnattendGC

      2022-08-10 18_02_21-TheOpenEM-TEST-step-by-stepWimage06 on esxi2.olcc.state.or.us.png

      posted in Support
      T
      tomas.hook
    • RE: creating base image

      @theopenem_admin said in creating base image:

      After you deploy the image, does the file exist at C:\Windows\Setup\scripts

      Well, I was not sure either, because:

      • I never saw "%Program Files%\Toec\setupcomplete.log" file.
      • c:\windows\panter\unattend.xml exists.
      • c:\windows\system32\sysprep\unattend.xml exists.

      File "c:\windows\setup\scripts\setupcomplete" exists on my deployed machine.

      posted in Support
      T
      tomas.hook
    • RE: creating base image

      @tomas-hook Just to be clear - I run "Toec Image Prep" without server connection. Simillar to older version when this feature was not present.

      posted in Support
      T
      tomas.hook
    • RE: creating base image

      @theopenem_admin it's default (Toec Image Prep without server access because time server is not setup yet, but during sysprep later):

      mkdir "%ProgramFiles%\Toec"
      net stop toec /y >> "%ProgramFiles%\Toec\setupcomplete.log"
      powercfg.exe /h off >> "%ProgramFiles%\Toec\setupcomplete.log"
      copy NUL "%ProgramFiles%\Toec\setupcompletecmd_complete" >> "%ProgramFiles%\Toec\setupcomplete.log"
      del /Q /F c:\windows\system32\sysprep\unattend.xml >> "%ProgramFiles%\Toec\setupcomplete.log" 
      del /Q /F c:\windows\panther\unattend.xml >> "%ProgramFiles%\Toec\setupcomplete.log"
      
      REM ####### Driver install ###########
      PowerShell ^
      $Drivers = Get-ChildItem "C:\drivers" -Recurse -Filter "*.inf" ;^
      ForEach($Driver in $Drivers) {;^
      $args = \"/add-driver $($Driver.FullName) /install \";^
      $p = (Start-Process -FilePath pnputil.exe -ArgumentList $args -NoNewWindow -Passthru);^
      Wait-Process -Id $p.Id -Timeout 10 >> "%ProgramFiles%\Toec\setupcomplete.log";^
      };^
      %End PowerShell%
      
      net start toec /y
      
      

      Tomas

      posted in Support
      T
      tomas.hook
    • RE: creating base image

      @theopenem_admin - I made many of reinstallation and tests, but the file "setupcompletecmd_complete" is never created on my machines. (image_prepped is present after imaging).

      So, if I do "domain join" policy with condition on "setupcompletecmd_complete" policies are not started

      • if I login under admin I don't see that file (policies never run and sysprep looks finished)

      and in opposite if I do test on "image_prepped" computer is joined to domain, and other following policies apply (include collect inventory), and finally "Image Prep Cleanup"

      • so hard to say if "setupcompletecmd_complete" is present

      Other observation is: file c:\Windows\System32\Sysprep\Sysprep_succeeded.tag was created.

      Tomas

      posted in Support
      T
      tomas.hook
    • RE: creating base image

      @theopenem_admin Thank you for explanation.
      Finally, I put that time server settings into unatended.xml file for sysprep. That works for me just fine.
      For info how to call cmd script from sysprep:

      <settings pass="specialize">
      		<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">
                          <Order>1</Order>
                          <Path>c:\Windows\system32\cmd.exe /c c:\intel\synctime.cmd</Path>
                      </RunSynchronousCommand>
                  </RunSynchronous>
              </component>
          </settings>
      

      Tomas

      posted in Support
      T
      tomas.hook
    • RE: creating base image

      Sorry - this post should be in support thread.

      posted in Support
      T
      tomas.hook
    • RE: Imaged machine stuck in ImageOnly status

      @mikespears check log on client side : c:\program files\Toem\logs\service.log and you can place it here as well.

      I went through of that these days so maybe can help.

      • check log
      • sync time on client machine
        -check if client isn't waiting for Approval Requests or Reset Requests (inside server GUI - Computers)

      Tomas

      posted in Support
      T
      tomas.hook
    • creating base image

      Hi,
      I created base image based on tutorial Universal image.
      Once client deploy image from server I faced some troubles with client toec connection. All was caused by client machine time. Since we are using our time server and others are firewalled I must set our in universal image and refresh time after deploy.

      My question is about timing of two files creation and deletion during init phase:

      1. Who and when are following files created:
      2. When they are deleted and by which process?
        setupcompletecmd_complete
        image_prepped

      My concern is: if Toem server policy for join domain will be checking presence of this file after some process delete it it won't be triggered to run and join domain.

      Thank you,
      Tomas

      posted in Support
      T
      tomas.hook
    • RE: Fresh install and PXE not working

      @theopenem_admin said in Fresh install and PXE not working:

      I'm confused with your proxy settings. In your initial post you say you are using the proxy but your images show that you are not using proxy.

      My apologize, I didn't try proxy, only tested PXE with vSphere UEFI boot. And it was working.

      posted in Support
      T
      tomas.hook