1 / 10

Using VHDs in Remediation Workshops

Using VHDs in Remediation Workshops. Overview. Advantages Simple and robust setup Use prepared VHDs Easy to reset (copy VHD file) Easy to switch between multiple VHDs No need for other imaging software (e.g. ImageX , Ghost). Notes

mathilde
Télécharger la présentation

Using VHDs in Remediation Workshops

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Using VHDs in Remediation Workshops

  2. Overview Advantages • Simple and robust setup • Use prepared VHDs • Easy to reset (copy VHD file) • Easy to switch between multiple VHDs • No need for other imaging software (e.g. ImageX, Ghost) Notes • Uses boot-from-VHD, not run-in-Virtual PC. Image will run image natively, notvirualzied • Host PC needs to run Windows 7.

  3. Mounting the VHD (optional) • Useful if you want to copy files into the VHD prior to usage. • Open Computer Management (run as Administrator) • Select Disk Management • Select More Actions  Attach VHD • VHD is now mounted as a drive

  4. Preparing the VHD • Copy c:\VHD\Original\*.* to c:\VHD\Run • Now you need to enable booting from the VHD using bcdedit.exe (CMD.EXE run as Administrator) Reuse this ID in the following to commands! (see speaker notes)

  5. Booting • New boot option available when you restart the PC. • At first boot drivers will be installed (~5min) • You can leave the license key empty

  6. Restoring original image • Copy c:\VHD\Original\*.* to c:\VHD\Run

  7. Deleting boot entries • CMD.exe (run as Administrator) (see speaker notes)

  8. Instructions for initial workshop setup • Install Windows 7 on all PCs • Copy 32-bit and 64-bit VHDs to all PCs and enable booting from them • Create a third VHD with apps yourself (see next slide) • So you have 3 configuations to boot from: • 32-bit Windows 7 • 64-bit Windows 7 • 32-bit Windows 7 with apps

  9. Creating 3rd VHD with Apps • Boot from 32-bit VHD (which is stored in C:\VHD\Run) • Install Office 2007 SP1 (trial version on microsoft.com) • Install Windows 7 SDK for this Windows build • Install Visual Studio 2008 SP1 (trial version) • Windows Update • Set environment variable for symbols: MD C:\Symbols SetX.exe /M _NT_SYMBOL_PATH "SRV*C:\Symbols*http://msdl.microsoft.com/download/symbols" • Latest public version of WinDbg ( Install Debugging Tools for Windows 32-bit Version or Install Debugging Tools for Windows 64-bit Versions ) • AppVerifier • Application Compatibility Toolkit 5.5 • Save this VHD to c:\VHD\Original and c:\VHD\Run (using a new filename) • Add new boot entry for this VHD using BCDEDIT • Copy to other machines (assuming hardware is identical)

  10. Instructions for resetting VHDs • On host computer delete VHDs in C:\VHD\Run • Copy C:\VHD\Original\*.* to C:\VHD\Run

More Related