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

    Computers not joining our Domain during Sysprep

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    5
    60
    17.7k
    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.
    • K
      kyle.heath @Joe Schmitt
      last edited by

      @Joe-Schmitt Thanks a lot Joe. I will try this and see if it works. Should i keep both lines
      sc config FOGService start= auto
      net start FOGService
      or just use the top line?

      1 Reply Last reply Reply Quote 0
      • J
        Joe Schmitt Senior Developer
        last edited by Joe Schmitt

        @kyle.heath use the snippet i posted (remove the net start FOGService in yours). Manually starting the client is hit or miss right after sysprep and especially if you are invoking a shutdown it will cause many issues. I’m still working on better sysprep integration with the client, but it’s difficult work.

        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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

        K 1 Reply Last reply Reply Quote 0
        • K
          kyle.heath @Joe Schmitt
          last edited by

          @Joe-Schmitt Thanks! I’ll test it out and see if it works.

          1 Reply Last reply Reply Quote 0
          • K
            kyle.heath @Joe Schmitt
            last edited by

            @Joe-Schmitt Alright it didn’t work. I’m going to post the FOG.log file and I’ll post my Unattend.xml file. Maybe posting those will help. It’s basically logging itself into the local admin account and not joining the domain. Before when it worked it would finish at the login screen, connected to the domain. Maybe something in my Unattend is also off, but the FOG service did not start. It’s shown as disabled in services.

            This is the FOG.log
            0_1483983582945_upload-8c4100d1-fadc-4a69-bbce-8e917a74d121

            Below is my Unattend.xml file

            <?xml version="1.0" encoding="utf-8"?>
            <unattend xmlns="urn:schemas-microsoft-com:unattend">
                <settings pass="generalize">
                    <component name="Microsoft-Windows-PnpSysprep" 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">
                        <DoNotCleanUpNonPresentDevices>false</DoNotCleanUpNonPresentDevices>
                        <PersistAllDeviceInstalls>false</PersistAllDeviceInstalls>
                    </component>
                    <component name="Microsoft-Windows-Security-SPP" 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">
                        <SkipRearm>1</SkipRearm>
                    </component>
                </settings>
                <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">
                        <ExtendOSPartition>
                            <Extend>true</Extend>
                        </ExtendOSPartition>
                    </component>
                    <component name="Microsoft-Windows-Security-SPP-UX" 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">
                        <SkipAutoActivation>true</SkipAutoActivation>
                    </component>
                    <component name="Microsoft-Windows-Shell-Setup" 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">
                        <ComputerName>*</ComputerName>
                        <CopyProfile>true</CopyProfile>
                        <RegisteredOrganization>Microsoft</RegisteredOrganization>
                        <RegisteredOwner>AutoBVT</RegisteredOwner>
                        <ShowWindowsLive>false</ShowWindowsLive>
                        <TimeZone>Eastern Standard Time</TimeZone>
                        <ProductKey>Windows 10 Product Key Here</ProductKey>
                    </component>
                </settings>
                <settings pass="oobeSystem">
                    <component name="Microsoft-Windows-International-Core" 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">
                        <InputLocale>en-us</InputLocale>
                        <SystemLocale>en-us</SystemLocale>
                        <UILanguage>en-us</UILanguage>
                        <UserLocale>en-us</UserLocale>
                    </component>
                    <component name="Microsoft-Windows-Shell-Setup" 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">
                        <AutoLogon>
                            <Password>
                                <Value>Password</Value>
                                <PlainText>false</PlainText>
                            </Password>
                            <Enabled>true</Enabled>
                            <LogonCount>1</LogonCount>
                            <Username>CFA</Username>
                        </AutoLogon>
                        <OOBE>
                            <HideEULAPage>true</HideEULAPage>
                            <NetworkLocation>Work</NetworkLocation>
                            <ProtectYourPC>1</ProtectYourPC>
                        </OOBE>
                        <UserAccounts>
                            <AdministratorPassword>
                                <Value>Password</Value>
                                <PlainText>false</PlainText>
                            </AdministratorPassword>
                            <LocalAccounts>
                                <LocalAccount wcm:action="add">
                                    <Password>
                                        <Value>Password</Value>
                                        <PlainText>false</PlainText>
                                    </Password>
                                    <Description>Local Administrator</Description>
                                    <DisplayName>CFA</DisplayName>
                                    <Group>Administrator</Group>
                                    <Name>CFA</Name>
                                </LocalAccount>
                            </LocalAccounts>
                        </UserAccounts>
                    </component>
                </settings>
                <settings pass="offlineServicing">
                    <component name="Microsoft-Windows-PnpCustomizationsNonWinPE" 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">
                        <DriverPaths>
                            <PathAndCredentials wcm:action="add" wcm:keyValue="1">
                                <Path>C:\Windows\Drivers</Path>
                            </PathAndCredentials>
                        </DriverPaths>
                    </component>
                </settings>
                <cpi:offlineImage cpi:source="wim:c:/users/kyle.heath/desktop/windows%2010/sources/install.wim#Windows 10 Education" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
            </unattend>
            
            

            It’s basically logging into that CFA local admin account without joining the domain. If you guys see anything that’s wrong in my unattend please let me know. This is really weird because this was working before I upgraded my FOG Client.

            1 Reply Last reply Reply Quote 0
            • K
              kyle.heath
              last edited by

              I’m also using this command to run sysprep.

              cd c:\windows\system32\sysprep
              sysprep.exe /generalize /oobe /shutdown /unattend:unattend.xml

              1 Reply Last reply Reply Quote 0
              • Tom ElliottT
                Tom Elliott
                last edited by

                Is your Windows 10 image an OEM type or Volume License type?

                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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                K 1 Reply Last reply Reply Quote 1
                • K
                  kyle.heath @Tom Elliott
                  last edited by

                  @Tom-Elliott It’s a Volume License . Windows 10 EDU we use a KMS key.

                  1 Reply Last reply Reply Quote 0
                  • K
                    kyle.heath
                    last edited by

                    Been messing with the setupcomplete and nothing I change fixes the issue?

                    Tom ElliottT 1 Reply Last reply Reply Quote 0
                    • Tom ElliottT
                      Tom Elliott @kyle.heath
                      last edited by

                      @kyle.heath Where is your setupcomplete.cmd file located on the post-sysprepped system?

                      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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                      Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                      Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                      K 1 Reply Last reply Reply Quote 0
                      • K
                        kyle.heath @Tom Elliott
                        last edited by

                        @Tom-Elliott I stick it in the C:\Windows\Setup\Scripts folder

                        Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                        • Wayne WorkmanW
                          Wayne Workman @kyle.heath
                          last edited by

                          @kyle.heath as Joe said, please post the entire C:\fog.log We can’t help much without knowing what’s in 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!
                          Daily Clean Installation Results:
                          https://fogtesting.fogproject.us/
                          FOG Reporting:
                          https://fog-external-reporting-results.fogproject.us/

                          K 1 Reply Last reply Reply Quote 0
                          • K
                            kyle.heath @Wayne Workman
                            last edited by

                            @Wayne-Workman I did. There was very little in the FOG log.
                            0_1484012082320_upload-a5d27ea9-098a-4fcb-9f1e-3d96f3cf7cef

                            That’s all that was in it.

                            Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                            • K
                              kyle.heath
                              last edited by

                              Also…not sure if this matters but I am trying to “capture” my image from my VM. I created a windows 10 VM and set it up the way I wanted it. I fully registered it…and I chose join domain as 1 of the options it gives you when your full register a client. I put the unattend.xml in the sysprep folder and the setupcomplete in the scripts folder.

                              1 Reply Last reply Reply Quote 0
                              • Wayne WorkmanW
                                Wayne Workman @kyle.heath
                                last edited by

                                @kyle.heath And you’re looking at c:\fog.log ? If that’s literally it, reinstall the fog client. You should have more in the log just from when you installed it and rebooted before capture.

                                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!
                                Daily Clean Installation Results:
                                https://fogtesting.fogproject.us/
                                FOG Reporting:
                                https://fog-external-reporting-results.fogproject.us/

                                K 1 Reply Last reply Reply Quote 0
                                • K
                                  kyle.heath @Wayne Workman
                                  last edited by

                                  @Wayne-Workman I reinstalled FOG and now there is no file at all. I’ll post a pic. Since I reinstalled FOG should I try to recapture now?

                                  0_1484057157004_upload-7cd25363-275c-4590-b26e-8a97d9d689ba

                                  Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                                  • Wayne WorkmanW
                                    Wayne Workman @kyle.heath
                                    last edited by Wayne Workman

                                    @kyle.heath No. One of the steps you should always do before capture is verify the FOG Client is functioning properly. The way you would do this is look into the fog log for errors. You should see a normal log before you start preparing the system for capture.

                                    Check inside of Program Files for a folder called fog, one of them should have it. Look for a fog.log in there.

                                    Also what version of Windows? And is this a fresh installation of windows or an upgrade or an old image you updated?

                                    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!
                                    Daily Clean Installation Results:
                                    https://fogtesting.fogproject.us/
                                    FOG Reporting:
                                    https://fog-external-reporting-results.fogproject.us/

                                    K 1 Reply Last reply Reply Quote 0
                                    • K
                                      kyle.heath @Wayne Workman
                                      last edited by

                                      @Wayne-Workman Alright the only .log file in the FOG folder is one called zazzles. Here is what’s inside.

                                      0_1484057564448_upload-818b3226-54b3-4251-b775-f868a854a5a1

                                      Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                                      • Wayne WorkmanW
                                        Wayne Workman @kyle.heath
                                        last edited by

                                        @kyle.heath Please if you are able, copy/paste the logs. This makes the errors you post search-able so others can find them. Plus I can’t see the entire error in that photo.

                                        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!
                                        Daily Clean Installation Results:
                                        https://fogtesting.fogproject.us/
                                        FOG Reporting:
                                        https://fog-external-reporting-results.fogproject.us/

                                        K 1 Reply Last reply Reply Quote 0
                                        • K
                                          kyle.heath @Wayne Workman
                                          last edited by

                                          @Wayne-Workman Here is the full log. I can’t copy and paste because it’s from a VM.

                                          0_1484057800769_upload-dccd29e9-94fe-4d6c-b395-8d663ea1f331

                                          Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                                          • Wayne WorkmanW
                                            Wayne Workman @kyle.heath
                                            last edited by

                                            @kyle.heath What distribution and version is your FOG Server running on?

                                            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!
                                            Daily Clean Installation Results:
                                            https://fogtesting.fogproject.us/
                                            FOG Reporting:
                                            https://fog-external-reporting-results.fogproject.us/

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

                                            233

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project