7Win8 Recovery and Troubleshooting

77
September 2012 Windows 8 Recovery and Troubleshooting

Transcript of 7Win8 Recovery and Troubleshooting

Page 1: 7Win8 Recovery and Troubleshooting

September 2012

Windows 8

Recovery and Troubleshooting

Page 2: 7Win8 Recovery and Troubleshooting

2012 LENOVO CONFIDENTIAL. ALL RIGHTS RESERVED.2

OVERVIEW

Windows 8 includes several new resources for troubleshooting and options for recovering your system from errors or problems: Support Resources Push-Button Reset File History Windows 7 File Recovery Boot Menu and WinRE Other Troubleshooting Changes

© 2012 Microsoft Corporation. All rights reserved. Microsoft Confidential - For Internal and Partner Use Only 2

Page 3: 7Win8 Recovery and Troubleshooting

2012 LENOVO CONFIDENTIAL. ALL RIGHTS RESERVED.3

Page 4: 7Win8 Recovery and Troubleshooting

2012 LENOVO CONFIDENTIAL. ALL RIGHTS RESERVED.4

SUPPORT RESOURCES

Windows Online: http://windows.microsoft.com

Building Windows 8 Blog: http://blogs.msdn.com/b/b8/

Windows Experience Blog: http://windowsteamblog.com/windows/b/windowsexperience

Answers: http://answers.microsoft.com/en-us/windows/forum/windows_8

TechNet: http://technet.microsoft.com/en-us/windows/hh771457 © 2012 Microsoft Corporation. All rights reserved. Microsoft Confidential - For Internal and Partner Use Only 4

Page 5: 7Win8 Recovery and Troubleshooting

2012 LENOVO CONFIDENTIAL. ALL RIGHTS RESERVED.5

INFORMATION FOR CUSTOMERS: HELP AND SUPPORT Consumer-facing help for Windows 8 is available from

several sources: Microsoft: Help & Support in the product, Windows Online OEM Help Content Community Content, such as in Microsoft Answers

Windows 8 has been designed to help you find and access relevant help content from each of these sources.

© 2012 Microsoft Corporation. All rights reserved. Microsoft Confidential - For Internal and Partner Use Only 5

Page 6: 7Win8 Recovery and Troubleshooting

2012 LENOVO CONFIDENTIAL. ALL RIGHTS RESERVED.6

SETTINGS CHARM …

1.Bring up the Charms bar by swiping in from the right on a touch PC, or move the mouse pointer to a right-side corner.

2.Click or tap Settings to access help.

© 2012 Microsoft Corporation. All rights reserved. Microsoft Confidential - For Internal and Partner Use Only 6

Page 7: 7Win8 Recovery and Troubleshooting

2012 LENOVO CONFIDENTIAL. ALL RIGHTS RESERVED.7

SETTINGS CHARM …

3.Click Help.

© 2012 Microsoft Corporation. All rights reserved. Microsoft Confidential - For Internal and Partner Use Only 7

Page 8: 7Win8 Recovery and Troubleshooting

2012 LENOVO CONFIDENTIAL. ALL RIGHTS RESERVED.8

SETTINGS CHARM …

Help provided in this interface is focused on key usage tasks for which new Windows 8 users may need help.

Help information on the Microsoft website is displayed in Microsoft Windows Internet Explorer, so that users are getting the most up-to-date content.

© 2012 Microsoft Corporation. All rights reserved. Microsoft Confidential - For Internal and Partner Use Only 8

Page 9: 7Win8 Recovery and Troubleshooting

2012 LENOVO CONFIDENTIAL. ALL RIGHTS RESERVED.9

SETTINGS CHARM …

While in an app, the Settings charm provides app-specific help.

As with the Start screen help, this Help content can be context-specific.

© 2012 Microsoft Corporation. All rights reserved. Microsoft Confidential - For Internal and Partner Use Only 9

Page 10: 7Win8 Recovery and Troubleshooting

2012 LENOVO CONFIDENTIAL. ALL RIGHTS RESERVED.10

… SETTINGS CHARM

While at the desktop, the Settings charm opens Windows Help and Support.

The interface has been updated for Windows 8 with a new look and a better touch input experience.

© 2012 Microsoft Corporation. All rights reserved. Microsoft Confidential - For Internal and Partner Use Only 10

Page 11: 7Win8 Recovery and Troubleshooting

2012 LENOVO CONFIDENTIAL. ALL RIGHTS RESERVED.11

