Windows Automated Installation Kit

Subscribe to Windows IT Pro: https://store.pentontech.com/index.cfm?s=1&promocode=eu205xxL

====================

THESE COMPANIES HELP BRING YOU WINDOWS TIPS & TRICKS UPDATE FREE OF CHARGE.

Rackspace: The Number 8 Has Never Been So Impressive
http://www.rackspace.com/promo/december8monthsfree.php?CMP=windowsitpro_tips&tricks_dec_8months

Best Practices: Offsite Data Protection & Recovery
http://findtechinfo.com/bankinfo/nl/201

PC on a Stick: A Portable Endpoint Security Nightmare
http://www.windowsitpro.com/go/whitepapers/securewave/rogueapps/?code=T&Thot1211

==== Sponsor: Rackspace ====

Rackspace: The Number 8 Has Never Been So Impressive 8 Months of Managed Hosting at no cost...It might not be the most romantic anniversary gift, but it sure is thoughtful. For every customer, no matter how big or small, we do whatever it takes to make a difference. You get all the perks and benefits of our Fanatical Support customer service, 100% Network Uptime Guarantee, 1-Hour Hardware Replacement Guarantee, Immediate Emergency Ticket Response and 24x7x365 Live Expert Support. Become a Rackspace customer this December, and you could be the one lucky customer to get it all for eight months at no cost!
http://www.rackspace.com/promo/december8monthsfree.php?CMP=windowsitpro_tips&tricks_dec_8months

====================

FAQs
Q. What's the Windows Automated Installation Kit (WAIK)?
Q. How can I create the bootable Windows Preinstallation Environment (WinPE) CD-ROM that the Windows Automated Installation Kit (WAIK) uses?
Q. How can I use Diskpart to partition a disk?
Q. How can I start a command prompt session with Administrative privileges in Windows Vista?
Q. How can I use the snipping tool in Windows Vista to capture context menu contents or the Start menu?

==== Sponsor: Iron Mountain ====

Best Practices: Offsite Data Protection & Recovery

Could you recover if your business applications froze, a power outage destroyed critical information or if your servers succumbed to a virus? Odds aren't good. This free Executive's Guide will show how server backup and recovery can meet small to medium size business data disaster recovery needs.

http://findtechinfo.com/bankinfo/nl/201

====================

==== FAQs ====
by John Savill, FAQ Editor, jsavill@windowsitpro.com

IT Pro of the Month - November 2006 Winner Congratulations to Simon Zeltser who was voted the November 2006 "IT Pro of the Month." Adapting a solution he found in Windows Scripting Solutions, Simon developed what he calls a ProfileBackup solution, which effectively executes in two phases: backup and restore. He was able to upgrade more than 1500 PCs remotely, saving the IT staff time and the company money. To learn more about Simon's solution and to find out how you can become the next "IT Pro of the Month," please visit: http://www.windowsitpro.com/go/itpromonth

Q. What's the Windows Automated Installation Kit (WAIK)?

