copy profile and auto login

Page 1 of 2 12 LastLast

  1. Posts : 9
    windows 11
       #1

    copy profile and auto login


    hello i need your support.

    when i include copy profile true in the answer file and enable auto login for administrator account and run sysprep. the administrator account auto login correctly no issue. but when i created new user account start menu is not working also the profile seems to be courpted.

    i tried with mdt and without. please how can i fix this issue. please note when i created local admin account in the answer file i dont face this issue. only with auto login
      My Computer


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

    It's a little bit hard for me to tell you for a certainty what is causing the problem because I simply don't know what you did. However, from your description, I believe that I already see one problem.

    You say that you are enabling auto logon for the administrator account. Let's be clear about this: Are you using the actual account named "administrator" or another administrator level account? If you are using "administrator", don't! The account named "administrator" gets disabled when you run sysprep. You MUST use another account.

    If that is not what is happening, could you please provide a copy of both your unattend.xml and autounattend.xml answer files?

    Make sure to click the hashtag (#) icon in the toolbar here in TenForums, and then place the contents of the file between the CODE tags that creates. Repeat for the other file.

    Thanks!
      My Computers


  3. Posts : 9
    windows 11
    Thread Starter
       #3

    pleaase see my answer file I`ll post the error after i run the sysrep . I created admin account in the answer file and the bulit in admin disabled. when i login to the admin account that i created it loading the profile with no issue . also when enable the bulit in admin after the sysrep the profile loading with no issue . however when i create new user and login the profile corrupted start menu not working and the search bar


    Code:
    <?xml version="1.0" encoding="utf-8"?>
    <unattend xmlns="urn:schemas-microsoft-com:unattend">
        <settings pass="specialize">
            <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">
                <CopyProfile>true</CopyProfile>
                <RegisteredOwner>aziz</RegisteredOwner>
                <RegisteredOrganization>aziz</RegisteredOrganization>
                <TimeZone>Arabia Standard Time </TimeZone>
            </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>0409:00000409</InputLocale>
                <SystemLocale>EN-US</SystemLocale>
                <UILanguage>EN-US</UILanguage>
                <UILanguageFallback>EN-US</UILanguageFallback>
                <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">
                <OOBE>
                    <VMModeOptimizations>
                        <SkipAdministratorProfileRemoval>false</SkipAdministratorProfileRemoval>
                    </VMModeOptimizations>
                    <HideEULAPage>true</HideEULAPage>
                    <HideLocalAccountScreen>true</HideLocalAccountScreen>
                    <HideOEMRegistrationScreen>true</HideOEMRegistrationScreen>
                    <HideOnlineAccountScreens>true</HideOnlineAccountScreens>
                    <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
                    <ProtectYourPC>3</ProtectYourPC>
                    <UnattendEnableRetailDemo>false</UnattendEnableRetailDemo>
                </OOBE>
                <UserAccounts>
                    <AdministratorPassword>
                        <Value>YQBkAG0AaQBuADEAMgAzADQAQQBkAG0AaQBuAGkAcwB0AHIAYQB0AG8AcgBQAGEAcwBzAHcAbwByAGQA</Value>
                        <PlainText>false</PlainText>
                    </AdministratorPassword>
                    <LocalAccounts>
                        <LocalAccount wcm:action="add">
                            <Password>
                                <Value>YQBkAG0AaQBuADEAMgAzADQAUABhAHMAcwB3AG8AcgBkAA==</Value>
                                <PlainText>false</PlainText>
                            </Password>
                            <DisplayName>abdulaziz</DisplayName>
                            <Group>Administrators</Group>
                            <Name>abdulaziz</Name>
                        </LocalAccount>
                    </LocalAccounts>
                </UserAccounts>
            </component>
        </settings>
        <cpi:offlineImage cpi:source="catalog:c:/win11/install_windows 10 pro.clg" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
    </unattend>

    copy profile  and auto login-1.png

    copy profile  and auto login-2.png

    copy profile  and auto login-3.png

    copy profile  and auto login-4.png

    copy profile  and auto login-5.png

    copy profile  and auto login-6.png

    copy profile  and auto login-7.png

    copy profile  and auto login-8.png

    copy profile  and auto login-10.png

    copy profile  and auto login-12.png

    - - - Updated - - -

    hsehestedt said:
    It's a little bit hard for me to tell you for a certainty what is causing the problem because I simply don't know what you did. However, from your description, I believe that I already see one problem.

    You say that you are enabling auto logon for the administrator account. Let's be clear about this: Are you using the actual account named "administrator" or another administrator level account? If you are using "administrator", don't! The account named "administrator" gets disabled when you run sysprep. You MUST use another account.

    If that is not what is happening, could you please provide a copy of both your unattend.xml and autounattend.xml answer files?

    Make sure to click the hashtag (#) icon in the toolbar here in TenForums, and then place the contents of the file between the CODE tags that creates. Repeat for the other file.

    Thanks!
    I put a copy of my answer file

    - - - Updated - - -

    Im using vmware
      My Computer


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

    I have not looked at your answer file yet, I'm just in front of a tablet now, will look closer when I am in front of my desktop system.

    First, I have a few questions. You supplied one of the answer files, what about the other one?

    Also, I just want to be clear on the steps taken: After running sysprep, did you create a new install.wim to replace the standard install.wim on your installation media?

    Finally, I'm not clear on why you think the profile is corrupt. Is it because you see different Windows store apps? If so, that is normal. You cannot change those in your custom image.

    Again, I'll look when I'm in front of my desktop. That will still be a few hours from now.
      My Computers


  5. Posts : 9
    windows 11
    Thread Starter
       #5

    hello,
    i didn't capture the image. i want be sure there is no issue when loding the profile. the profile is courpted because the app is not loading even when i concted to the internet. i run sysprep generalize then reboot. I login with the account that i created in the answer file and i didn't face any issue with the profile the app is loding and the start menu is working fine. also in the built admin after i enabled it it working fine. when i create new user from lusrmgr. and login the screen get black and the profile take time to load and the app not loding. also when i search it loding but not searching. i hope i make it clear now

    - - - Updated - - -

    i didn't custom the app its default windows app
      My Computer


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

    Ok, there are a few potential issues here.

    First, you mention that some app is not working. What app? I'd like to see if I have the same issue.

    Also, I'm not entirely sure that it should work like that by simply rebooting the reference system, but again, I'll have to try that. I'll try this in a few hours when I'm in front of my system, but just tell me in the meantime what app you are having problems with.

    Thanks!
      My Computers


  7. Posts : 9
    windows 11
    Thread Starter
       #7

    please the empty box in the i picture, there should be no empty box should all in one page because i didn't inall any app

    copy profile  and auto login-image-20.png

    please see the pictur above i should be like this
      My Computer


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

    You need to take special steps to deal with UWP apps. Below is a link to a Microsoft article that describes the various scenarios.

    I've never bothered with this myself, but I may have to try it out sometime.

    https://docs.microsoft.com/en-us/tro...ate-store-apps
      My Computers


  9. Posts : 9
    windows 11
    Thread Starter
       #9

    hello bro, i copy the capture image to the installation media. when i login with the admin account that i created it in the answer file i did not face any issues when i created the user. however once i enabled the administrator account and created user the new user profile is not loading correctly. my question should i enabled the administrator account or not or i use the admin account.
      My Computer


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

    Let me make sure that I understand. Tell me if I have this correct:

    So, you logon with the account that you created and that account is working fine.
    Next, you enable the account called "Administrator" and you logon with that account. The "Administrator" account is also working fine.
    But, now, while logged on as Administrator, you create a new user account and logon with that account, but this is where you have problems.

    Is all of that correct?

    If I have that right, here are a few questions:

    1) When you logon to the new account that you created, do you see the messages "We getting things ready for you" and "This might take a few minutes"? If so, that would indicate that it's loading the profile for the first time and setting up the user account. Or are you not seeing those messages?

    2) What exactly is wrong with the new user account that you create?

    3) If you create a new user account while logged in as the other account (not Administrator) and you then logon to the new account, does it work then? In other words, is there only a problem creating new user accounts if you create them from the user name of "Administrator"?

    NOTE: I just tested this, and it all works fine for me, so we need to figure out what you and I are doing differently.
      My Computers


 

  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 09:30.
Find Us




Windows 10 Forums