Jump to content

*NOT* Prompt For New User?


Recommended Posts

Is there anyway in an unattended install, using autounattend.xml, to have Vista *NOT* prompt for a new user? I've enabled the default Administrator and have no reason to create another new account so I would like to bypass that in OOBE. I will not be using Sysprep if it matters.

Link to comment
Share on other sites


you didn't explain what you were doing to

enabled the default Administrator

In the specialize pass I have:

            <AutoLogon>
<Password>
<Value>removed</Value>
<PlainText>true</PlainText>
</Password>
<LogonCount>5</LogonCount>
<Username>Administrator</Username>
<Enabled>true</Enabled>
</AutoLogon>

In the oobeSystem pass I have:

            <UserAccounts>
<AdministratorPassword>
<Value>removed</Value>
<PlainText>true</PlainText>
</AdministratorPassword>
</UserAccounts>

Link to comment
Share on other sites

Hey Marc try this

<OOBE>

<HideEULAPage>true</HideEULAPage>

<NetworkLocation>Home</NetworkLocation>

<ProtectYourPC>3</ProtectYourPC>

<SkipUserOOBE>true</SkipUserOOBE>

<SkipMachineOOBE>true</SkipMachineOOBE>

</OOBE>

<UserAccounts>

<AdministratorPassword>

<PlainText>false</PlainText>

</AdministratorPassword>

</UserAccounts>

& this

<AutoLogon>

<Enabled>true</Enabled>

<LogonCount>1</LogonCount>

<Username>Administrator</Username>

<Password>

<PlainText>false</PlainText>

</Password>

</AutoLogon>

This will prevent the new user screen pop up & create a single super admin account only.

Link to comment
Share on other sites

Nope, doesn't work for me. It's still prompting me to enter a new user name. It shouldn't matter, but I'm using Vista Business 32Bit. It is an OEM Reinstall disc though. Could that maybe cause the issue?

Link to comment
Share on other sites

i was trying to do the same thing as you were. I couldnt get it to work. However, I did manage to find a work around. First, create a temporary account

<LocalAccounts>

<LocalAccount wcm:action="add">

<Description>Temporary</Description>

<DisplayName>Temp</DisplayName>

<Group>Administrators</Group>

<Name>Temp</Name>

<Password>

<Value>REMOVED</Value>

<PlainText>false</PlainText>

</Password>

</LocalAccount>

</LocalAccounts>

Then set your autologon as follows:

<AutoLogon>

<Enabled>true</Enabled>

<Username>Administrator</Username>

<Password>

<Value>REMOVED</Value>

<PlainText>false</PlainText>

</Password>

</AutoLogon>

Then i set up a run once batch script to delete the temporary account.

Link to comment
Share on other sites

Nope, doesn't work for me. It's still prompting me to enter a new user name. It shouldn't matter, but I'm using Vista Business 32Bit. It is an OEM Reinstall disc though. Could that maybe cause the issue?

Ok then Pls post your entire xml edited for the sensitive info of course.

Link to comment
Share on other sites

And the answer is: It seems to be the OEM reinstall disc that is causing the prompt for Username. I tried the same xml file with my Upgrade disc and it all worked like it was supposed to. I'm guessing the OEM reinstall runs some extra stuff that does a reseal that forces OOBE on next boot.

Link to comment
Share on other sites

i use this code in the oobeSystem part

<UserAccounts>
<LocalAccounts>
<LocalAccount wcm:action="add">
<DisplayName>Sereby</DisplayName>
<Name>Sereby</Name>
<Group>Administrators</Group>
</LocalAccount>
</LocalAccounts>
</UserAccounts>

the only thing is that it asks at first logon for a new pwd!

does anybody know what to change there that it dont ask for a new one?

Link to comment
Share on other sites

Hello Sereby!

I've had this problem several times before, too. For the moment I do not have it. I haven't figured out exactly where the problem is coming from.

I think I had it when using skipmachineoobe on true and creating user in oobe pass. I will try to reproduce the error again.

Could you please describe a little bit more detailed, when you're creating the users (which pass) and all the settings you use in your Autounattend.xml.

Reagards,

Martin