SEARCH FOR HELP …

Searching for a specific keyword in a problem scenario can bring more targeted results.

By selecting the Settings option in the search pane, you have access to top troubleshooters related to the keyword.

© 2012 Microsoft Corporation. All rights reserved. Microsoft Confidential - For Internal and Partner Use Only 11

Page 12: 7Win8 Recovery and Troubleshooting

2012 LENOVO CONFIDENTIAL. ALL RIGHTS RESERVED.12

… SEARCH FOR HELP

When you search within the desktop help interface, you have access to multiple information sources, such as: Windows help content Answers community content Help content from your OEM

The Show results from selection lets you choose which type of help content to view.

© 2012 Microsoft Corporation. All rights reserved. Microsoft Confidential - For Internal and Partner Use Only 12

Page 13: 7Win8 Recovery and Troubleshooting

2012 LENOVO CONFIDENTIAL. ALL RIGHTS RESERVED.13

Page 14: 7Win8 Recovery and Troubleshooting

2012 LENOVO CONFIDENTIAL. ALL RIGHTS RESERVED.14

PUSH-BUTTON RESET …

Options for returning your PC to a known configuration.

Two options: Refresh your PC without

affecting your files Remove everything and

reinstall Windows

© 2012 Microsoft Corporation. All rights reserved. Microsoft Confidential - For Internal and Partner Use Only 14

Page 15: 7Win8 Recovery and Troubleshooting

2012 LENOVO CONFIDENTIAL. ALL RIGHTS RESERVED.15

… PUSH-BUTTON RESET

Requires one of the following: Preloaded recovery partition on the PC. Recovery media provided by the OEM. Installation media, such as a Windows 8 DVD or USB flash drive.

© 2012 Microsoft Corporation. All rights reserved. Microsoft Confidential - For Internal and Partner Use Only 15

Page 16: 7Win8 Recovery and Troubleshooting

2012 LENOVO CONFIDENTIAL. ALL RIGHTS RESERVED.16

REFRESH YOUR PC WITHOUT AFFECTING YOUR FILES

© 2012 Microsoft Corporation. All rights reserved. Microsoft Confidential - For Internal and Partner Use Only 16

Preserved Returned to Default User Accounts including local accounts,

Connected accounts and cached domain accounts.

All files on all hard drives except as noted under Removed.

Personalization settings from Windows Welcome and PC Settings.

Metro style apps are reinstalled automatically.

Bitlocker configuration: If it is enabled, Bitlocker is suspended automatically during the Refresh.

Contents of the following folders:

o \Windows

o \Program Files

o \Program Files (x86)

o \ProgramData

o \Users\<profile>\AppData

o OEM-created folders are returned to the state in the recovery source.

App settings are reset to their defaults.

Desktop apps are removed unless they were preloaded on the PC from the manufacturer.

Page 17: 7Win8 Recovery and Troubleshooting

2012 LENOVO CONFIDENTIAL. ALL RIGHTS RESERVED.17

REFRESH STEPS …

1.General section of PC Settings.

2.Click the Get started button under Refresh your PC

3.Click Next.

© 2012 Microsoft Corporation. All rights reserved. Microsoft Confidential - For Internal and Partner Use Only 17

Page 18: 7Win8 Recovery and Troubleshooting

2012 LENOVO CONFIDENTIAL. ALL RIGHTS RESERVED.18

REFRESH STEPS …

4.You may be prompted to insert installation or recovery media.

© 2012 Microsoft Corporation. All rights reserved. Microsoft Confidential - For Internal and Partner Use Only 18

Page 19: 7Win8 Recovery and Troubleshooting

2012 LENOVO CONFIDENTIAL. ALL RIGHTS RESERVED.19

REFRESH STEPS …

5.Click the Refresh button at the Ready to refresh your PC step.

© 2012 Microsoft Corporation. All rights reserved. Microsoft Confidential - For Internal and Partner Use Only 19

Page 20: 7Win8 Recovery and Troubleshooting

2012 LENOVO CONFIDENTIAL. ALL RIGHTS RESERVED.20

… REFRESH STEPS

© 2012 Microsoft Corporation. All rights reserved. Microsoft Confidential - For Internal and Partner Use Only 20

Page 21: 7Win8 Recovery and Troubleshooting

2012 LENOVO CONFIDENTIAL. ALL RIGHTS RESERVED.21

REMOVE EVERYTHING AND REINSTALL WINDOWS

