Create media for automated unattended install of Windows 10  

Page 31 of 99 FirstFirst ... 2129303132334181 ... LastLast

  1. Posts : 12
    Windows 10 Pro N x64
       #300

    Hi Kari,

    You really did a big job here, I appreciate your precious work. I just got stuck at the login page. I actually managed to go through all step smoothly until reaching to sign in screen and It shows "Other user" title instead of "Administrator" name which I have set in the Answer file, it has also 2 prompt for username and password. I typed both username and password I configured earlier but unfortunately, it show me this message: "Your account has been disabled. Please see your system administrator.

    Not sure though but I guess maybe it have something to do with the username itself since I named it similarly to the built-in Administrator name and it might confused it with that one? .. I would really appreciate any suggestion you have for this problem. Thank you
      My Computer


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

    @Wolfy7, could you post your unattend.xml answer file here for review?
      My Computers


  3. Posts : 12
    Windows 10 Pro N x64
       #302

    hsehestedt said:
    @Wolfy7, could you post your unattend.xml answer file here for review?
    Thanks hsehestedt, I actually managed to solve the issue. As i expected, it was due to the naming of the local admin account. It shouldn't be named "Administrator" at all which I think the system confuse it with the built-in one. I named it Admin as in the tutorial and it worked fine.
      My Computer


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

    Ah yes - I didn't realize that you actually used "Administrator".

    Glad you got it solved.
      My Computers


  5. Posts : 17,661
    Windows 10 Pro
    Thread Starter
       #304

    Wolfy7 said:
    Thanks hsehestedt, I actually managed to solve the issue. As i expected, it was due to the naming of the local admin account. It shouldn't be named "Administrator" at all which I think the system confuse it with the built-in one. I named it Admin as in the tutorial and it worked fine.
    Quite logical, when you think about it. You simply can't have two user profiles with the same name. The built-in admin's profile name is Administrator, therefore the name is reserved and can't be used for another user profile.


    Wolfy7 said:
    I typed both username and password I configured earlier but unfortunately, it show me this message: "Your account has been disabled. Please see your system administrator.
    The built-in admin is disabled by default. If you want to enable the built-in admin, you can do it in answer file. Just add component Microsoft-Windows-Deployment anywhere in settings pass Specialize in Unattend.xml, then add a synchronous command to be run at end phases of OOBE to enable the account:

    Code:
            <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>
                </RunSynchronous>
            </component>
    Create media for automated unattended install of Windows 10-image.png

    Component Microsoft-Windows-Deployment allows you to add both synchronous and asynchronous commands at the end of OOBE. You can add any command or PowerShell cmdlet.

    Synchronous commands are commands that need to be run and finish before next command can be run. Asynchronous commands are ones that can be run simultaneously. Command cmd /c net user Administrator /active:yes to enable built-in admin can't be run at the same time with other commands, therefore it is a synchronous command.

    Kari
      My Computer


  6. Posts : 12
    Windows 10 Pro N x64
       #305

    @Kari Yeah that's right, though sometimes quite obvious things can be missed so easily.
      My Computer


  7. Posts : 3
    Windows 10
       #306

    Kari said:
    The built-in admin is disabled by default. If you want to enable the built-in admin, you can do it in answer file. Just add component Microsoft-Windows-Deployment anywhere in settings pass Specialize in Unattend.xml, then add a synchronous command to be run at end phases of OOBE to enable the account:
    Also I think that if you use AutoLogon option to login autmatically after installation, it should activate Administrator account(?)

    Like this:

    Code:
    <AutoLogon>
                    <Password>
                		<Value>MyPassword</Value> 
                		<PlainText>true</PlainText> 
             	</Password>
             	<Username>Administrator</Username> 
             	<Enabled>true</Enabled> 
             	<LogonCount>1</LogonCount> 
    </AutoLogon>
                <UserAccounts>
                    <AdministratorPassword>
                        <Value>MyPassword</Value>
                        <PlainText>true</PlainText>
                    </AdministratorPassword>
                </UserAccounts>
    Also Kari, why do you recommend using CopyProfile option if apparently it has major bugs and Microsoft doesn't recommend it and it's called by them "deprecated"?
      My Computer


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

    @fastfaster,

    Pardon my jumping in, but I believe that you are thinking only about one narrow usage of CopyProfile that is deprecated, and that is for the start menu.

    See this documentation from Microsoft:

    https://docs.microsoft.com/en-us/arc...een-deprecated

    From that same document:

    Q: Are other portions of CopyProfile still supported in Windows 10?
    A: Yes, everything in CopyProfile except the “Start Menu” and “Taskbar” layout are supported in Windows 10.


    As for autologon, you would specify the admin level username that you want to logon with (not Administrator itself).

    If you need more info on autologon let me know. I've written myself some extensive notes on using this because I've experimented with it a lot and use it frequently.
      My Computers


  9. Posts : 12
    Windows 10 Pro N x64
       #308

    @fastfaster I was thinking the same actually. Copy Profile is causing the annoying "Default app reset" notification, which I got also when I did it in this answer file. I know that copy profile is used to customize the appearances and display. However, I don't know if it going to impact the other processes like the admin account if not set "true".

    Have u tried not to set the copy profile as true? I didn't try that yet. Just to avoid the popups after booting.
      My Computer


  10. Posts : 17,661
    Windows 10 Pro
    Thread Starter
       #309

    fastfaster said:
    Also I think that if you use AutoLogon option to login autmatically after installation, it should activate Administrator account(?)
    No. A disabled account can't be used for autologon.


    fastfaster said:
    Also Kari, why do you recommend using CopyProfile option if apparently it has major bugs and Microsoft doesn't recommend it and it's called by them "deprecated"?
    I just hate it when someone posts something absolutely crap, invalid and wrong information based on rumours or misunderstandings. Check your facts before posting.

    https://docs.microsoft.com/en-gb/arc...een-deprecated

    About possible CopyProfile bugs: I've never had any issues with it, never had any bugs. Works perfectly.


    hsehestedt said:
    Pardon my jumping in, but I believe that you are thinking only about one narrow usage of CopyProfile that is deprecated, and that is for the start menu.
    Exactly.

    Kari
      My Computer


 

Tutorial Categories

Create media for automated unattended install of Windows 10 Tutorial Index Network & Sharing Instalation and Upgrade Browsers and Email General Tips Gaming Customization Apps and Features Virtualization BSOD System Security User Accounts Hardware and Drivers Updates and Activation Backup and Restore Performance and Maintenance Mixed Reality Phone


  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 17:48.
Find Us




Windows 10 Forums