Windows 8 and 8.1 Forums

Windows Diagnostic Tool (WDT)

  1. #1

    Windows Diagnostic Tool (WDT)


    WDT has all the functionality as current scripts here - with the additional functionality of:

    - Activation backup and restore - the former is only available on activated systems whilst the later only on unactivated systems... some more checks and balances still need to be built in before final release though. (Restore is untested)

    - OEM and installed key retrieval

    - Direct error code description by clicking on the error code.
    Click image for larger version

    - Office diagnostic for Office 2010/2013. -----------------------------------------------------------------------------------------------------------------------

    Download: Windows_Diagnostic_Tool - Version 1.0.5652.zip

    Change log:
    Code:
    Update: Feb 14 2015:  Fixed a few bugs with office version retrieval 
    Incorrect repagination when viewing diag. report in notepad 
    Added additional exception handling.  
    
    Update: Build  16-Feb-2015  :  Fixed exception thrown  in post #4 below. 
    
    Update: Build 17-Feb-2015:  Offline activation restore working - Once  notified of key installation run Windows validation to check. (Only  works on current installs. Busy investigating activation transfer to new  installs)
    
    Update: Build 22-Feb-2015: Extended the time-out in retrieving data that resulted in an empty collection error. 
    Highlight link and tooltip added for error code pop-up. (Pop-up disabled for 'zero error code')
    Extended description pop-up to LegitCheckConrtrol error code.
    *Added support for Office 2010 versions.
    
    Update: Build 24-Feb-2015: Fixed error reported in post #7. Thanx Zaref.
    
    -------------------------------------------- Preview ---------------------------------------------------------
    
    Update: Build 5541: 
    Just a few GUI changes, code optimisations.
    
    Update: Build 5557: 
    Fixed DPI scaling issue.
    
    Update: Build 5560: 
    Added auto-resizing to prevent redaction, thanx Adam, Jimbo
    Added restore support for Windows 10 build 10041 (store folder name changed (store_test)
    
    Update: Build: 5561:
    GUI toggle masking Installed and OEM keys.
    Screen change during restore.
    Auto re-validation after restore.
    
    Update: Build: 5569:
    Support for Windows 10 build 10049
    Fixed freeze during restore.
    
    Update: Build: 5585 Version: 20945
    Bug fixes
    
    Update: Build: 5652
    Aded support for Windows 10 ( build 10147)
    Last edited by Superfly; 23 Jun 2015 at 07:31.

      My System SpecsSystem Spec

  2. #2


    Posts : 1,875
    Windows 10 Pro Prieview x64


    Good work. Works well on 9926 (except for restoring activation which doesn't but you said it isn't tested). These are the issues I've found in case it helps

    • It is blocked by SmartScreen and I couldn't find a way to turn this off in this build. Had to run it from CMD prompt (probably not an issue).
    • Office activation I couldn't test as I have Office 16 and it isn't activated. The option was not available.
    • Activation backup says "Activation is being backed up" when it has finished (should say "Activation backed up" I guess).
    • Installation ID is truncated on screen (see below)
    • Install date isn't formatted in report ( Install Date: 20150211132923.000000+060


    If I can make a suggestion it would be useful if you could copy the key (to clipboard perhaps) as you can't cut and paste from the screen and the key is redacted in the report. Windows Diagnostic.txt

    Click image for larger version

    I then removed my activation with slmgr.vbs -upk

    Problems with restoring activation after:

    • Restore dialogue warns ActivationBackup will be replaced (rather alarming message but it didn't happen).

      Click image for larger version
    • Dialogue indicates restore was a success.
    • It wasn't though.
    • There was an error message when trying to save the report (I renamed the existing Windows Diagnostics.txt from earlier then it was OK) Windows Diagnostic after.txt


    Click image for larger version
    Last edited by adamf; 15 Feb 2015 at 14:53.
      My System SpecsSystem Spec

  3. #3


    Thnx for testing Adam.

    Yes restore is untested ... I have done some work on it in the latest build but it still isn't working correctly - I still need to build some validation into that. I'ts still only about 80% done.

    Office 15 is also a bit of a headache - works fine on same arch installs but cross arch seems to break it - I'm busy testing 32bit on 64 bit 8.1 Enterprise at the moment.

    I have changed the backup to include the installed key as that is now being used in restore. If anything it should reinstall your key now.

    Here's the latest build.

    BTW Can't one unblock the .exe from smartscreen?
      My System SpecsSystem Spec

  4. #4


    Posts : 1,875
    Windows 10 Pro Prieview x64


    That was quick - Backup/Restore works with this build (for me).

    Smartscreen doesn't have the "more info" button it had in 8.1 which would let you run it anyway. I need to look around some more. When I run it from CMD and this new build gives a seemingly unimportant error (as the application works). The last one didn't do that.

    Click image for larger version


    Click image for larger version
      My System SpecsSystem Spec

  5. #5


    Quote Originally Posted by adamf View Post
    That was quick .
    Funny, my gf tells me that all the time as well... LOL

    Quote Originally Posted by adamf View Post
    Smartscreen doesn't have the "more info" button it had in 8.1 which would let you run it anyway.
    Actually I forgot that Store listings are free now - may as well get it certified.
      My System SpecsSystem Spec

  6. #6


    It appears SPP has become a lot smarter. It now has a built in mechanism to repair a corrupt store. Event viewer entries below from a diag. report after attempting to replace the store files.
    Code:
    ****** Errors from Event Log ***** 
    
    Message: The rules engine failed to evaluate the rules. 
    Reason:0xC004F011 Stage:GATHER_RULES_FROM_LICENSES 
    Additional Data:  
    Time Written: : 20150216054646.000000-000 
    Message: The rules engine failed to evaluate the rules. 
    Reason:0xC004F011 Stage:GATHER_RULES_FROM_LICENSES 
    Additional Data:  
    
    Time Written: : 20150216054305.000000-000 
    Message: Token Store found to be corrupt. Recreating Token Store.  
    
    Time Written: : 20150216054305.000000-000 
    Message: Token Store found to be corrupt. Recreating Token Store.  
    
    Time Written: : 20150215230743.000000-000 
    Message: The rules engine failed to evaluate the rules. 
    Reason:0x8007000D Stage:BUILD_ACTIONS 
    Additional Data:
    This effectively means only online activation is allowed. A good thing in the overall context as in the past we had to rename those files and use slmgr.vbs /rearm to re-create the corrupt store - it's now automatic.
    Backup can thus be limited to the key only as far as I can see. Obviously a huge setback for offline activation though.

    EDIT: Seems the corruption was not due to backup files (must have been due to manually manipulating the store files) - either way restore seems to be working now.
    Last edited by Superfly; 18 Feb 2015 at 00:29.
      My System SpecsSystem Spec

  7. #7


    Click image for larger versionClick image for larger version
      My System SpecsSystem Spec

  8. #8


    Posts : 1,875
    Windows 10 Pro Prieview x64


    I don't know why but smartscreen is working (I had to re-install for other reasons). It all looks good to me.

    One small cosmetic issue. There is a link on the error code - it would be good if this was a different color so it is clear it is a link.

    If your license is valid (and error code is zero) you get this...

    Click image for larger version
      My System SpecsSystem Spec

  9. #9


    @Zaref... please try the new build.

    @Adam... good tip - updated

    BTW: Does Office 16 have the following LocalMachine reg values?
    eg:
    32 bit: "SOFTWARE\Microsoft\Office\16.0\Common\InstallRoot"
    64 bit: "SOFTWARE\Wow6432Node\Microsoft\Office\16.0\Common\ProductVersion"

    Office 2010 :

    Click image for larger version
    Last edited by Superfly; 22 Feb 2015 at 09:06.
      My System SpecsSystem Spec

  10. #10


    Posts : 1,875
    Windows 10 Pro Prieview x64


    Quote Originally Posted by Superfly View Post
    BTW: Does Office 16 have the following LocalMachine reg values?
    eg:
    32 bit: "SOFTWARE\Microsoft\Office\16.0\Common\InstallRoot"
    64 bit: "SOFTWARE\Wow6432Node\Microsoft\Office\16.0\Common\ProductVersion"
    Yes and No. x64 Office 16 preview installed as a trial, not activated so can't check with the tool (button is disabled).

    Click image for larger versionClick image for larger version
      My System SpecsSystem Spec

Page 1 of 4 123 ... LastLast
Windows Diagnostic Tool (WDT)
Related Threads
How to Generate a Sleep Study Diagnostic Report in Windows 8.1 Sleep Study is a new tool available on Windows 8.1 and newer systems supporting InstantGo (previous to Windows 8.1, this was called "Connected Standby") that can help you identify sources of battery drain that occurred while the PC...
Debug Diagnostic Tool in Tutorials
Download Debug Diagnostic Tool v2 Update 1 The Debug Diagnostic Tool (DebugDiag) is designed to assist in troubleshooting issues such as hangs, slow performance, memory leaks or memory fragmentation, and crashes in any user-mode process. The tool includes built-in analysis rules focused...
While working through the BSOD Posting Instructions, I am finding Option 1 - Step 2's download of the SF Diagnostic Tool is halted by my AVG software as Adware is suspected. How do you suggest I proceed so I can upload the needed file regarding my Kernel Security Check Failure?
Solved Windows 8 merroy diagnostic tool in Performance & Maintenance
is there a merroy diagnostic tool in windows 8 and is so how do i use and if not can you recommend a merroy diagnostic tool that will work with windwos 8
I tried to run SF diagnostic tool first on MSINFO 32 I received Access Denied message then for rest another error message have attached images in zip fle please help
Eight Forums Android App Eight Forums IOS App Follow us on Facebook