Jump to content

r0sWell

Member
  • Posts

    189
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    France

Posts posted by r0sWell

  1. hello there B)

    i tried to make an unattended DVD with the 2.4.0 version of RT 7 Lite, the operation ran fine, but the build created won't install at all (using Virtualbox - last version).

    if needed, please find the lastsession.inf attached below.

    for the details, i integrated 352 hotfixes (from Windows Hotfix repository) and 453 drivers (from Driverpacks.net), and after 5 hours of processing (yes, 5 hours :o :o :o ), RT 7 Lite operation terminated successfully.

    Here is a screenshot of the Virtualbox error :

    vberror.th.jpg

    Do you have more information about my error ?

    What could cause this fatal error ?

    What shouldn't i remove from the source (looking at my lastsession.inf) ?

    Thx a lot !

    :angel

    Lastsession.inf

  2. Thanks a lot for your tool !

    I wanted to test it yesterday to rebuild my Win 7 ISO (for a new HDD).

    It worked perfectly, no error during the process (tested on Windows 7 x64 Ultimate) : Drivers & Hotfixes integrated (verified)

    Maybe an idea to complete the DISM Tool a little more : What about adding a 'Help' button to describe all the functionalities ?

    :thumbup:thumbup

  3. i didn't want to "hide" information, i wanted to simplify my explanations in English using basic paths & needs.

    and because paths was not the big deal i suppose.

    below is the final script i think i'll use.

    my goal is to change the Windows 7 "User Account Picture" randomly, picking one from the folder and set it to user.bmp which is the user account picture file, so it can be used by other people too ;) .

    (btw i was completely wrong earlier, i said i'll need the %username% variable but in fact it's %programdata% - to make it independant from the drive letter -, shame on me i didn't check)

    Set WshShell = WScript.CreateObject("Wscript.Shell")

    varFolder = WshShell.ExpandEnvironmentStrings("%ProgramData%")

    SrcFolder = varFolder & "\Microsoft\User Account Pictures\Default Pictures\"

    DestFolder = varFolder & "\Microsoft\User Account Pictures\"

    Set objDictionary = CreateObject("Scripting.Dictionary")

    Set oFSO = CreateObject("Scripting.FileSystemObject")

    Set oFl = oFSO.GetFolder(SrcFolder)

    Set Files = oFL.Files

    Filecount = 0

    For Each File In Files

    Filecount = Filecount + 1

    objDictionary.Add Filecount, File.Name

    Next

    Randomize

    For i=1 To objDictionary.Count

    objNbr = Int(objDictionary.Count * Rnd + 1)

    Next

    RandomFile = objDictionary.Item(objNbr)

    oFSO.CopyFile SrcFolder & RandomFile,DestFolder & "user.bmp",True

    ''MsgBox "File " & Randomfile & " copied to " & DestFolder & "user.bmp"

    thx again for your help, very appreciated !

    :D

  4. vProgData = WshShell.ExpandEnvironmentStrings("%systemdrive%")
    Was this line required?

    There's no way of us telling whether it correlates to the C: provided in the original question.

    it's required because in the real script, i must point to the %username% directory (which vary), so i used %systemdrive% to test variables paths.

    @geezery :

    thx for your script, it's working :thumbup

    i'll try to adapt it to my needs

    Edit :

    Now fully working with variable paths :-)

    thx again !

  5. Is there a particular reason why you require a vbscript? You say that you'd like to make a script, so would a batch file do for instance?

    Also, as a side note, are you sure that those are the real names for the source and intended destination folders? or are you just using them as an example? In some cases providing alternatives in this kind of request may exclude better solutions. I tend to see scripts as a command or series of commands to achieve a specific goal; its often more difficult to provide a generic solution where people can just change out portions to suit any scenario.

    i'm pretty sure that a VBS script can do that, but i'm not sure concerning a Batch (?).

    for the folders, they're examples here (but i'm sure they're OK in the real most recent script).

    if you have any solutions, i thank you in advance

    thanks

  6. Hi guys,

    1st, my apologies if my English is not perfect :blushing:

    But i have troubles to create a working VBS script.

    To be honest i'm a 99% noob concerning VBS, and i'd like to make a script that will do 2 things :

    - in a folder C:\test\Default Pictures\ which contains many *.BMP files, i need to randomly select one of these.

    - then, copy this file as USER.BMP, in the Parent folder : C:\test\

    I googled many things & did some tests, but i'm not good enough to make it work.

    my most recent script is:

    Dim WshShell

    Dim vProgData

    Dim objFolder

    Dim oFSO,oFl

    Dim objFile

    Dim objNbr

    Set WshShell = WScript.CreateObject("Wscript.Shell")

    vProgData = WshShell.ExpandEnvironmentStrings("%systemdrive%")

    Set objShell = CreateObject("Shell.Application")

    Set objFolder = objShell.Namespace(vProgData & "\test\Default Pictures\")

    Set oFSO = CreateObject("Scripting.FileSystemObject")

    Set oFl = oFSO.GetFolder(objFolder).Files

    Randomize

    For i=1 To oFl.Count

    objNbr = Int(oFl.Count * Rnd + 1)

    Next

    MsgBox objNbr (line written to see if the Random Selection works : it's OK, it randomly gives me a number between 1 and the number of the files)

    Set objFile = oFSO.Name(objNbr) (troubles start from here, as you can see i'm not familiar with VB and i don't see how to "convert" this random number above to the corresponding file in the folder)

    ''oFSO.CopyFile "objFolder\Default Pictures\objFile","objFolder\user.bmp",True (could not even test that part...)

    THX in advance for your help.

    i'm blocked for now :}

  7. Everything seems to be OK now (concerning the account problem).

    (Here's my Autounattend.xml)

    PS: for now, I only use the Administrator account, plus a limited user account.

    I'll do more tests on that point later, by adding another Admin account.

    PS2: I'm not sure, but I think the Administrator account is not automaticaly disabled (nor hidden) after the Windows install (?)

    Now I'm trying to import REG modifications for "CURRENT_USER" but it's not working atm (i tried during the specialize pass which replace the old cmdlines.txt).

    Thanks for your answers :thumbup :thumbup :thumbup

    Autounattend.xml

  8. For one thing, your unattend is one of the stranger ones that I have seen...why are there so many of these:

    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

    Makes your unattend hard to read and a little confusing.

    I only used the Windows 7 WAIK :blushing:

    You may want to change this line also:

    <LogonCount>5</LogonCount>

    Change this to fewer logon attempts. As a matter of fact, you may want to move that whole block down to the rest of your account commands to look like this:

    <UserAccounts>
    - <AdministratorPassword>
    <Value>test</Value>
    <PlainText>false</PlainText>
    </AdministratorPassword>

    - <LocalAccounts>
    - <LocalAccount wcm:action="add">
    <Name>User</Name>
    <Description>limited use</Description>
    <Group>Users</Group>
    <DisplayName>User</DisplayName>
    - <Password>
    <Value>test</Value>
    <PlainText>false</PlainText>
    </Password>
    </LocalAccount>


    - <LocalAccount wcm:action="add">
    - <Password>
    <Value>test</Value>
    <PlainText>false</PlainText>
    </Password>
    <Description>everyday use</Description>
    <DisplayName>Test</DisplayName>
    <Group>Administrators</Group>
    <Name>Test</Name>
    </LocalAccount>


    ADD THIS, entering max logins...it must be named Administrator for it to work.

    <AutoLogon>
    <Password>
    <Value>test</Value>
    <PlainText>false</PlainText>
    </Password>
    <Enabled>true</Enabled>
    <LogonCount>3</LogonCount>
    <Username>Administrator</Username>
    </AutoLogon>

    </LocalAccounts>
    </UserAccounts>

    '

    Take a look at this simple one. Notice I set my network location to "Home" though it has never worked properly.

    <?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="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>en-US</UILanguage>
    </SetupUILanguage>
    <InputLocale>0409:00000409</InputLocale>
    <SystemLocale>en-US</SystemLocale>
    <UILanguage>en-US</UILanguage>
    <UserLocale>en-US</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">
    <Diagnostics>
    <OptIn>false</OptIn>
    </Diagnostics>
    <DiskConfiguration>
    <WillShowUI>Always</WillShowUI>
    </DiskConfiguration>
    <Display>
    <ColorDepth>32</ColorDepth>
    <HorizontalResolution>1024</HorizontalResolution>
    <RefreshRate>60</RefreshRate>
    <VerticalResolution>768</VerticalResolution>
    </Display>
    <ImageInstall>
    <OSImage>
    <InstallFrom>
    <MetaData wcm:action="add">
    <Key>/IMAGE/NAME</Key>
    <Value>Windows 7 ULTIMATE</Value>
    </MetaData>
    </InstallFrom>
    <InstallToAvailablePartition>false</InstallToAvailablePartition>
    <WillShowUI>OnError</WillShowUI>
    </OSImage>
    </ImageInstall>
    <UserData>
    <AcceptEula>true</AcceptEula>
    <FullName>OWNER</FullName>
    <Organization>HOME</Organization>
    <ProductKey>
    <Key>XXXXX-XXXXX-XXXXX-XXXXX-XXXXX</Key>
    <WillShowUI>OnError</WillShowUI>
    </ProductKey>
    </UserData>
    </component>
    </settings>
    <settings pass="specialize">
    <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-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>my-PC</ComputerName>
    <RegisteredOrganization>HOME</RegisteredOrganization>
    <RegisteredOwner>OWNER</RegisteredOwner>
    <Display>
    <ColorDepth>32</ColorDepth>
    <HorizontalResolution>1024</HorizontalResolution>
    <RefreshRate>60</RefreshRate>
    <VerticalResolution>768</VerticalResolution>
    </Display>
    </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="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">
    <RegisteredOrganization>HOME</RegisteredOrganization>
    <RegisteredOwner>OWNER</RegisteredOwner>
    <TimeZone>Mountain Standard Time</TimeZone>
    <Display>
    <ColorDepth>32</ColorDepth>
    <HorizontalResolution>1024</HorizontalResolution>
    <RefreshRate>60</RefreshRate>
    <VerticalResolution>768</VerticalResolution>
    </Display>
    <OOBE>
    <HideEULAPage>true</HideEULAPage>
    <NetworkLocation>Home</NetworkLocation>
    <SkipUserOOBE>true</SkipUserOOBE>
    <SkipMachineOOBE>true</SkipMachineOOBE>
    <ProtectYourPC>3</ProtectYourPC>
    </OOBE>
    <FirstLogonCommands>
    <SynchronousCommand wcm:action="add">
    <Order>500</Order>
    <Description>God-mode Account Activate</Description>
    <CommandLine>%systemdrive%\FirstLogon.cmd</CommandLine>
    </SynchronousCommand>
    </FirstLogonCommands>
    <UserAccounts>
    <AdministratorPassword>
    <Value>adminpass</Value>
    </AdministratorPassword>
    <LocalAccounts>
    <LocalAccount wcm:action="add">
    <Password>
    <Value>Password2</Value>
    <PlainText>true</PlainText>
    </Password>
    <Group>Administrators</Group>
    <Name>User2</Name>
    </LocalAccount>
    <LocalAccount wcm:action="add">
    <Password>
    <Value>Password3</Value>
    <PlainText>true</PlainText>
    </Password>
    <Group>Users</Group>
    <Name>User3</Name>
    </LocalAccount>
    </LocalAccounts>
    </UserAccounts>
    <AutoLogon>
    <Password>
    <Value>adminpass</Value>
    <PlainText>true</PlainText>
    </Password>
    <Enabled>true</Enabled>
    <LogonCount>3</LogonCount>
    <Username>Administrator</Username>
    </AutoLogon>
    <VisualEffects>
    <FontSmoothing>ClearType</FontSmoothing>
    </VisualEffects>
    </component>
    </settings>
    <cpi:offlineImage cpi:source="wim:c:/dvd/sources/install.wim#Windows 7 ULTIMATE" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
    </unattend>

    I'll try that & I'll post the results

  9. Hi,

    I have problems in my tests to build a 'Windows 7 x64 unattended' DVD.

    Please note I never used Vista (I'm still using XP SP3) and it my 1st tries with WAIK & Autounattend.xml method.

    I would love some help if you know how to solve this :

    (thx in advance for reading :blushing: )

    PS: I've only done the tests in a Virtual machine using SUN Virtualbox 3.0.4

    After the Windows installation (which is OK), and the post-op APPS installation (OK too), the computer reboots and when I arrive to the logon screen, it tells me that the account is disabled.

    It concerns the Administrator account here.

    7problem1.jpg

    w800.png

    7problem2.jpg

    w800.png

    I'm not sure, but I think it's because in my Autounattend.xml in the last lines I want to re-disable the Administrator account to use only the *new* Test account created in it.

    PS: after installation, at every reboot it tries to login using the Administrator account (still disabled). And at last after 2-3 reboots, it shows the Test + User account pictures.

    Here is my complete Autounattend.xml :

      <?xml version="1.0" encoding="utf-8" ?> 
    - <unattend xmlns="urn:schemas-microsoft-com:unattend">
    <servicing />
    - <settings pass="specialize">
    - <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">
    <BlockPopups>yes</BlockPopups>
    <FavoritesDelete>true</FavoritesDelete>
    <DisableDevTools>true</DisableDevTools>
    <DisableDataExecutionPrevention>true</DisableDataExecutionPrevention>
    <ShowInformationBar>true</ShowInformationBar>
    <Home_Page>http://www.google.com</Home_Page>
    <PlaySound>false</PlaySound>
    <Help_Page>http://www.google.com</Help_Page>
    </component>
    - <component name="Microsoft-Windows-RemoteAssistance-Exe" 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">
    <fAllowFullControl>false</fAllowFullControl>
    <fAllowToGetHelp>false</fAllowToGetHelp>
    </component>
    - <component name="Microsoft-Windows-Security-Licensing-SLC-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">
    - <AutoLogon>
    - <Password>
    <Value>test</Value>
    <PlainText>false</PlainText>
    </Password>
    <Enabled>true</Enabled>
    <LogonCount>5</LogonCount>
    <Username>Administrator</Username>
    </AutoLogon>
    - <Display>
    <ColorDepth>32</ColorDepth>
    <HorizontalResolution>1280</HorizontalResolution>
    <VerticalResolution>1024</VerticalResolution>
    </Display>
    - <Themes>
    <DefaultThemesOff>false</DefaultThemesOff>
    </Themes>
    - <WindowsFeatures>
    <ShowInternetExplorer>true</ShowInternetExplorer>
    <ShowMediaCenter>true</ShowMediaCenter>
    <ShowWindowsMail>true</ShowWindowsMail>
    <ShowWindowsMediaPlayer>true</ShowWindowsMediaPlayer>
    </WindowsFeatures>
    <TimeZone>Romance Standard Time</TimeZone>
    <BluetoothTaskbarIconEnabled>false</BluetoothTaskbarIconEnabled>
    <CopyProfile>true</CopyProfile>
    <ComputerName>w7x64</ComputerName>
    <DoNotCleanTaskBar>true</DoNotCleanTaskBar>
    <StartPanelOff>false</StartPanelOff>
    <RegisteredOrganization>testNetwork</RegisteredOrganization>
    <RegisteredOwner>Test</RegisteredOwner>
    <ShowWindowsLive>true</ShowWindowsLive>
    </component>
    - <component name="Microsoft-Windows-SQMApi" 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">
    <CEIPEnabled>0</CEIPEnabled>
    </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>
    - <component name="Microsoft-Windows-UnattendedJoin" 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">
    - <Identification>
    <JoinWorkgroup>TESTNETWORK</JoinWorkgroup>
    </Identification>
    </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">
    <Order>1</Order>
    <Path>net user Administrator /active:yes</Path>
    </RunSynchronousCommand>
    - <RunSynchronousCommand wcm:action="add">
    <Order>2</Order>
    <Path>net user Test /active:yes</Path>
    </RunSynchronousCommand>
    - <RunSynchronousCommand wcm:action="add">
    <Order>3</Order>
    <Path>net user User /active:yes</Path>
    </RunSynchronousCommand>
    - <RunSynchronousCommand wcm:action="add">
    <Order>4</Order>
    <Path>cmd /c "FOR %i IN (C D E F G H I J K L M N O P Q R S T U V W X Y Z) DO IF EXIST %i:\WIN7DVD SETX SOFT %i:\Softwares -m"</Path>
    </RunSynchronousCommand>
    </RunSynchronous>
    </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>040c:0000040c</InputLocale>
    <UILanguage>en-US</UILanguage>
    <UserLocale>fr-FR</UserLocale>
    <UILanguageFallback>en-US</UILanguageFallback>
    <SystemLocale>fr-FR</SystemLocale>
    </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">
    - <OEMInformation>
    <Manufacturer>TestUnattended</Manufacturer>
    <Model>top-of-the-line model</Model>
    <SupportURL />
    <Logo>%SystemRoot%\OEMlogo.bmp</Logo>
    </OEMInformation>
    - <OOBE>
    <HideEULAPage>true</HideEULAPage>
    <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
    <NetworkLocation>Home</NetworkLocation>
    <ProtectYourPC>3</ProtectYourPC>
    <SkipMachineOOBE>true</SkipMachineOOBE>
    <SkipUserOOBE>true</SkipUserOOBE>
    </OOBE>
    - <UserAccounts>
    - <LocalAccounts>
    - <LocalAccount wcm:action="add">
    <Name>User</Name>
    <Description>limited use</Description>
    <Group>Users</Group>
    <DisplayName>User</DisplayName>
    - <Password>
    <Value>test</Value>
    <PlainText>false</PlainText>
    </Password>
    </LocalAccount>
    - <LocalAccount wcm:action="add">
    - <Password>
    <Value>test</Value>
    <PlainText>false</PlainText>
    </Password>
    <Description>everyday use</Description>
    <DisplayName>Test</DisplayName>
    <Group>Administrators</Group>
    <Name>Test</Name>
    </LocalAccount>
    </LocalAccounts>
    - <AdministratorPassword>
    <Value>test</Value>
    <PlainText>false</PlainText>
    </AdministratorPassword>
    </UserAccounts>
    - <VisualEffects>
    <FontSmoothing>Standard</FontSmoothing>
    </VisualEffects>
    - <Display>
    <ColorDepth>32</ColorDepth>
    <HorizontalResolution>1280</HorizontalResolution>
    <VerticalResolution>1024</VerticalResolution>
    </Display>
    - <FirstLogonCommands>
    - <SynchronousCommand wcm:action="add">
    <CommandLine>%SOFT%\GUIRunOnce.cmd</CommandLine>
    <Description>custom settings</Description>
    <Order>10</Order>
    </SynchronousCommand>
    - <SynchronousCommand wcm:action="add">
    <Order>100</Order>
    <CommandLine>net user Administrator /active:no</CommandLine>
    </SynchronousCommand>
    </FirstLogonCommands>
    <RegisteredOrganization>TestNetwork</RegisteredOrganization>
    <RegisteredOwner>Test</RegisteredOwner>
    <TimeZone>Romance Standard Time</TimeZone>
    <StartPanelOff>false</StartPanelOff>
    <DoNotCleanTaskBar>true</DoNotCleanTaskBar>
    <ShowWindowsLive>true</ShowWindowsLive>
    </component>
    </settings>
    - <settings pass="generalize">
    - <component name="Microsoft-Windows-SharedAccess" 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">
    <EnableICS>true</EnableICS>
    </component>
    - <component name="Microsoft-Windows-PnpSysprep" 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">
    <PersistAllDeviceInstalls>true</PersistAllDeviceInstalls>
    <DoNotCleanUpNonPresentDevices>true</DoNotCleanUpNonPresentDevices>
    </component>
    </settings>
    - <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>040c:0000040c</InputLocale>
    <SystemLocale>fr-FR</SystemLocale>
    <UserLocale>fr-FR</UserLocale>
    <UILanguage>en-US</UILanguage>
    </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">
    - <ComplianceCheck>
    <DisplayReport>OnError</DisplayReport>
    </ComplianceCheck>
    - <DiskConfiguration>
    <WillShowUI>Always</WillShowUI>
    </DiskConfiguration>
    - <Display>
    <ColorDepth>32</ColorDepth>
    <HorizontalResolution>1024</HorizontalResolution>
    <VerticalResolution>768</VerticalResolution>
    </Display>
    - <ImageInstall>
    - <OSImage>
    - <InstallFrom>
    - <MetaData wcm:action="add">
    <Value>Windows 7 ULTIMATE</Value>
    <Key>/IMAGE/NAME</Key>
    </MetaData>
    </InstallFrom>
    <InstallToAvailablePartition>false</InstallToAvailablePartition>
    <WillShowUI>OnError</WillShowUI>
    </OSImage>
    </ImageInstall>
    - <UserData>
    - <ProductKey>
    <Key>*****-*****-*****-*****-*****</Key>
    <WillShowUI>OnError</WillShowUI>
    </ProductKey>
    <AcceptEula>true</AcceptEula>
    <FullName>Test</FullName>
    <Organization>TestNetwork</Organization>
    </UserData>
    <LogPath>%SystemRoot%\temp</LogPath>
    <UseConfigurationSet>true</UseConfigurationSet>
    <EnableFirewall>true</EnableFirewall>
    <EnableNetwork>true</EnableNetwork>
    </component>
    </settings>
    <cpi:offlineImage cpi:source="wim:e:/unattended/win7/x64/win7_x64/sources/install.wim#Windows 7 ULTIMATE" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
    </unattend>

    I'd like to have your advices for my problem.

    As you can see, using the strange 'Other User' box, i can type in what I want.

    If I type in the other 'Test' account I created it logs in. but it's not what I want.

    Plus, because it's another Admin type account it's OK, but what if I only created a limited user ?

    then I would be completely blocked (no access to the admins rights anymore : no Administrator account still enabled and no right to enable it with a limited user)

    :blushing:

    What I'm trying to do is :

    - install Windows 7 x64 100% unattended (except for the partition management)

    - post-install Applications 100% unattended (using a simple batch for easy access & modification)

    - autologon with Administrator during the installation, then hide this account and disable the autologon

    Plus the 2 "bugs" (?) I have :

    - auto-enable Gadgets (not working in Autounattend.xml)

    - auto-select "Home" homegroup (not working as a popup is displayed for 'Home / Work / Public' after the 1st logon)

    Don't hesitate to ask me if you need more info, or if you see things I should do for the Gadgets & homegroup.

    Thx a lot !

    :rolleyes:

  10. Hi Camarade,

    at last, i had the time to test your project and adapt it to my Windows version.

    i succeed in approaching the optimization you reached (~110mb at windows startup with all drivers/services loaded).

    i decided not to keep the hfslip/wihu system as you did, because i want a full unattended mode.

    good job with your wiki page too !

    i think it would be nice to detail it a little more, for example, with the extra files you kept, 'KeepFile', in your preset (the same way you did with the 'RemoveFile' preset).

    so, nice job :thumbup

  11. I would be very interested in your mod !

    and/or your documentation/method the other case.

    If you still want to, please send me a PM for it :thumbup .

    I would want to use it (or at least test it), for personal use of course.

    For now I always use English Win XP Pro VLK 'Lited' from my company, but still have a French Win XP Pro (Dell) somewhere ;)

    * et bon courage pour tes concours.

×
×
  • Create New...