© 2012 Microsoft Corporation. All rights reserved. Microsoft Confidential - For Internal and Partner Use Only 21

Permanently removes your personal files and apps from the PC and returns Windows 8 to its original state.

Preserved Returned to Default Activation State

Files on non-Windows drives (optional)

Everything

Non-Windows drives (optional)

Page 22: 7Win8 Recovery and Troubleshooting

2012 LENOVO CONFIDENTIAL. ALL RIGHTS RESERVED.22

ACTIVATION STATE

The only configuration element preserved by a Refresh is the Windows activation state.

In most cases Windows should be activated automatically at the end of Reset without user action.

Exception: Installed Pro Pack or Media Pack to upgrade the Windows edition.

© 2012 Microsoft Corporation. All rights reserved. Microsoft Confidential - For Internal and Partner Use Only 22

Page 23: 7Win8 Recovery and Troubleshooting

2012 LENOVO CONFIDENTIAL. ALL RIGHTS RESERVED.23

REMOVE EVERYTHING STEPS …

© 2012 Microsoft Corporation. All rights reserved. Microsoft Confidential - For Internal and Partner Use Only 23

1.General section of PC Settings.

2.Click the Get started button under Reset your PC and start over.

3.Click Next.

Page 24: 7Win8 Recovery and Troubleshooting

2012 LENOVO CONFIDENTIAL. ALL RIGHTS RESERVED.24

REMOVE EVERYTHING STEPS …

4.May be prompted forWindows 8 media.

5.Multiple drives? Option to remove files from the Windows drive only, or from all drives.

© 2012 Microsoft Corporation. All rights reserved. Microsoft Confidential - For Internal and Partner Use Only 24

Page 25: 7Win8 Recovery and Troubleshooting

2012 LENOVO CONFIDENTIAL. ALL RIGHTS RESERVED.25

REMOVE EVERYTHING STEPS …

6.Choose to Just remove my files or to Fully clean the drive.

© 2012 Microsoft Corporation. All rights reserved. Microsoft Confidential - For Internal and Partner Use Only 25

Page 26: 7Win8 Recovery and Troubleshooting

2012 LENOVO CONFIDENTIAL. ALL RIGHTS RESERVED.26

REMOVE EVERYTHING STEPS …

© 2012 Microsoft Corporation. All rights reserved. Microsoft Confidential - For Internal and Partner Use Only 26

Option DescriptionJust remove my files

This option performs a quick format of the disk. This deletes the table on the drive that contains file system pointers to your data files. It does not delete the actual file data or touch the parts of the disk where the data exists.

Fully clean the drive

The behavior of this option will vary depending on if the drive is encrypted with BitLocker.

If the volume is not encrypted, then this option performs a full format of the disk and writes zeroes to every sector. This will take quite a long time. This is similar to running the command below:

format.exe c:\ /P:0

If the volume is encrypted with Bitlocker, only a quick format is performed, as that wipes all of the information necessary to decrypt the disk. With no way to decrypt the disk, the data is effectively lost.

Page 27: 7Win8 Recovery and Troubleshooting

2012 LENOVO CONFIDENTIAL. ALL RIGHTS RESERVED.27

REMOVE EVERYTHING STEPS …

7.Click the Reset button at the Ready to reset your PC step.

© 2012 Microsoft Corporation. All rights reserved. Microsoft Confidential - For Internal and Partner Use Only 27

Page 28: 7Win8 Recovery and Troubleshooting

2012 LENOVO CONFIDENTIAL. ALL RIGHTS RESERVED.28

REMOVE EVERYTHING STEPS …

© 2012 Microsoft Corporation. All rights reserved. Microsoft Confidential - For Internal and Partner Use Only 28

Page 29: 7Win8 Recovery and Troubleshooting

2012 LENOVO CONFIDENTIAL. ALL RIGHTS RESERVED.29

REMOVE EVERYTHING STEPS …

9.On a PC where the Pro Pack or Media Pack was installed, you will needto enter your Product Key.

© 2012 Microsoft Corporation. All rights reserved. Microsoft Confidential - For Internal and Partner Use Only 29

Page 30: 7Win8 Recovery and Troubleshooting

2012 LENOVO CONFIDENTIAL. ALL RIGHTS RESERVED.30

… REMOVE EVERYTHING STEPS

10.Click Accept to accept the License Terms and complete the reset.