Link to comment
Share on other sites

i use this code in the oobeSystem part

the only thing is that it asks at first logon for a new pwd!

does anybody know what to change there that it dont ask for a new one?

						<Password>
<PlainText>false</PlainText>
<Value>UABhAHMAcwB3AG8AcgBkAA==</Value>
</Password>
<Group>Administrators</Group>
<DisplayName>MaxXP</DisplayName>
<Name>MaxXP</Name>
</LocalAccount>

UABhAHMAcwB3AG8AcgBkAA== is a blank password, yoiu'll have to hit enter, is that good enough ootherwise use AutoAdminlogon

Link to comment
Share on other sites

if you want it firegeier..

here my complete xml file :)

<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<servicing></servicing>
<settings pass="specialize">
<component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<FavoritesDelete>true</FavoritesDelete>
<IEWelcomeMsg>false</IEWelcomeMsg>
<Home_Page>about:blank</Home_Page>
<UserAgent></UserAgent>
<Window_Title_CN></Window_Title_CN>
<PlaySound>false</PlaySound>
</component>
<component name="Microsoft-Windows-International-Core" processorArchitecture="x86" 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>0407:00000407</InputLocale>
<SystemLocale>de-DE</SystemLocale>
<UILanguage>de-DE</UILanguage>
<UserLocale>de-DE</UserLocale>
</component>
<component name="Microsoft-Windows-SystemRestore-Main" processorArchitecture="x86" 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>
<component name="Security-Malware-Windows-Defender" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<DisableAntiSpyware>true</DisableAntiSpyware>
</component>
<component name="Microsoft-Windows-Security-Licensing-SLC-UX" processorArchitecture="x86" 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-Deployment" processorArchitecture="x86" 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>Disable UAC</Description>
<Order>1</Order>
<Path>cmd /c reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v EnableLUA /t REG_DWORD /d 0 /f</Path>
</RunSynchronousCommand>
</RunSynchronous>
</component>
<component name="Microsoft-Windows-UnattendedJoin" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Identification>
<JoinWorkgroup>MSHEIMNETZ</JoinWorkgroup>
</Identification>
</component>
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" 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>Patrick-Rechner</ComputerName>
<RegisteredOrganization>Sereby Corporation</RegisteredOrganization>
<RegisteredOwner>Sereby</RegisteredOwner>
<ShowWindowsLive>false</ShowWindowsLive>
<TimeZone>W. Europe Standard Time</TimeZone>
<StartPanelOff>true</StartPanelOff>
<BluetoothTaskbarIconEnabled>false</BluetoothTaskbarIconEnabled>
</component>
<component name="Microsoft-Windows-Printing-Spooler-Core" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<RemoveMXDW>1</RemoveMXDW>
</component>
<component name="Microsoft-Windows-SQMApi" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<CEIPEnabled>0</CEIPEnabled>
</component>
</settings>
<settings pass="windowsPE">
<component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="x86" 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>de-DE</UILanguage>
</SetupUILanguage>
<InputLocale>0407:00000407</InputLocale>
<SystemLocale>de-DE</SystemLocale>
<UILanguage>de-DE</UILanguage>
<UserLocale>de-DE</UserLocale>
</component>
<component name="Microsoft-Windows-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Display>
<ColorDepth>32</ColorDepth>
<HorizontalResolution>1280</HorizontalResolution>
<RefreshRate>85</RefreshRate>
<VerticalResolution>960</VerticalResolution>
</Display>
<UserData>
<ProductKey>
<Key>not for you :)Key>
<WillShowUI>OnError</WillShowUI>
</ProductKey>
<AcceptEula>true</AcceptEula>
<FullName>Sereby</FullName>
<Organization>Sereby Corporation</Organization>
</UserData>
<Restart>Restart</Restart>
</component>
</settings>
<settings pass="oobeSystem">
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Display>
<ColorDepth>32</ColorDepth>
<RefreshRate>85</RefreshRate>
<HorizontalResolution>1280</HorizontalResolution>
<VerticalResolution>960</VerticalResolution>
</Display>
<OOBE>
<HideEULAPage>true</HideEULAPage>
<NetworkLocation>Home</NetworkLocation>
<ProtectYourPC>3</ProtectYourPC>
<SkipUserOOBE>true</SkipUserOOBE>
</OOBE>
<Themes>
<DefaultThemesOff>false</DefaultThemesOff>
</Themes>
<UserAccounts>
<LocalAccounts>
<LocalAccount wcm:action="add">
<DisplayName>Sereby</DisplayName>
<Name>Sereby</Name>
<Group>Administrators</Group>
</LocalAccount>
</LocalAccounts>
</UserAccounts>
<VisualEffects>
<FontSmoothing>On</FontSmoothing>
</VisualEffects>
<WindowsFeatures>
<ShowInternetExplorer>true</ShowInternetExplorer>
<ShowMediaCenter>false</ShowMediaCenter>
<ShowWindowsMediaPlayer>true</ShowWindowsMediaPlayer>
</WindowsFeatures>
</component>
</settings>
<settings pass="generalize">
<component name="Microsoft-Windows-Security-Licensing-SLC" processorArchitecture="x86" 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>
<cpi:offlineImage cpi:source="wim:F:/Betriebssysteme/Windows%20Vista/vistafinalde/sources/install.wim#Windows Vista ULTIMATE" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>

