• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

Windows 10 1703 Image with strange issue

Scheduled Pinned Locked Moved Solved
Windows Problems
4
23
11.9k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • X
    x23piracy @x23piracy
    last edited by x23piracy Sep 7, 2017, 4:09 AM Sep 6, 2017, 12:08 PM

    @Chris6862 success 🙂

    I’ve added this to my setupcomplete.cmd:

    rd /S /Q "C:\Users\Default\AppData\LocalLow"
    rd /S /Q "C:\users\Default\AppData\Local\Microsoft\Windows\WebCache"
    rd /S /Q "C:\Users\Default\AppData\Local\Microsoft\Windows\INetCache"
    del /F "C:\Users\Default\AppData\Local\Microsoft\Windows\WebCacheLock.dat"
    

    My whole SetupComplete.cmd looks like the following:

    sc config FOGService start= auto
    net start FOGService
    PowerShell.exe -ExecutionPolicy Bypass -File C:\Support\Tools\TaskBarLayout.ps1
    C:\Support\Tools\Shutup\OOSU10.exe C:\Support\Tools\Shutup\ooshutup10.cfg /quiet
    rd /S /Q "C:\Users\Default\AppData\LocalLow"
    rd /S /Q "C:\users\Default\AppData\Local\Microsoft\Windows\WebCache"
    rd /S /Q "C:\Users\Default\AppData\Local\Microsoft\Windows\INetCache"
    del /F "C:\Users\Default\AppData\Local\Microsoft\Windows\WebCacheLock.dat"
    del /F C:\Windows\System32\Sysprep\unattend.xml
    del /F C:\Windows\Setup\Scripts\SetupComplete.cmd
    del /F c:\windows\system32\sysprep\panther\setupact.log
    del /F c:\windows\system32\sysprep\panther\setuperr.log
    del /F c:\windows\system32\sysprep\panther\ie\setupact.log
    del /F c:\windows\system32\sysprep\panther\ie\setuperr.log
    shutdown -r -t 60 -f
    

    Regards X23

    ║▌║█║▌│║▌║▌█

    1 Reply Last reply Reply Quote 0
    • C
      Chris6862
      last edited by Sep 19, 2017, 5:28 PM

      @x23piracy

      Excellent! I forgot about the option to use the “setupcomplete.cmd” script. I’ll implement that now as well instead of deleting the files and folders manually after sysprep.

      G 1 Reply Last reply Sep 19, 2017, 6:31 PM Reply Quote 0
      • G
        george1421 Moderator @Chris6862
        last edited by Sep 19, 2017, 6:31 PM

        @chris6862 FWIW: Between image captures I’ve used the FOG post install scripts to “patch” the target image as FOG deploys it to the target machine.

        In our process we rebuild our reference image once a quarter. We have to go through and validate that the reference image works on all 12 models in our fleet before we can release it in fog for deployment. If we discover a gotcha after its been approved and released (as in needing to add something to the unattend.xml file or setupcomplete.cmd) We will have a post install script run to slide in the correction once imaging is done, and before the system reboots into windows setup. I’m not saying that this process will solve your issue here, but it IS a workable option if you need it.

        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

        1 Reply Last reply Reply Quote 0
        • 1
        • 2
        • 2 / 2
        • First post
          Last post

        323

        Online

        12.0k

        Users

        17.3k

        Topics

        155.2k

        Posts
        Copyright © 2012-2024 FOG Project