© 2012 Microsoft Corporation. All rights reserved. Microsoft Confidential - For Internal and Partner Use Only 30

Page 31: 7Win8 Recovery and Troubleshooting

2012 LENOVO CONFIDENTIAL. ALL RIGHTS RESERVED.31

TROUBLESHOOTING PUSH-BUTTON RESET

© 2012 Microsoft Corporation. All rights reserved. Microsoft Confidential - For Internal and Partner Use Only 31

Log File Event Types DescriptionSystemResetPlatform.log, in one of the following locations:

%LocalAppData%\Temp\

\Windows\Logs\PBR\PreRollbackLogs

Early actions, user account and app identification.

This log captures activity prior to the start of the normal setup engine logging.

Note that the date and time used is in GMT, rather than the local time zone used in the other log files. When comparing this to other log files, remember to add or subtract hours as-needed to align for comparison.

\Windows\Logs\PBR\Mig\setupact.log Refresh log for setup and migration activity.

This is where you can find errors and events related to the migration of data files and settings during a Refresh. Some of this activity is logged to the normal setupact.log location, but this log should be more complete.

\Windows\Panther\setupact.log Reset log for setup engine events and errors.

Use this log and the setuperr.log in the same location to check for and research problems encountered during setup activities in a Reset.

\Windows\Logs\PBR\DISM.log Servicing related activities.

This log contains entries created during the early part of the Reset or Refresh, including setting up temporary folders, identifying the edition of Windows, and locating the installation source or OEM reset files.

Page 32: 7Win8 Recovery and Troubleshooting

2012 LENOVO CONFIDENTIAL. ALL RIGHTS RESERVED.32

RESET …

When you click Cancel, you are taken to the normal startup menu. Re-start the Refresh by clicking Troubleshoot and then Reset your PC.

© 2012 Microsoft Corporation. All rights reserved. Microsoft Confidential - For Internal and Partner Use Only 32

Page 33: 7Win8 Recovery and Troubleshooting

2012 LENOVO CONFIDENTIAL. ALL RIGHTS RESERVED.33

… RESET

Troubleshooting considerations for issues with Reset prior to the restart include: Recovery image partition Formatting issues Product Key Feature Pack

© 2012 Microsoft Corporation. All rights reserved. Microsoft Confidential - For Internal and Partner Use Only 33

Page 34: 7Win8 Recovery and Troubleshooting

2012 LENOVO CONFIDENTIAL. ALL RIGHTS RESERVED.34

REFRESH …

If interrupted bypower failure or other event, it will use a rollback mechanism to return you to the original configuration.

© 2012 Microsoft Corporation. All rights reserved. Microsoft Confidential - For Internal and Partner Use Only 34

Page 35: 7Win8 Recovery and Troubleshooting

2012 LENOVO CONFIDENTIAL. ALL RIGHTS RESERVED.35

… REFRESH

You can search for solutions to the problem using the link in the message.

Troubleshooting depends on the type of issue encountered: Migration issue Setup actions

© 2012 Microsoft Corporation. All rights reserved. Microsoft Confidential - For Internal and Partner Use Only 35

Page 36: 7Win8 Recovery and Troubleshooting

2012 LENOVO CONFIDENTIAL. ALL RIGHTS RESERVED.36

REFRESH AND WINDOWS UPDATE

Updates that have been downloaded and staged by Windows Servicing in the component store are preserved during a Refresh.

Two consequences: Benefit: Updates do not need to be re-downloaded. Risk: Need a clean Windows Servicing state? You may need to perform

an in-place upgrade of Windows, just as was done with Windows 7.

© 2012 Microsoft Corporation. All rights reserved. Microsoft Confidential - For Internal and Partner Use Only 36

Page 37: 7Win8 Recovery and Troubleshooting

2012 LENOVO CONFIDENTIAL. ALL RIGHTS RESERVED.37

Page 38: 7Win8 Recovery and Troubleshooting

2012 LENOVO CONFIDENTIAL. ALL RIGHTS RESERVED.38

FILE HISTORY

New Windows 8 feature for protecting personal files. Protects your data by periodically scanning the file

system for changes to files in your Libraries and several other important folders under the user profile.

Every time one of your files changes, File History stores a copy of the file on a dedicated storage device that you selected when you set up File History.

© 2012 Microsoft Corporation. All rights reserved. Microsoft Confidential - For Internal and Partner Use Only 38

Page 39: 7Win8 Recovery and Troubleshooting

