Jump to content


  • 0
anyweb

what is Windows SIM and how can I use it ?

Question

What is it ?

 

Windows System Image Manager is a tool for editing XML files used in the deployment of Vista/Windows Server 2008. These XML files are sets of instructions telling Windows Setup how to proceed and install itself, in the past we would have edited such files (sysprep.inf, unattend.txt) using notepad, but now Windows has grown up and so has its' tools.

 

You can use Windows SIM to create an answer file (autounattend.xml or unattend.xml) that partitions and formats a disk before installing Windows, you can create an XML file for an unattended install of Vista/Server 2008, and then automate the process by copying the finished AutoUnattend.xml file to either the root of a USB key or the root of a Windows Vista (or Server 2008) DVD. When Windows setup starts it will query these locations if present for the file and if it finds the file it will use the settings found within.

 

Tip:

 

If you create an unattend.xml file using Windows System Image Manager (SIM) and you want to allow users to install Windows Vista with no user interaction, you would need to rename the file to autounattend.xml and copy it to the root of a USB Flash Drive.

 

 

 

How do I get it ?

 

Windows SIM is part of the Windows Automated Installation Kit (WAIK) so if you want it then you'll need to install the WAIK first. Note: this guide is aimed at customising Windows Vista. If you want to use Windows SIM to customise Windows 7 deployments then you'll need The Windows® Automated Installation Kit (AIK) for Windows® 7 which you can download here.

 

overview.jpg

 

As you can see from the screenshot above, there are 5 main areas to Windows SIM, and they are as follows:

 

1. distribution share (may contain $OEM$ Folders, Out-of-Box Drivers or the Packages directories, requires at least one of these dirs to be recognised as a DS)

2. windows image

3. answer file

4. properties

5. messages

 

When you start Windows SIM for the first time however, the above panes will all be blank as in the screenshot below

 

wsim_new.jpg

 

 

How can I use it ?

 

Before you can use Windows SIM you are going to need your Windows Vista DVD or your Windows Server 2008 DVD, so locate them and once done copy the contents of one of them to a folder locally.

 

eg: c:\source\w2k8dvd

 

Now that you have a local copy of the DVD, you can use that as your Windows source (we need to point number 2 above to the install.wim file on the local source). So let's do that, right click on Select a Windows Image and choose Select Windows Image

 

select.jpg

 

browse to the Local directory which contains a copy of your Windows DVD and choose the sources directory within there, select the install.wim file

 

sources.jpg

 

select an Image from the DVD, in my case I'm using a Windows Server 2008 64bit source.... I select Longhorn ServerStandard from the choices available

 

choice.jpg

 

Once done, you may get prompted to create a Catalog file, answer Yes. The catalog file contains descriptions of what components and packages the image contains so may take a few minutes to generate. After the Catalog file is created, our Windows Image pane will list some new nodes called Components and Packages and you can expand them to see what lies within.

 

windows_image.jpg

 

 

create New Answer File

 

Now that we have our Windows Image loaded, we will want to configure it so in the Answer File pane, right click and choose New Answer File

 

new_answer_file.jpg

 

Now that we have a new answer file we can start to configure it, and to do so we need to add components or packages from the Windows Image pane to our Answer file, and then we can make changes to the options we have chosen.

 

configure.jpg

 

Set Regional and Language options

 

In the Windows Image pane, expand the Components node and select Microsoft-Windows-International-Core-WinPE, in my example I have a amd64_ infront of Microsoft-Windows-International-Core-WinPE because I am using a 64bit image. If you are using 32 bit, yours will say X86_Microsoft-Windows-International-Core-WinPE

 

right click on the option and choose Add Setting to Pass 1 Windows PE

 

add_setting.jpg

 

In the Answer File section, expand the newly added setting and enter en-US as the value for Input Locale, System Locale,, UILanguge, UILanguageFallback and UserLocale

 

en_us.jpg

 

expand the SetupUILanguage option beneath, and add the en-US value to the UILanguage option

 

setupuilanguage.jpg

 

Validate our changes

 

We have now created an answer file and configured our language and regional options, it is important to understand that you can easily make mistakes creating an answer file, and Windows SIM has a checking tool built in to verify your changes, so to do that click on Validate answer File and look in the Messages pane for any messages.

 

validate.jpg

 

 

 

In addition to the above you may want to do the following actions

 

how can I join a Domain using Windows SIM

how can I configure the hard disc using Windows SIM

how can I install drivers using windows SIM

how can I change computername using Windows SIM

how can I add the product key using Windows SIM

how can I edit the EULA, FullName and Organization settings using Windows SIM

how can I decide which version of Windows get's installed using Windows SIM

 

 

 

Troubleshooting

 

Technet Resources > http://technet.microsoft.com/en-us/library/cc766073.aspx

 

if something is not going as planned, you can browse the C:\Windows\ and C:\Windows\Panther folders for log files, in particular the setupact.log and setuperr.log files

 

pressing left Shift and F10 together will bring up a command prompt during the Windows setup stage if you wish to view the files using notepad.

 

 

 

Some errors you may encounter:

 

Windows setup could not install one or more boot-critical drivers

 

this will happen at boot time and may occur after you have added new drivers to your USB key or DVD (or network share..), verify that the drivers are not causing a problem with network connectivity, for example if you've added a 3G modem driver and the error occurs, then you'll have to add that driver at a later stage of the installation.

 

 

 

 

Additional Reading:-

 

Document: Windows Automated Installation Kit for Windows 7 documentation (May 2010 Update)

http://www.microsoft.com/downloads/en/details.aspx?FamilyID=f1bae135-4190-4d7c-b193-19123141edaa

 

Video: How Do I: Unattended Answer Files Using Windows System Image

http://technet.microsoft.com/en-us/windows/dd179859.aspx

 

Podcast: How Do I: Get Ready for Windows 7 Deployment with the Windows Automated Installation Kit (WAIK) ?

http://www.microsoft.com/events/podcasts/default.aspx?seriesID=Series-acd4d6bf-efe0-4f7e-a1f6-13eecb0b28d6.xml&pageId=x6865&source=Microsoft-Podcasts-about-Windows-7:-Increase-Productivity,-Improve-Security,-and-Streamline-PC-Management&WT.rss_ev=a

Share this post


Link to post
Share on other sites

1 answer to this question

Recommended Posts

Join the conversation

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

Guest
Answer this question...

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

Loading...


×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.