A. Microsoft has released WAIK ( http://www.microsoft.com/downloads/details.aspx?FamilyID=c7d4bc6d-15f3-4284-9123-679830d629f2&DisplayLang=en ). The kit comprises all the elements needed for the automated installation of the Windows Vista OS, including:
- Documentation consisting of whitepapers and compiled HTML that discusses the technologies
- Microsoft Windows Preinstallation Environment (WinPE), which is the basis for the capture and deployment of Vista
- The WAIK tools, which by default are installed to C:\Program Files\Windows AIK\ and consist of the Windows System Image Manager to enable the management of answer files to be used for automating installations; tools to manage WinPE instances; and Imagex, which is used to mount and modify the content of Windows Image (WIM) files

Using these tools you can
1. Build a CD-ROM that contains an in-memory WinPE instance with the imagex.exe tool.
2. Build a reference Vista PC with the applications required and then run Sysprep (which is now part of the OS in the c:\windows\system32\sysprep folder): c:\windows\system32\sysprep\sysprep.exe /oobe /generalize /shutdown
3. Boot to the CD-ROM and capture the contents of the reference machine with the Imagex command, as the following example shows:

d:\imagex.exe /compress fast /capture c: c:\vistawithoff2007.wim "Custom Vista Install with Office 2007" /verify


4. Copy the image to a network location.
5. Boot a new machine with the WinPE CD-ROM, copy the image, and extract it to the machine by using the Imagex command again, as in this example:

d:\imagex.exe /apply c:\vistawithoff2007.wim 1 c:

where the 1 is the image number contained in the WIM file.

This is a very manual process, so the WAIK download also includes the Windows Deployment Services (which is another topic but essentially replaces Remote Installation Services for Windows Server 2003 Service Pack 1--SP1--servers). These services support the WIM format for automated Vista deployment over the network using the answer files created with the Windows System Image Manager tool.

-------------------- Q. How can I create the bootable Windows Preinstallation Environment (WinPE) CD-ROM that the Windows Automated Installation Kit (WAIK) uses?

A. The WAIK has all the tools and information needed to create the ISO image that you can then burn to a CD-ROM. The following steps walk you through the procedure:
1. Open a command prompt on the machine with WAIK installed.
2. Navigate to the C:\Program Files\Windows AIK\Tools\PETools folder (the default installation path for WAIK).
3. Create a PE folder structure on the disk using the copype.cmd with this format:

copype.cmd

Where can be x86, amd64, or ia64 and is a path to local directory. For example: copype.cmd x86 c:\winpe_x86

A large number of file copies will be displayed to screen, and the path for the command prompt will be modified to enable simpler copying of the PE tools by adding the PE tools folder to the path.
4. Copy the imagex.exe command into the ISO folder (c:\winpe_x86\ISO) of the PE build from C:\program files\Windows AIK\Tools\x86\.
5. Also in the ISO folder place the content below into a file named wimscript.ini, which is used to instruct the Imagex command to ignore certain files from the capture. (Imagex automatically detects the presence of the file if it's in the same folder; if you place the imagex configuration file in another location, you'll have to pass the /config switch with the location and the name of the file during any capture or append operations (e.g., /config c:\imaging\imagexconfig.ini).

\[ExclusionList\] ntfs.log hiberfil.sys pagefile.sys "System Volume Information" RECYCLER Windows\CSC

\[CompressionExclusionList\] *.mp3 *.zip *.cab \WINDOWS\inf\*.pnf


6. You could optionally place other files in the ISO folder (e.g., a disk partitioning command list to be used with Diskpart as part of the installation).
7. Create an image (.iso) file by using the Oscdimg tool. To do so, open a command prompt and type the following:

C:\>cd \program files\Windows AIK\Tools\PETools\ C:\program files\Windows AIK\Tools\PETools\>oscdimg -n -bc:\winpe_x86\etfsboot.com c:\winpe_x86\ISO c:\winpe_x86\winpe_x86.iso

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

Q. How can I use Diskpart to partition a disk?

A. As part of a deployment using Microsoft Windows Preinstallation Environment (WinPE), you might need to partition the disk. The easiest way to do this is to place into a file the following commands: select disk 0 clean create partition primary select partition 1 assign letter=c: active format exit

Then execute the commands using the Diskpart command with the the /s parameter, as the following example shows: diskpart /s partscript.txt The command creates one partition with all the space; alternatively, you can replace the "create partition primary" with "create partition primary size=" (e.g. "create partition primary size=10000") to create a 10GB C: drive. The figure at http://www.windowsitpro.com/articles/images/pevistadiskpart.jpg shows the partitioning process in action.

-------------------- Q. How can I start a command prompt session with Administrative privileges in Windows Vista?

A. Under Vista, unless you're logged on as the Administrator account, all applications run in a reduced privilege mode, the equivalent of a standard user, even if your account has administrative privileges. When you execute a command that requires higher privileges, you're prompted on whether the action should be allowed. This is Vista's User Access Control (UAC) functionality. To start a command prompt session with full Administrator rights, right-click the Command Prompt Accessories shortcut (Start, Programs, Accessories, Command Prompt) and select "Run as administrator" from the displayed context menu, as the figure at http://www.windowsitpro.com/articles/images/vistacmdrunasadmin.jpg shows. When you run as Administrator, the command prompt title will show as "Administrator: Command Prompt" instead of the regular "C:\Windows\system32\cmd.exe" making it easier to tell when multiple command prompt windows are running, as the figure at http://www.windowsitpro.com/articles/images/cmdpromptadminandnonadmin.jpg shows.

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

Q. How can I use the snipping tool in Windows Vista to capture context menu contents or the Start menu?

A. By default, the Vista snipping tool can capture the contents of the full screen, an application window, a rectangular portion of the screen, or a freeform area. However, to access these, you must select the snipping tool, which closes any open context menus or Start menu display. To resolve this problem perform these steps:
1. Start the Snipping Tool (Start, Programs, Accessories, Snipping Tool). If the tool is already open, select New so that it's in capture mode.
2. Click Cancel so that the screen isn't waiting for screen area selection or minimize the snipping tool.
3. Open the menus or items you want to capture (e.g., click the Start menu and move through various sub-menus).
4. Press Ctrl-Print Screen (not Alt-Print Screen which is the regular key combination to copy the current window content to the clipboard).
5. The Snipping Tool will take control and be in the rectangular capture mode allowing you to select any portion of the screen including open menus. You can select an alternate capture mode (e.g., free-form if required).

To capture other areas, simply select New from the Snipping Tool, then minimize or click Cancel so it's ready to intercept the Ctrl - Print Screen action.

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

==== Hot Release ====

PC on a Stick: A Portable Endpoint Security Nightmare Threats to your data don't just come from the outside - they can come from internally as well, whether a result of malicious intent or unintentional negligence. Download this free whitepaper today to learn to effectively establish and enforce security policies for all applications and devices in use on your network.
http://www.windowsitpro.com/go/whitepapers/securewave/rogueapps/?code=T&Thot1211

==== Events and Resources ==== http://www.windowsitpro.com/events

No IT pro today works in a completely heterogeneous environment, and with virtualization, your chances of dealing with multiple OSs is increasing. Attend TechX World--available online December 14--and find out about virtualization, OS interoperability, directory and security integration, and data interoperability. Register today for free!
http://events.unisfair.com/rt/techx?code=1213emailannc

Sure, you know you've got compliance mechanisms in place. But do you have ways to easily and efficiently prove that your mechanisms are working? Join us for this free seminar to learn how you can demonstrate regulatory compliance for multiple regulations with fewer headaches. You'll also find out what "evidence" means to the auditor and make sure that you're collecting all of the information you need!
http://www.windowsitpro.com/go/seminars/bindview/multiregcompliance/?partnerref=1213emailannc

Maximize your investment in your VoIP network by using all of its capabilities. Learn to integrate Fax for IP to reduce the TCO and increase ROI for your investment. On-Demand Web Seminar
http://www.windowsitpro.com/go/seminars/faxback/leveragefax/?partnerref=1213emailannc

Discover a wealth of information about how to protect and secure your data in the event of a disaster. You may not be able to predict the exact details of a disaster, but you can be prepared with a solid response for when one strikes. Disaster can strike anywhere - not just where severe weather can hit - so make sure you're ready when it does. Download your free copy of this eBook today!
http://www.windowsitpro.com/go/ebooks/ca/disaster/?code=1216emailannc

Information is the "I" in "IT." Do you know where your information is? Is it protected? Backed-up? Download this free podcast today to find out the top 5 reasons that you should be considering storage consolidation.
http://www.windowsitpro.com/go/podcast/hp/consolidation/?code=1216emailannc

==== Featured White Paper ====

The average enterprise spends nearly $10 million annually on IT compliance. Download this free whitepaper today to streamline the compliance lifecycle and dramatically reduce your company's costs!
http://www.windowsitpro.com/go/whitepapers/scalable/compliance?code=1216featwp Bonus: Register for any whitepaper from Windows IT Pro during December - you could win a Nintendo Wii! View the full whitepaper listing at http://www.windowsitpro.com/whiteppaers - and remember, the more you download, the better your chances of winning.

===== Announcements ====

Holiday Offer - Save $40 off Windows IT Pro Don't miss Windows IT Pro magazine in 2007! As a subscriber, you'll have full access to must-have content covering Windows Vista deployment, virtualization & disaster recovery, Active Directory enhancements, Office 2007 launch, SharePoint fundamentals and much more. Order now and save $40:
https://store.pentontech.com/index.cfm?s=1&promocode=eu206cuw

Make Your Mark on the IT Community! Nominate yourself or a peer to become an "IT Pro of the Month." This is your chance to get the recognition you deserve! Winners will receive over $600 in IT resources and be featured in Windows IT Pro magazine and the TechNet Flash email newsletter. It's easy to enter -- accepting January nominations now for a limited-time! Submit your nomination today:
http://www.windowsitpro.com/go/itpromonth ====================

==== Contact Us ====

About the newsletter -- letters@windowsitpro.com About technical questions -- http://www.windowsitpro.com/forums About product news -- products@windowsitpro.com About your subscription -- tipsandtricks@windowsitpro.com About sponsoring UPDATE-- salesopps@windowsitpro.com

====================

This email newsletter is brought to you by Windows IT Pro, the leading publication for IT professionals deploying Windows and related technologies. Subscribe today.
https://store.pentontech.com/index.cfm?s=1&promocode=eu205xxb

Make sure your copy of Windows Tips & Tricks UPDATE isn't mistakenly blocked by antispam software! Be sure to add Windows_TipsandTricks_UPDATE@list.windowsitpro.com to your list of allowed senders and contacts.

Manage Your Account You are subscribed as %%$email%%

You are receiving this email message because you subscribed to this newsletter on our Web site. To unsubscribe, click the unsubscribe link:

http://list.windowsitpro.com/u?id=%%SUBSCRIBER_ID_TAG%%

View the Windows IT Pro Privacy policy at http://www.windowsitpro.com/AboutUs/Index.cfm?action=privacy

Windows IT Pro, a division of Penton Media, Inc. 221 East 29th Street, Loveland, CO 80538, Attention: Customer Service Department

Copyright 2006, Penton Media, Inc. All Rights Reserved.