Jump to content

Unattended [Merged]


Chares

Recommended Posts

HI There,

I wanted to request the following, since it'll be a good idea for the general integrators:

Req: Add the Following functionality to the Unattended Creator:

A.- Ability to Autologon.

B.- Ability to enable only the administrator and its password.

C.- Ability to select the workgroup.

D.- Ability to auto-join a domain.

E.- Ability to NOT activate the serial, even if it has been inputed.

F.- Ability to Auto-Partition the Hard Drive.

G.- Ability to Auto-Select Language, Locale, Keyobard Locale, and Time Zone.

H.- Ability to create additional users, and select if they're local administrators.

Req: Add the following functionality to W7T:

A.- Ability to default to all users the imported wallpaper in the AIO section (and select if its "fit", "centered", etc).

B.- Ability to Modify the EULA. (if im right, there was a section where you could import an RTF) (No, might be illegal?)

C.- Let the AIO Programs integrator to check the .exe/.msi command-line parameters, and pop them up to the user. (for example when you run example.exe /?)

D.- New column on the AIO Drivers section, saying if its a x32, x64 driver or both.

E.- Ability to sort by column in the AIO section.

This is mostly to reduce user interaction to zero (put the disc in, and let it do it all).

--------------------------------

- User language + input locale


<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>0409:00000409</InputLocale>
<UserLocale>nl-NL</UserLocale>
<UILanguage>en-US</UILanguage>
<SystemLocale>en-US</SystemLocale>
</component>

Edited by Legolash2o
Link to comment
Share on other sites

There is a tweak which will set default background, do u have any unattended.XML files with some of your requests which I can use as an example please?

Thirdly, can't you make your unattended creator more comprehensive by integrating options like first logon commands, Taskbar links, custom theme (Which I mentioned earlier) and ofcourse desktop gadgets which myselfidem metioned with some description and if possible with some screenshots as well so that user (especially for newbies like me) can decide which window he wish to appear and which not.

Edited by Legolash2o
Link to comment
Share on other sites

Hi there Legolash2o,

Edit3: Just to be clear, i replaced the code originally put on this post by this one, since this one is a tested example.

This is what this code does:

A.- Sets all Locales to US.

B.- Defines product key.

C.- Only allows administrator with its password.

D.- No touch on setup is required.

E.- Partitions the disk in 2, one with 100mb for system partition, and the rest of the disk for the OS, with the letter C:.

F.- Sets the timezone to Argentina Standar Time.

G.- Skips Wireless configuration.

H.- Skips user interaction.

I.- Sets network location to "Work".

J.- sets security to "recommended".

K.- Installs Windows 7 ENTERPRISE. (Note: if the key is a MAK one, be warned that the location and variable changes, check the Productkey variable on the link below).

Reference for values and variables: Link to reference

Note: The password value was originally a hex code, which by validating and saving the xml on WSIM, it converts it from plain to hex.


