ALL the Windows 8 Metro Store App AppX Logs and Our AppX IT Toolkit |
![]() |
![]() |
Win8 Apps |
Written by Darwin Sanoy |
Wednesday, October 24, 2012 9:05pm |
The Windows 8 Metro App delivery and installation mechanism has a lot of new plumbing! When you experience a problem, it is a big challenge to figure out everywhere you might look to solve the problem. I am a big proponent of gathering existing logging data whenever I start to work on a problem - mainly because the data is there for zero effort! Sure I can slap on procmon and dig deep, but what if a single eventlog message is nailing the problem in a small clear voice? Let's take a look at the places where we can find existing log data for the installation and running of Win 8 Metro WinRT Store Apps (yes I am mocking the many name changes of this class of Windows Apps type while simultaneously making sure your searches hit this page no matter what nomenclature you use). If you take the time to register below, you will receive a download that includes a Custom Event View that brings together all the logs that may contain applicable logging data. Event LogsWindows 8 ships with many new event logs that deal with Windows 8 Metro Store Apps. All of the below event logs accessed in the eventvwr snap-in under "Applications and Services Logs => Microsoft => Windows" Installing Appx Packages
Running Windows 8 Metro Store Apps
Syncing and Validating Windows 8 Metro Store Apps
Text Logswinstore.log%TEMP%\winstore.log - logs processes triggered under user profile, including automated updates that are individually scheduled for each user to service their per-user installs. %LOCALAPPDATA%\Packages\WinStore_cw5n1h2txyewy\AC\Temp\winstore.log - logs installs done by the interactive store run by the user (WWAHost.exe) %WINDIR%\temp\winstore.log - Windows store processes done by automation or background tasks: msiexec.exe, rundll32.exe, svchost.exe, dllhost.exe, sysprep.exe, system32\wsqmcons.exe ("Windows SQM Consolidator" - Windows Customer Experience Improvement Program. This program collects and sends usage data to Microsoft.) Deployment Imaging and Service Management (DISM.log)%windir%\logs\DISM\dism.log - logs for dism command line. DISM is used to "provision" Appx packages when building a corporate image (offline or online mode) or installing on deployed machines (online mode). Other DISM commands will also be in this log. Powershell Appx CMDlets do not generate records in this log. TrustedInstaller Log%windir%\logs\cbs\cbs.log - when the TrustedInstaller service is used to install Windows Resource Protected files or registry keys (would be rare to need this log for analyzing Appx). Logging CommandsGet-Appxlog - retrieves and displays (date time order) the event logs for the last package operation from the logs: Appx-Deployment/Operational, AppXDeployment-Server/Operational and AppXDeployment-Server/Operational. Get-AppxLastError - get the error from the last Appx deployment attempt. If the last deployment operation did not end in an error - no output is generated. Windows 8 App Troubleshooter - a Microsoft troubleshooting script that checks for common problems. If you register to be notified of our Windows 8 eBook, we will also immediately send you our Windows 8 Metro Store App IT Toolkit. It includes the following items:
Click here to register for notification and receive the IT Toolkit. |