2012 LENOVO CONFIDENTIAL. ALL RIGHTS RESERVED.39

ACCESSING YOUR FILE HISTORY

The File History interface is designed to help you quickly find what you’re looking for and restore it with one click (or tap).

© 2012 Microsoft Corporation. All rights reserved. Microsoft Confidential - For Internal and Partner Use Only 39

Page 40: 7Win8 Recovery and Troubleshooting

2012 LENOVO CONFIDENTIAL. ALL RIGHTS RESERVED.40

CONFIGURATION …

File History is not enabled by default. You can enable File History from Control Panel.

© 2012 Microsoft Corporation. All rights reserved. Microsoft Confidential - For Internal and Partner Use Only 40

Page 41: 7Win8 Recovery and Troubleshooting

2012 LENOVO CONFIDENTIAL. ALL RIGHTS RESERVED.41

CONFIGURATION …

When File History is turned on, the last copied date and time is displayed in the interface.

© 2012 Microsoft Corporation. All rights reserved. Microsoft Confidential - For Internal and Partner Use Only 41

Page 42: 7Win8 Recovery and Troubleshooting

2012 LENOVO CONFIDENTIAL. ALL RIGHTS RESERVED.42

… CONFIGURATION

You can also enable File History through Windows Explorer:1. Open Windows Explorer and click the History button on the Home tab of the

ribbon. 2. Click Turn on File History.

© 2012 Microsoft Corporation. All rights reserved. Microsoft Confidential - For Internal and Partner Use Only 42

Page 43: 7Win8 Recovery and Troubleshooting

2012 LENOVO CONFIDENTIAL. ALL RIGHTS RESERVED.43

LOCATIONS IN THE FILE HISTORY

File History saves changes to files in the following locations: Libraries Desktop Favorites Contacts SkyDrive folder (if you have the SkyDrive sync app installed0).

Change scope in two ways: Add a folder to a Library. To exclude a folder, use the Exclude folders option on the left

side of the File History interface.

© 2012 Microsoft Corporation. All rights reserved. Microsoft Confidential - For Internal and Partner Use Only 43

Page 44: 7Win8 Recovery and Troubleshooting

2012 LENOVO CONFIDENTIAL. ALL RIGHTS RESERVED.44

SELECT THE FILE HISTORY TARGET DRIVE …

Target is either a hard disk or a network share:

§ Open File History in Control Panel.

§ Click Change drive.§ All eligible local drives

are shown in a list.

© 2012 Microsoft Corporation. All rights reserved. Microsoft Confidential - For Internal and Partner Use Only 44

Page 45: 7Win8 Recovery and Troubleshooting

2012 LENOVO CONFIDENTIAL. ALL RIGHTS RESERVED.45

… SELECT THE FILE HISTORY TARGET DRIVE

4.Select your desired target drive and click OK.5.You will see a dialog asking "Do you want to

move your existing files, too?“ Click Yes or No.

© 2012 Microsoft Corporation. All rights reserved. Microsoft Confidential - For Internal and Partner Use Only 45

Page 46: 7Win8 Recovery and Troubleshooting

2012 LENOVO CONFIDENTIAL. ALL RIGHTS RESERVED.46

CONFIGURATION WITH A NETWORK SHARE …

1.Open the File History Control Panel.

2.Click Change drive.3.Click Add network

location.

© 2012 Microsoft Corporation. All rights reserved. Microsoft Confidential - For Internal and Partner Use Only 46

Page 47: 7Win8 Recovery and Troubleshooting

2012 LENOVO CONFIDENTIAL. ALL RIGHTS RESERVED.47

… CONFIGURATION WITH A NETWORK SHARE

4.Browse to and select the network share where you want to save your File History copies.

5.You will see a dialog asking "Do you want to move your existing files, too?“ Click Yes or No.

© 2012 Microsoft Corporation. All rights reserved. Microsoft Confidential - For Internal and Partner Use Only 47

Page 48: 7Win8 Recovery and Troubleshooting

2012 LENOVO CONFIDENTIAL. ALL RIGHTS RESERVED.48

RECOVERING FILES WITH FILE HISTORY …

You can access the interface for recovering files with File History using a few different methods: In Windows Explorer, click the History button on the Home tab. In the File History Control Panel, click Restore personal files.

© 2012 Microsoft Corporation. All rights reserved. Microsoft Confidential - For Internal and Partner Use Only 48

Page 49: 7Win8 Recovery and Troubleshooting