<?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>
<UserLocale>en-US</UserLocale>
<UILanguage>en-US</UILanguage>
<SystemLocale>en-US</SystemLocale>
</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">
<UserData>
<Organization>MyOrganization</Organization>
<FullName>MyOrganization</FullName>
<ProductKey>
<WillShowUI>OnError</WillShowUI>
</ProductKey>
<AcceptEula>true</AcceptEula>
</UserData>
<DiskConfiguration>
<WillShowUI>OnError</WillShowUI>
<Disk wcm:action="add">
<DiskID>0</DiskID>
<WillWipeDisk>true</WillWipeDisk>
<CreatePartitions>
<CreatePartition>
<Order>1</Order>
<Type>Primary</Type>
<Size>100</Size>
</CreatePartition>
<CreatePartition>
<Order>2</Order>
<Type>Primary</Type>
<Extend>true</Extend>
</CreatePartition>
</CreatePartitions>
<ModifyPartitions>
<ModifyPartition wcm:action="add">
<Active>true</Active>
<Format>NTFS</Format>
<Label>system</Label>
<Order>1</Order>
<PartitionID>1</PartitionID>
</ModifyPartition>
<ModifyPartition wcm:action="add">
<Format>NTFS</Format>
<Label>Main</Label>
<Letter>C</Letter>
<Order>2</Order>
<PartitionID>2</PartitionID>
</ModifyPartition>
</ModifyPartitions>
</Disk>
</DiskConfiguration>
<ImageInstall>
<OSImage>
<InstallFrom>
<MetaData wcm:action="add">
<Key>/IMAGE/NAME</Key>
<Value>Windows 7 ENTERPRISE</Value>
</MetaData>
</InstallFrom>
<InstallTo>
<DiskID>0</DiskID>
<PartitionID>2</PartitionID>
</InstallTo>
<WillShowUI>OnError</WillShowUI>
</OSImage>
</ImageInstall>
</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">
<AutoLogon>
<Password>
<Value>XXXX</Value>
<PlainText>false</PlainText>
</Password>
<Enabled>true</Enabled>
<LogonCount>1</LogonCount>
<Username>Administrator</Username>
</AutoLogon>
<OOBE>
<HideEULAPage>true</HideEULAPage>
<SkipMachineOOBE>true</SkipMachineOOBE>
<SkipUserOOBE>true</SkipUserOOBE>
<NetworkLocation>Work</NetworkLocation>
<ProtectYourPC>1</ProtectYourPC>
<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
</OOBE>
<ProductKey>XXXXX-XXXXX-XXXXX-XXXXX-XXXXX</ProductKey>
<TimeZone>Argentina Standard Time</TimeZone>
<UserAccounts>
<AdministratorPassword>
<Value>XXXX</Value>
<PlainText>false</PlainText>
</AdministratorPassword>
</UserAccounts>
</component>
</settings>
<settings pass="specialize">
<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>CHANGEME</ComputerName>
</component>
</settings>
<cpi:offlineImage cpi:source="wim:c:/imagedev/install.wim#Windows 7 ENTERPRISE" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>

Thanks for your time!

Cheers,

Edited by Chares
Link to comment
Share on other sites

  • 2 months later...
  • 2 months later...

When i redesign the Unattended Creator i will probably add the majority of these as well as some other recommended ones suggested here.

UPDATE: Just bumping the thread so it's at the top and to let you know that i have not forgotten about it.

Edited by Legolash2o
Link to comment
Share on other sites