Link to comment
Share on other sites

I could be wrong though maybe too early to tell but going on what I have read & from what Martin has expressed on this board it seems that the only way @ present to do this is by way of sysprep with a second unattend.xml...

Thats why so far I use a Super admin acc. only & make this autologon with no specific user designated in UA, as I posted a few threads up the page. This way you get the shiny desktop you need & manually setup another account if you require it.

I did get annoyed setting up users in my xml only to find on first start up windows asking me to setup another etc. :(

Hope that sheds some light on it.

Link to comment
Share on other sites

Well... that is true partly only. The sysprep procedure is - AFAIK for the moment - the only working way to copy over something into Default User profile. So some people may not need this function.

You can create custom user accounts without sysprep. But I would not use them for software installations by default. Sereby is disabeling UAC, so software installations should work for him in this case.

For the moment I'm testing maxX solution described above with Sereby's Autounattend.xml...

Regards,

Martin

Link to comment
Share on other sites

Ok... tested maxX solution with Sereby's Autounattend.xml and it's working good! Just to confirm from this side. :thumbup

So here is the edited OOBE pass section:

	<settings pass="oobeSystem">
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Display>
<ColorDepth>32</ColorDepth>
<HorizontalResolution>1280</HorizontalResolution>
<RefreshRate>85</RefreshRate>
<VerticalResolution>960</VerticalResolution>
</Display>
<OOBE>
<HideEULAPage>true</HideEULAPage>
<NetworkLocation>Home</NetworkLocation>
<ProtectYourPC>3</ProtectYourPC>
<SkipUserOOBE>true</SkipUserOOBE>
</OOBE>
<Themes>
<DefaultThemesOff>false</DefaultThemesOff>
</Themes>
<UserAccounts>
<LocalAccounts>
<LocalAccount wcm:action="add">
<DisplayName>Sereby</DisplayName>
<Name>Sereby</Name>
<Group>Administrators</Group>
<Password>
<Value>UABhAHMAcwB3AG8AcgBkAA==</Value>
<PlainText>false</PlainText>
</Password>
</LocalAccount>
</LocalAccounts>
</UserAccounts>
<VisualEffects>
<FontSmoothing>On</FontSmoothing>
</VisualEffects>
<WindowsFeatures>
<ShowInternetExplorer>true</ShowInternetExplorer>
<ShowMediaCenter>false</ShowMediaCenter>
<ShowWindowsMediaPlayer>true</ShowWindowsMediaPlayer>
</WindowsFeatures>
<AutoLogon>
<Password>
<Value>UABhAHMAcwB3AG8AcgBkAA==</Value>
<PlainText>false</PlainText>
</Password>
<Enabled>true</Enabled>
<LogonCount>9999</LogonCount>
<Username>Sereby</Username>
</AutoLogon>
</component>
</settings>

Regards,

Martin

Edited by FireGeier
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.


×
×
  • Create New...