2012 LENOVO CONFIDENTIAL. ALL RIGHTS RESERVED.49

RECOVERING FILES WITH FILE HISTORY …

© 2012 Microsoft Corporation. All rights reserved. Microsoft Confidential - For Internal and Partner Use Only 49

Page 50: 7Win8 Recovery and Troubleshooting

2012 LENOVO CONFIDENTIAL. ALL RIGHTS RESERVED.50

… RECOVERING FILES WITH FILE HISTORY

In the File History window: Click Home. Navigate between days and times. Click to select the files and folders you would like to restore. Click the restore button to move files back to their original location.

To restore files to a location other than their original location:§ Click the Settings icon on the top left of the window (it looks like a gear).§ Select File > Restore > Restore To.§ Browse to the folder you want to restore the files and folders to.§ Click Select Folder.

© 2012 Microsoft Corporation. All rights reserved. Microsoft Confidential - For Internal and Partner Use Only 50

Page 51: 7Win8 Recovery and Troubleshooting

2012 LENOVO CONFIDENTIAL. ALL RIGHTS RESERVED.51

FILE HISTORY DETAILS – STORAGE …

You can save the File History to any drive that satisfies these requirements: File History can be on:

A Local internal drive A Local external drive A network share

You cannot put the File History on the same physical disk as the Windows drive.

© 2012 Microsoft Corporation. All rights reserved. Microsoft Confidential - For Internal and Partner Use Only 51

Page 52: 7Win8 Recovery and Troubleshooting

2012 LENOVO CONFIDENTIAL. ALL RIGHTS RESERVED.52

… FILE HISTORY DETAILS – STORAGE

Folder structure: Top Level: \FileHistory\<User Name> Second Level: \<Computer Name> Third Level: \Configuration Third Level: \Data Fourth + Level: \<Full path to user data>

© 2012 Microsoft Corporation. All rights reserved. Microsoft Confidential - For Internal and Partner Use Only 52

Page 53: 7Win8 Recovery and Troubleshooting

2012 LENOVO CONFIDENTIAL. ALL RIGHTS RESERVED.53

FILE HISTORY DETAILS – OFFLINE CACHE

If the external drive or network share is not available, data is copied to an offline cache

Saved to the correct location when it is available. This offline staging area is located at:%LocalAppData%\Microsoft\Windows\FileHistory.

© 2012 Microsoft Corporation. All rights reserved. Microsoft Confidential - For Internal and Partner Use Only 53

Page 54: 7Win8 Recovery and Troubleshooting

2012 LENOVO CONFIDENTIAL. ALL RIGHTS RESERVED.54

FILE HISTORY DETAILS – SETTINGS

The options are as follows: Save copies of files Size of offline cache Keep saved versions Recommend this drive Open File History event logs

© 2012 Microsoft Corporation. All rights reserved. Microsoft Confidential - For Internal and Partner Use Only 54

Page 55: 7Win8 Recovery and Troubleshooting

2012 LENOVO CONFIDENTIAL. ALL RIGHTS RESERVED.55

Page 56: 7Win8 Recovery and Troubleshooting

2012 LENOVO CONFIDENTIAL. ALL RIGHTS RESERVED.56

WINDOWS 7 FILE RECOVERY

Windows 7 Backup and Restore functionality is included in Windows 8 so that you can restore from a Windows 7 backup.

Functionality and troubleshooting has not changed from Windows 7.

© 2012 Microsoft Corporation. All rights reserved. Microsoft Confidential - For Internal and Partner Use Only 56

Page 57: 7Win8 Recovery and Troubleshooting

2012 LENOVO CONFIDENTIAL. ALL RIGHTS RESERVED.57

Page 58: 7Win8 Recovery and Troubleshooting

2012 LENOVO CONFIDENTIAL. ALL RIGHTS RESERVED.58

BOOT MENU AND WINRE …

The interfaces are now graphical and support touch and mouse input.

Many of the options are still the same; however, they are just presented to the user using this new touch-friendly interface.

© 2012 Microsoft Corporation. All rights reserved. Microsoft Confidential - For Internal and Partner Use Only 58

Page 59: 7Win8 Recovery and Troubleshooting

2012 LENOVO CONFIDENTIAL. ALL RIGHTS RESERVED.59

… BOOT MENU AND WINRE

The WinRE options menu uses the same style.

© 2012 Microsoft Corporation. All rights reserved. Microsoft Confidential - For Internal and Partner Use Only 59