Besides requesting once more that very useful ability to Auto-Select Language, Locale and Keyboard Locale (when you'll have the time, of course), I have two suggestion regarding Unnatended Creator:

1. A warning for users when they start the creator to choose between the x86 and x64 architectures at the top (the interface is a little akward, and this option may be unintentionally skipped), or perhaps it's better to show it under general category;

2. A warning for users when they choose the skip auto-activation to also insert a generic serial from the info tab (this is how I understand this option works).

Edited by RicaNeaga
Link to comment
Share on other sites

2. A warning for users when they choose the skip auto-activation to also insert a generic serial from the info tab (this is how I understand this option works).

If the user chooses to skip auto-activation, shouldn't W7T be able to automatically insert the appropriate generic serial without user intervention? No? That assumes that the correct architecture and image have been chosen and that W7T is able to add in the correct serial at build time.

Cheers and Regards

Link to comment
Share on other sites

  • 4 weeks later...

About XML Creator, we can add some suggestions :

http://www.wincert.n...8166#entry78166

It seems that the only way is to create two Autounattend.xml files:

- One for your full unattended customized Windows 7 installation

- Second with this value, to choose the partition to install Windows 7 (C:\)


<DiskConfiguration>
<WillShowUI>Always</WillShowUI>
</DiskConfiguration>

*Or create TWO UA-DVD: One with your Autounattend.xml file at the root, and the other whithout Autounattend.xml file!

Create 2 partitions:


<component name="Microsoft-Windows-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="[url="http://schemas.microsoft.com/WMIConfig/2002/State"]http://schemas.microsoft.com/WMIConfig/2002/State[/url]" xmlns:xsi="[url="http://www.w3.org/2001/XMLSchema-instance"]http://www.w3.org/2001/XMLSchema-instance[/url]">
<Diagnostics>
<OptIn>false</OptIn>
</Diagnostics>
<DiskConfiguration>
<WillShowUI>OnError</WillShowUI>
<Disk wcm:action="add">
<DiskID>0</DiskID>
<WillWipeDisk>true</WillWipeDisk>
<CreatePartitions>
<CreatePartition wcm:action="add">
<Order>1</Order>
<Type>Primary</Type>
<Size>100</Size>
</CreatePartition>
<CreatePartition wcm:action="add">
<Order>2</Order>
<Size>10000</Size> //adapt the size on Virtual Machines or on HDD
<Type>Primary</Type>
</CreatePartition>
<CreatePartition wcm:action="add">
<Order>3</Order>
<Type>Primary</Type>
<Extend>true</Extend>
</CreatePartition>
</CreatePartitions>
<ModifyPartitions>
<ModifyPartition wcm:action="add">
<Order>1</Order>
<PartitionID>1</PartitionID>
<Label>System</Label>
<Format>NTFS</Format>
<Active>true</Active>
</ModifyPartition>
<ModifyPartition wcm:action="add">
<Order>2</Order>
<PartitionID>2</PartitionID>
<Letter>C</Letter>
<Label>SEVEN</Label>
<Format>NTFS</Format>
</ModifyPartition>
<ModifyPartition wcm:action="add">
<Order>3</Order>
<Format>NTFS</Format>
<PartitionID>3</PartitionID>
<Label>DATA</Label>
<Letter>D</Letter>
</ModifyPartition>
</ModifyPartitions>
</Disk>
</DiskConfiguration>
<ImageInstall>
<OSImage>
<InstallFrom>
<MetaData wcm:action="add">
<Key>/IMAGE/NAME</Key>
<Value>Windows 7 ULTIMATE</Value>
</MetaData>
</InstallFrom>
<InstallTo>
<DiskID>0</DiskID>
<PartitionID>2</PartitionID>
</InstallTo>
</OSImage>
</ImageInstall>

WARN: the all Disk will be fully wiped using silent creation partitions!

It's just an idea using two Autounattend.xml files!

*Edit: you must adapt the partitions sizes to your needs!!

*Edit2: Here is my answer to a question made by Etz (and moved by Legolash2o):

@myselfidem you should warn users, that your XML also erases whole disc and repartitions it. ;)

BTW, can you post example, how to format only two partitions on single HDD machine. eq. Disk 0 Part 1 nad Part 2. (System and Windows Install one), but leave third one (user data) untouched?

http://www.wincert.n...dpost__p__79259

Edited by myselfidem
Link to comment
Share on other sites

Ability to pre-select edition which one to install:

Disk formatting and partitioning via unattended.

Preferrably separate choices, that we can pre-format partitions, but not wipe whole disc and another with full blown disc wipe.

Link to comment
Share on other sites

  • 4 weeks later...
  • 3 months later...

hey lego, I hope you haven't forgotten about my request of comprehensive unattended.xml creator, I am really looking forward for a comprehensive autounattend.xml creator in winkit.

I remember you told me that you would address my request when you would start work on v1.4.

Edited by Legolash2o
Link to comment
Share on other sites

  • 2 months later...
  • 1 month later...

Hi Legolash2o,

Could you incorperate the option to opt-out the "Customer Experience Improvement Program".

I stumbled upon a google updater task when using 'Speccy' and investigated further. (< Non-Related to my Request :) )

A whole range of tasks are scheduled with a notation that it run cause of an 'opt-in'to the Customer Experience Improvement Program.

I either missed something setting up my image or the lack of the 'Opt-Out' option has automatically enabled it by deafault.

I did a quick search and found it can be controlled via the unattended answer file.

To disable the Windows Customer Experience Improvement Program by using an answer file with an unattended installation


  1. Using the methods you prefer for an unattended installation or a remote installation, create an answer file. For more information about unattended and remote installations, see Appendix A: Resources for Learning About Automated Installation and Deployment for Windows 7 and Windows Server 2008 R2.

  2. Confirm that your answer file includes the following line:

    <CEIPEnabled>0</CEIPEnabled>

The Appendix A can be found at: http://technet.micro...y/ee126117.aspx

If you need any other specifics, let me know and I'll see if I can provide you with what you need to implement this in the WinToolKit.

Thanks!

Edited by DeadWinter
Link to comment
Share on other sites

  • 3 months later...

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...