Jump to content

Autounattend Account Name Problem


ElmerBeFuddled

Recommended Posts

Well I've (nearly) got my AU.xml file setupcomplete.cmd and Firstlogon.cmd running pretty good. BUT!! I've only just noticed that I have a problem with the user account name.

Should be User Account Elmer B. Fuddled Computer Name FEELGOOD-iNC but the user account name I'm ending up with is Elmer B. Fuddled.FEELGOOD-iNC.

If I remove the computer name from the autounattend then I get a UI to name it, this new name then gets appended to my User Name.

On the left is what it should be (a folder that I've slipped into the .wim file) and on the right... Account as made up for me.

Capture2.png

Is there anything that I can do to prevent this / where am I going wrong?

autounattend.xml


<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<settings pass="windowsPE">
<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>0809:00000809</InputLocale>
<SystemLocale>en-GB</SystemLocale>
<UILanguage>en-US</UILanguage>
<UserLocale>en-GB</UserLocale>
</component>
<component name="Microsoft-Windows-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">
<Diagnostics>
<OptIn>false</OptIn>
</Diagnostics>
<DynamicUpdate>
<Enable>false</Enable>
<WillShowUI>onerror</WillShowUI>
</DynamicUpdate>
<EnableFirewall>true</EnableFirewall>
<UserData>
<AcceptEula>true</AcceptEula>
<FullName>Elmer B. Fuddled</FullName>
<!-- I've disabled <Organisation /> before
but it made no difference to the Account
Name of "Elmer B. Fuddled.FEELGOOD-iNC"-->
<Organization>FEELGOOD-iNC</Organization>
</UserData>
</component>
</settings>
<settings pass="specialize">
<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">
<!-- I've tried disabling <ComputerName /> but it then
asks for a PC name. This time I used PC12 and ended
up with the Account Name of "Elmer B. Fuddled.PC12"-->
<ComputerName>FEELGOOD-iNC</ComputerName>
<TimeZone>GMT Standard Time</TimeZone> </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">
<AllSitesCompatibilityMode>true</AllSitesCompatibilityMode>
<BlockPopups>yes</BlockPopups>
<DisableAccelerators>true</DisableAccelerators>
<DisableFirstRunWizard>true</DisableFirstRunWizard>
<DisableOOBAccelerators>true</DisableOOBAccelerators>
<EnableLinksBar>false</EnableLinksBar>
<Home_Page>http://www.carrona.org/dvrref.php</Home_Page>
<SuggestedSitesEnabled>false</SuggestedSitesEnabled>
<PlaySound>false</PlaySound>
<ShowInformationBar>true</ShowInformationBar>
<ShowMenuBar>true</ShowMenuBar>
<!--FilterLevel>High</FilterLevel>
<ShowInformationBar>false</ShowInformationBar>
<DisableAccelerators>true</DisableAccelerators>
<DisableDevTools>true</DisableDevTools>
<DisableOOBAccelerators>true</DisableOOBAccelerators>
<Home_Page>http://www.google.com</Home_Page-->
<SearchScopes>
<Scope wcm:action="add">
<ScopeDefault>true</ScopeDefault>
<ScopeDisplayName>Google</ScopeDisplayName>
<ScopeKey>SearchProvider1</ScopeKey>
<ScopeUrl>http://www.google.com/search?q={searchTerms}</ScopeUrl>
</Scope>
</SearchScopes>
<LockToolbars>true</LockToolbars>
</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>0809:00000809</InputLocale>
<SystemLocale>en-GB</SystemLocale>
<UILanguage>en-US</UILanguage>
<UserLocale>en-GB</UserLocale>
<!--SystemLocale>en-GB</SystemLocale>
<UILanguage>en-GB</UILanguage>
<UserLocale>0809:00000809</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">
<TimeZone>GMT Standard Time</TimeZone>
<OOBE>
<HideEULAPage>true</HideEULAPage>
<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
<NetworkLocation>Home</NetworkLocation>
<ProtectYourPC>3</ProtectYourPC>
</OOBE>
<AutoLogon>
<Password>
<Value />
</Password>
<Enabled>false</Enabled>
<Username>Elmer B. Fuddled</Username>
</AutoLogon>
<UserAccounts>
<LocalAccounts>
<LocalAccount wcm:action="add">
<Password>
<Value />
</Password>
<DisplayName>Elmer B. Fuddled</DisplayName>
<Name>Elmer B. Fuddled</Name>
<Group>Administrators</Group>
</LocalAccount>
</LocalAccounts>
</UserAccounts>
<FirstLogonCommands>
<SynchronousCommand wcm:action="add">
<Order>1</Order>
<CommandLine>cmd /C %windir%\Setup\Scripts\FirstLogon.cmd</CommandLine>
<Description>Run FirstLogon.cmd</Description>
<RequiresUserInput>false</RequiresUserInput>
</SynchronousCommand>
</FirstLogonCommands>
</component>
</settings>
</unattend>
<!--Customized by myselfidem. For Windows 7 AIO all images-->
<!--OS to install and Disk Configuration dialog boxes will be displayed.-->

Edited for speeling mistookes!

Edited by ElmerBeFuddled
Link to comment
Share on other sites

OK Problemo solved. Don't add a personal folder to the wim. Wait for the system to be up and running and your account created and then you can drop them in (removed Elmer B. Fuddled folder from 1 image (Pro) to try it out).

I was trying to jump the gun and add folders in "my" AppData folder. Need to find another way of doing it :(.

Edited by ElmerBeFuddled
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...