Page 60: 7Win8 Recovery and Troubleshooting

2012 LENOVO CONFIDENTIAL. ALL RIGHTS RESERVED.60

TROUBLESHOOTING OPTIONS …

On the Startup menu, click Change defaults or choose other options, then click Troubleshoot.

On the WinRE Options menu, click Troubleshoot.

© 2012 Microsoft Corporation. All rights reserved. Microsoft Confidential - For Internal and Partner Use Only 60

Page 61: 7Win8 Recovery and Troubleshooting

2012 LENOVO CONFIDENTIAL. ALL RIGHTS RESERVED.61

TROUBLESHOOTING OPTIONS …

The following options are available in this menu: Refresh your PC Reset your PC Advanced options

Advanced options brings you to a menu showing a selection of tools similar to in the Windows 7 WinRE interface.

© 2012 Microsoft Corporation. All rights reserved. Microsoft Confidential - For Internal and Partner Use Only 61

Page 62: 7Win8 Recovery and Troubleshooting

2012 LENOVO CONFIDENTIAL. ALL RIGHTS RESERVED.62

… TROUBLESHOOTING OPTIONS

The tools available here include: System Restore System Image Recovery Automatic Repair (launches Startup Repair) Command Prompt

© 2012 Microsoft Corporation. All rights reserved. Microsoft Confidential - For Internal and Partner Use Only 62

Page 63: 7Win8 Recovery and Troubleshooting

2012 LENOVO CONFIDENTIAL. ALL RIGHTS RESERVED.63

Page 64: 7Win8 Recovery and Troubleshooting

2012 LENOVO CONFIDENTIAL. ALL RIGHTS RESERVED.64

MSCONFIG

The Startup tab in MSConfig has been replaced in functionality by the new Task Manager.

MSConfig provides a link to open Task Manager to help direct you to the best tool for startup troubleshooting.

© 2012 Microsoft Corporation. All rights reserved. Microsoft Confidential - For Internal and Partner Use Only 64

Page 65: 7Win8 Recovery and Troubleshooting

2012 LENOVO CONFIDENTIAL. ALL RIGHTS RESERVED.65

LAST KNOWN GOOD CONFIGURATION REMOVAL Disabled in Windows 8.

Last Known Good Configuration has become less useful in recent versions.

Still incurred some overhead during startup.

© 2012 Microsoft Corporation. All rights reserved. Microsoft Confidential - For Internal and Partner Use Only 65

Page 66: 7Win8 Recovery and Troubleshooting

2012 LENOVO CONFIDENTIAL. ALL RIGHTS RESERVED.66

STOP ERRORS

Windows 8 has replaced the STOP error screens with a simpler message.

To collect more details: Open the Error Reporting

interface and sort the list of error reports.

View the Reliability History in Action Center.

Use the Windows Error Reporting events in the System log.© 2012 Microsoft Corporation. All rights reserved. Microsoft Confidential - For Internal and Partner Use Only 66

Page 67: 7Win8 Recovery and Troubleshooting

2012 LENOVO CONFIDENTIAL. ALL RIGHTS RESERVED.67

WINDOWS POWERSHELL

The Windows PowerShell environment is increasingly important for Windows management and support.

Windows 8 is the first version of Windows where some consumer troubleshooting actions are only possible using Windows PowerShell. http://technet.microsoft.com/en-us/scriptcenter/dd772285.aspx http://technet.microsoft.com/en-us/scriptcenter/dd742419.aspx http://technet.microsoft.com/en-us/library/cc196356.aspx

© 2012 Microsoft Corporation. All rights reserved. Microsoft Confidential - For Internal and Partner Use Only 67

Page 68: 7Win8 Recovery and Troubleshooting

2012 LENOVO CONFIDENTIAL. ALL RIGHTS RESERVED.68

COMMAND LINE AND SCRIPTING

Much of the guidance is focused on scripting. If you have little scripting experience, don’t let this worry you. Windows PowerShell is really intended to provide a broad

and flexible interface to many Windows subsystems that can be leveraged at the command line or through scripts.

© 2012 Microsoft Corporation. All rights reserved. Microsoft Confidential - For Internal and Partner Use Only 68

Page 69: 7Win8 Recovery and Troubleshooting

2012 LENOVO CONFIDENTIAL. ALL RIGHTS RESERVED.69

CONSISTENT SYNTAX …

