Copy profile=true in audit mode cause search in start can't work


  1. Posts : 10
    windows 10 , 2016
       #1

    Copy profile=true in audit mode cause search in start can't work


    hi, i have a problem that no one can't answer this issue
    i install a win10 on vm and enter it in audit mode and capture it with manipulating answer files in unattended.xml in MDT such as set copyprofile=true and so on
    when i deploy image on new system it works properly
    but my problem is :
    when create new user localy or enter with domain user search in start doesn't work and system is very slowly, please anyone know,help me please. thanks
      My Computer


  2. Posts : 4,187
    Windows 11 Pro, 22H2
       #2

    Welcome to TenForums!

    I'm not as experienced with MDT as I am in other aspects of unattended setup, but one of the questions that comes to mind for me is this: Is the problem with MDT or with something else (the image or answer file). So I would be interested in knowing is what happens if you deploy this image via thumb drive or DVD as a test. Does the profile work then for newly created user accounts? If it works that way then we at least know that we need to focus on MDT specifically.
      My Computers


  3. Posts : 17,661
    Windows 10 Pro
       #3

    Using <CopyProfile = TRUE> setting in an answer file cannot even theoretically cause any Windows Search issues. Nor does MDT deployment.

    Your issues must lie in something else. Please post the exact sequence of steps you have taken to capture and deploy Windows image.

    Microsoft Deployment Toolkit - Easy and Fast Windows Deployment

    Kari
      My Computer


  4. Posts : 4,187
    Windows 11 Pro, 22H2
       #4

    Kari,

    Thanks for your comment, and to mohsenten, my apologies. I completely misunderstood your question for some reason. When I read Kari's response I realized this.

    I really should attempt to sleep at night so that my few remaining brain cells can try to function
      My Computers


  5. Posts : 17,661
    Windows 10 Pro
       #5

    No worries @hsehestedt (couldn't you add a simple name to your profile? Like Mark or John or Hamilton or Clare or Jane or ...?)

    The thing is, CopyProfile setting in an answer file does nothing else than copies the settings of current profile, usually built-in admin in Audit Mode, to default user profile. It does in no way change the Search or other default Windows settings.

    Kari
      My Computer


  6. Posts : 4,187
    Windows 11 Pro, 22H2
       #6

    Kari said:
    No worries @hsehestedt (couldn't you add a simple name to your profile? Like Mark or John or Hamilton or Clare or Jane or ...?)
    LOL. I'd be happy to do that, just not sure exactly where to set that. Would that simply be the "Name" field in my profile? Didn't want to change that without knowing what effect that has.
      My Computers


  7. Posts : 17,661
    Windows 10 Pro
       #7

    hsehestedt said:
    LOL. I'd be happy to do that, just not sure exactly where to set that. Would that simply be the "Name" field in my profile? Didn't want to change that without knowing what effect that has.
    Copy profile=true in audit mode cause search in start can't work-image.png
      My Computer


  8. Posts : 10
    windows 10 , 2016
    Thread Starter
       #8

    i think when we enter in audit mode the search doesn't work and etc and because my default profile is copying in this state so copeid profile is similar as that profile and search can't work.
    i use "dism.exe /online /cleanup-image / restorehealth" and "dism.exe /online /cleanup-image / restorehealth" and "sfc /scannow" no problem were founded at windows.
    ho can attach my unattended.xml in this post to see?

    - - - Updated - - -

    Hi kari and thanks for your reply.
    i exacttly doing steps of "Microsoft Deployment Toolkit - Easy and Fast Windows Deployment" Link on tenforums.com But my problem is from here.
      My Computer


  9. Posts : 17,661
    Windows 10 Pro
       #9

    mohsenten said:
    how can attach my unattended.xml in this post to see?
    There should be no reason to run DISM / CLEANUP commands. Open your answer file in Notepad, copy all text, and post it here in [CODE] tags:

    [CODE) Your answer file here [/CODE]

    Kari
      My Computer


  10. Posts : 10
    windows 10 , 2016
    Thread Starter
       #10

    Code:
    <?xml version="1.0" encoding="utf-8"?>
    <unattend xmlns="urn:schemas-microsoft-com:unattend">
        <settings pass="windowsPE">
            <component name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State">
                <ImageInstall>
                    <OSImage>
                        <WillShowUI>OnError</WillShowUI>
                        <InstallTo>
                            <DiskID>0</DiskID>
                            <PartitionID>1</PartitionID>
                        </InstallTo>
                        <InstallFrom>
                            <Path>.\Operating Systems\Windows 10 Enterprise LTSC 2019 - STD x64\Sources\install.wim</Path>
                            <MetaData>
                                <Key>/IMAGE/INDEX</Key>
                                <Value>1</Value>
                            </MetaData>
                        </InstallFrom>
                    </OSImage>
                </ImageInstall>
                <ComplianceCheck>
                    <DisplayReport>OnError</DisplayReport>
                </ComplianceCheck>
                <UserData>
                    <AcceptEula>true</AcceptEula>
                    <ProductKey>
                        <Key></Key>
                    </ProductKey>
                </UserData>
            </component>
            <component name="Microsoft-Windows-International-Core-WinPE" 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">
                <SetupUILanguage>
                    <UILanguage>en-US</UILanguage>
                </SetupUILanguage>
                <InputLocale>0409:00000409</InputLocale>
                <SystemLocale>en-US</SystemLocale>
                <UILanguage>en-US</UILanguage>
                <UserLocale>en-US</UserLocale>
            </component>
        </settings>
        <settings pass="generalize">
            <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">
                <DoNotCleanTaskBar>false</DoNotCleanTaskBar>
            </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-UnattendedJoin" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State">
                <Identification>
                    <Credentials>
                        <Username></Username>
                        <Domain></Domain>
                        <Password></Password>
                    </Credentials>
                    <JoinDomain></JoinDomain>
                    <JoinWorkgroup></JoinWorkgroup>
                    <MachineObjectOU></MachineObjectOU>
                </Identification>
            </component>
            <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State">
                <ComputerName></ComputerName>
                <ProductKey></ProductKey>
                <RegisteredOrganization>kazi.org</RegisteredOrganization>
                <RegisteredOwner>Windows User</RegisteredOwner>
                <DoNotCleanTaskBar>true</DoNotCleanTaskBar>
                <TimeZone>Pacific Standard Time</TimeZone>
                <EnableStartMenu>false</EnableStartMenu>
                <CopyProfile>true</CopyProfile>
                <DisableAutoDaylightTimeSet>false</DisableAutoDaylightTimeSet>
            </component>
            <component name="Microsoft-Windows-IE-InternetExplorer" 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">
                <Home_Page>about:blank</Home_Page>
            </component>
            <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>EnableAdmin</Description>
                        <Order>1</Order>
                        <Path>cmd /c net user Administrator /active:yes</Path>
                    </RunSynchronousCommand>
                    <RunSynchronousCommand wcm:action="add">
                        <Description>UnfilterAdministratorToken</Description>
                        <Order>2</Order>
                        <Path>cmd /c reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v FilterAdministratorToken /t REG_DWORD /d 0 /f</Path>
                    </RunSynchronousCommand>
                    <RunSynchronousCommand wcm:action="add">
                        <Description>disable user account page</Description>
                        <Order>3</Order>
                        <Path>reg add HKLM\Software\Microsoft\Windows\CurrentVersion\Setup\OOBE /v UnattendCreatedUser /t REG_DWORD /d 1 /f</Path>
                    </RunSynchronousCommand>
                    <RunSynchronousCommand wcm:action="add">
                        <Description>disable async RunOnce</Description>
                        <Order>4</Order>
                        <Path>reg add HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer /v AsyncRunOnce /t REG_DWORD /d 0 /f</Path>
                    </RunSynchronousCommand>
                </RunSynchronous>
            </component>
            <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>0409:00000409</InputLocale>
                <SystemLocale>en-US</SystemLocale>
                <UILanguage>en-US</UILanguage>
                <UserLocale>en-US</UserLocale>
            </component>
            <component name="Microsoft-Windows-TapiSetup" 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">
                <TapiConfigured>0</TapiConfigured>
                <TapiUnattendLocation>
                    <AreaCode>""</AreaCode>
                    <CountryOrRegion>1</CountryOrRegion>
                    <LongDistanceAccess>9</LongDistanceAccess>
                    <OutsideAccess>9</OutsideAccess>
                    <PulseOrToneDialing>1</PulseOrToneDialing>
                    <DisableCallWaiting>""</DisableCallWaiting>
                    <InternationalCarrierCode>""</InternationalCarrierCode>
                    <LongDistanceCarrierCode>""</LongDistanceCarrierCode>
                    <Name>Default</Name>
                </TapiUnattendLocation>
            </component>
            <component name="Microsoft-Windows-SystemRestore-Main" 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">
                <DisableSR>1</DisableSR>
            </component>
        </settings>
        <settings pass="oobeSystem">
            <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State">
                <UserAccounts>
                    <AdministratorPassword>
                        <Value>QB0AG8AcgBQAGEAcwBzAHcAbwByAGQA</Value>
                        <PlainText>false</PlainText>
                    </AdministratorPassword>
                </UserAccounts>
                <AutoLogon>
                    <Enabled>true</Enabled>
                    <Username>Administrator</Username>
                    <Domain>.</Domain>
                    <Password>
                        <Value>IAUABhAHMAcwB3AG8AcgBkAA==</Value>
                        <PlainText>false</PlainText>
                    </Password>
                    <LogonCount>999</LogonCount>
                </AutoLogon>
                <Display>
                    <ColorDepth></ColorDepth>
                    <HorizontalResolution></HorizontalResolution>
                    <RefreshRate></RefreshRate>
                    <VerticalResolution></VerticalResolution>
                </Display>
                <FirstLogonCommands>
                    <SynchronousCommand wcm:action="add">
                        <CommandLine>wscript.exe %SystemDrive%\LTIBootstrap.vbs</CommandLine>
                        <Description>Lite Touch new OS</Description>
                        <Order>1</Order>
                    </SynchronousCommand>
                </FirstLogonCommands>
                <OOBE>
                    <HideEULAPage>true</HideEULAPage>
                    <NetworkLocation>Work</NetworkLocation>
                    <ProtectYourPC>1</ProtectYourPC>
                    <HideLocalAccountScreen>true</HideLocalAccountScreen>
                    <HideOnlineAccountScreens>true</HideOnlineAccountScreens>
                    <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
                </OOBE>
                <RegisteredOrganization>kazi.org</RegisteredOrganization>
                <RegisteredOwner>Windows User</RegisteredOwner>
                <TimeZone></TimeZone>
            </component>
            <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>0409:00000409</InputLocale>
                <SystemLocale>en-US</SystemLocale>
                <UILanguage>en-US</UILanguage>
                <UserLocale>en-US</UserLocale>
            </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:keyValue="1" wcm:action="add">
                        <Path>\Drivers</Path>
                    </PathAndCredentials>
                </DriverPaths>
            </component>
        </settings>
        <cpi:offlineImage cpi:source="catalog://wds/cdeploymentshare/operating systems/windows 10 enterprise ltsc 2019 - std x64/sources/install_windows 10 enterprise ltsc 2019 - std.clg" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
    </unattend>
    - - - Updated - - -

    this is for capturing

    - - - Updated - - -

    and if needed i post my unattended.xml for Deploy?

    - - - Updated - - -

    PLZ Help me, Thanks a lot...

    - - - Updated - - -

    Hi Kari again, Can you Help me?

    - - - Updated - - -

    i forget to say my search is working in "administrator" properly after first restarting, but in Other user that i created is that problem
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 01:47.
Find Us




Windows 10 Forums