Windows PowerShell uses much more consistent syntax than many Windows command-line tools.

You can pass output from one cmdlet as input into another. Examples:

Get-serviceGet-service -name wuauservGet-childitem -path hklm:\Software\Microsoft\Windows\CurrentVersionGet-childitem -path c:\Windows\Logs\CBSGet-bitstransferGet-process -name explorerGet-process -name explorer -module

© 2012 Microsoft Corporation. All rights reserved. Microsoft Confidential - For Internal and Partner Use Only 69

Page 70: 7Win8 Recovery and Troubleshooting

2012 LENOVO CONFIDENTIAL. ALL RIGHTS RESERVED.70

… CONSISTENT SYNTAX

If we wanted to collect this kind of information in CMD, we would be using many different sets of syntax rules.

You can also start programs and use very CMD-like syntax within Windows PowerShell.

When you add the ability to format output, filter, and chain cmdlets together, there is a great deal of flexibility in Windows PowerShell.

© 2012 Microsoft Corporation. All rights reserved. Microsoft Confidential - For Internal and Partner Use Only 70

Page 71: 7Win8 Recovery and Troubleshooting

2012 LENOVO CONFIDENTIAL. ALL RIGHTS RESERVED.71

CMDLETS IN WINDOWS 8

The most important thing to learn is the existence and usage of several cmdlets that are new in Windows 8 and impact troubleshooting. List of cmdlets added or expanded in Windows 8:

http://technet.microsoft.com/en-us/library/hh994630 Get-help cmdlet

This is the /? of PowerShell. Get-help will give you example commands that use the cmdlet:

Get-help get-process -examples

© 2012 Microsoft Corporation. All rights reserved. Microsoft Confidential - For Internal and Partner Use Only 71

Page 72: 7Win8 Recovery and Troubleshooting

2012 LENOVO CONFIDENTIAL. ALL RIGHTS RESERVED.72

APP CMDLETS

This set of cmdlets enables you to interact with the state of the Metro-style apps on the PC.

© 2012 Microsoft Corporation. All rights reserved. Microsoft Confidential - For Internal and Partner Use Only 72

Cmdlet Description

Get-AppxLastError Get the last error reported in the app package installation logs.

Get-AppxLog Gets an app package installation log.

Get-AppxPackage Gets a list of the app packages (.appx) that are installed in a user profile.

Remove-AppxPackage Removes an app package (.appx) from a user account.

Page 73: 7Win8 Recovery and Troubleshooting

2012 LENOVO CONFIDENTIAL. ALL RIGHTS RESERVED.73

DISM CMDLETS

These cmdlets largely parallel functionality in DISM.exe.

© 2012 Microsoft Corporation. All rights reserved. Microsoft Confidential - For Internal and Partner Use Only 73

Cmdlet Description

Disable-WindowsOptionalFeature Disables a feature in a Windows image.

Enable-WindowsOptionalFeature Enables a feature in a Windows image.

Get-WindowsEdition Gets edition information about a Windows image.

Get-WindowsOptionalFeature Gets information about optional features in a Windows image.

Get-WindowsPackage Gets information about packages in a Windows image.

Repair-WindowsImage Repairs a Windows image in a WIM or VHD file.

Set-WindowsEdition Changes a Windows image to a higher edition.

Set-WindowsProductKey Sets the product key for the Windows image.

Page 74: 7Win8 Recovery and Troubleshooting

2012 LENOVO CONFIDENTIAL. ALL RIGHTS RESERVED.74

DEMO: WINDOWS POWERSHELL

© 2012 Microsoft Corporation. All rights reserved. Microsoft Confidential - For Internal and Partner Use Only 74

Page 75: 7Win8 Recovery and Troubleshooting

2012 LENOVO CONFIDENTIAL. ALL RIGHTS RESERVED.75

LAB: RECOVERY AND TROUBLESHOOTING

Requirements A PC with Windows 8 installed Internet connectivity A partner

Exercise 1: File History Exercise 2: Other Troubleshooting Exercise 3: Push-Button Reset Optional Exercise: Manage Windows Features

with Windows PowerShell© 2012 Microsoft Corporation. All rights reserved. Microsoft Confidential - For Internal and Partner Use Only 75

60 minutes

Page 76: 7Win8 Recovery and Troubleshooting

2012 LENOVO CONFIDENTIAL. ALL RIGHTS RESERVED.76

Page 77: 7Win8 Recovery and Troubleshooting