none
Unsuccessful Provisioning of Target Computer RRS feed

  • Question

  • Hi Everyone,

    I am trying to provision target computer for driver deployment, testing and debugging but I am getting failures while provisioning through Network Connection. My set up is :

    Host Machine : Windows 8 Pro, Visual Studio Ultimate 2012 with Update 3 Installed, Windows Driver Kit 8.0

    Target Machine: Windows 8 Pro

    I have added partial log below. This is is part of log on which I am doubting.

    Any help will be highly appreciated, Thank you.

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


    Initialize: Computer: KamranPC
    Initialize: Computer: KamranPC
    Initialize: Computer: KamranPC
    Initialize: Computer: KamranPC
    Initialize: Computer: KamranPC
    Initialize: Computer: KamranPC
    Initialize: Computer: KamranPC
    Initialize: Computer: KamranPC
    Initialize: Computer: KamranPC
    Initialize: Computer: KamranPC
    Initialize: Computer: KamranPC
    Initialize: Computer: KamranPC
    Initialize: Computer: KamranPC
    Initialize: Computer: KamranPC
    Initialize: Computer: KamranPC
    Initialize: Computer: KamranPC
    Initialize: Computer: KamranPC
    Initialize: Computer: KamranPC
    Initialize: Computer: KamranPC
    Initialize: Computer: KamranPC
    Initialize: Computer: KamranPC
    Initialize: Computer: KamranPC
    Initialize: Computer: KamranPC
    Initialize: Computer: KamranPC
    Initialize: Computer: KamranPC
    Initialize: Computer: KamranPC
    Initialize: Computer: KamranPC
    Initialize: Computer: KamranPC
    Initialize: Computer: KamranPC
    Initialize: Computer: KamranPC
    Initialize: Computer: KamranPC
    Initialize: Computer: KamranPC
    Initialize: Computer: KamranPC
    System.ComponentModel.Win32Exception (0x80004005): A system shutdown is in progress
       at Microsoft.DriverKit.DriverTestServices.ConnectServiceManager(String machineName)
       at Microsoft.DriverKit.DriverTestServices.StartTestService(String machineName)
    System.ComponentModel.Win32Exception (0x80004005): A system shutdown is in progress
       at Microsoft.DriverKit.DriverTestServices.ConnectServiceManager(String machineName)
       at Microsoft.DriverKit.DriverTestServices.StartTestService(String machineName)
    System.ComponentModel.Win32Exception (0x80004005): A system shutdown is in progress
       at Microsoft.DriverKit.DriverTestServices.ConnectServiceManager(String machineName)
       at Microsoft.DriverKit.DriverTestServices.StartTestService(String machineName)
    System.ComponentModel.Win32Exception (0x80004005): A system shutdown is in progress
       at Microsoft.DriverKit.DriverTestServices.ConnectServiceManager(String machineName)
       at Microsoft.DriverKit.DriverTestServices.StartTestService(String machineName)
    System.ComponentModel.Win32Exception (0x80004005): A system shutdown is in progress
       at Microsoft.DriverKit.DriverTestServices.ConnectServiceManager(String machineName)
       at Microsoft.DriverKit.DriverTestServices.StartTestService(String machineName)
    System.ComponentModel.Win32Exception (0x80004005): A system shutdown is in progress
       at Microsoft.DriverKit.DriverTestServices.ConnectServiceManager(String machineName)
       at Microsoft.DriverKit.DriverTestServices.StartTestService(String machineName)
    System.ComponentModel.Win32Exception (0x80004005): A system shutdown is in progress
       at Microsoft.DriverKit.DriverTestServices.ConnectServiceManager(String machineName)
       at Microsoft.DriverKit.DriverTestServices.StartTestService(String machineName)
    System.ComponentModel.Win32Exception (0x80004005): A system shutdown is in progress
       at Microsoft.DriverKit.DriverTestServices.ConnectServiceManager(String machineName)
       at Microsoft.DriverKit.DriverTestServices.StartTestService(String machineName)
    System.ComponentModel.Win32Exception (0x80004005): A system shutdown is in progress
       at Microsoft.DriverKit.DriverTestServices.ConnectServiceManager(String machineName)
       at Microsoft.DriverKit.DriverTestServices.StartTestService(String machineName)
    System.ComponentModel.Win32Exception (0x80004005): A system shutdown is in progress
       at Microsoft.DriverKit.DriverTestServices.ConnectServiceManager(String machineName)
       at Microsoft.DriverKit.DriverTestServices.StartTestService(String machineName)
    System.ComponentModel.Win32Exception (0x80004005): A system shutdown is in progress
       at Microsoft.DriverKit.DriverTestServices.ConnectServiceManager(String machineName)
       at Microsoft.DriverKit.DriverTestServices.StartTestService(String machineName)
    [17:19:12:354]: Attempting to connect...
    Progress event: Current: 15, Max: 18, Message: "Attempting to connect..."
    Initialize: Computer: KamranPC
    System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified
       at Microsoft.DriverKit.DriverTestServices.StartTestService(String machineName)
    System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified
       at Microsoft.DriverKit.DriverTestServices.StartTestService(String machineName)
    System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified
       at Microsoft.DriverKit.DriverTestServices.StartTestService(String machineName)
    System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified
       at Microsoft.DriverKit.DriverTestServices.StartTestService(String machineName)
    System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified
       at Microsoft.DriverKit.DriverTestServices.StartTestService(String machineName)
    System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified
       at Microsoft.DriverKit.DriverTestServices.StartTestService(String machineName)
    System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified
       at Microsoft.DriverKit.DriverTestServices.StartTestService(String machineName)
    System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified
       at Microsoft.DriverKit.DriverTestServices.StartTestService(String machineName)
    System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified
       at Microsoft.DriverKit.DriverTestServices.StartTestService(String machineName)
    System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified
       at Microsoft.DriverKit.DriverTestServices.StartTestService(String machineName)
    System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified
       at Microsoft.DriverKit.DriverTestServices.StartTestService(String machineName)
    System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified
       at Microsoft.DriverKit.DriverTestServices.StartTestService(String machineName)
    System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified
       at Microsoft.DriverKit.DriverTestServices.StartTestService(String machineName)
    System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified
       at Microsoft.DriverKit.DriverTestServices.StartTestService(String machineName)
    System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified
       at Microsoft.DriverKit.DriverTestServices.StartTestService(String machineName)
    System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified
       at Microsoft.DriverKit.DriverTestServices.StartTestService(String machineName)
    System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified
       at Microsoft.DriverKit.DriverTestServices.StartTestService(String machineName)
    System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified
       at Microsoft.DriverKit.DriverTestServices.StartTestService(String machineName)
    System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified
       at Microsoft.DriverKit.DriverTestServices.StartTestService(String machineName)
    System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified
       at Microsoft.DriverKit.DriverTestServices.StartTestService(String machineName)
    System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified
       at Microsoft.DriverKit.DriverTestServices.StartTestService(String machineName)
    System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified
       at Microsoft.DriverKit.DriverTestServices.StartTestService(String machineName)
    System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified
       at Microsoft.DriverKit.DriverTestServices.StartTestService(String machineName)
    System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified
       at Microsoft.DriverKit.DriverTestServices.StartTestService(String machineName)
    System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified
       at Microsoft.DriverKit.DriverTestServices.StartTestService(String machineName)
    System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified
       at Microsoft.DriverKit.DriverTestServices.StartTestService(String machineName)
    System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified
       at Microsoft.DriverKit.DriverTestServices.StartTestService(String machineName)
    System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified
       at Microsoft.DriverKit.DriverTestServices.StartTestService(String machineName)
    System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified
       at Microsoft.DriverKit.DriverTestServices.StartTestService(String machineName)
    System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified
       at Microsoft.DriverKit.DriverTestServices.StartTestService(String machineName)
    System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified
       at Microsoft.DriverKit.DriverTestServices.StartTestService(String machineName)
    System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified
       at Microsoft.DriverKit.DriverTestServices.StartTestService(String machineName)
    System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified
       at Microsoft.DriverKit.DriverTestServices.StartTestService(String machineName)
    System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified
       at Microsoft.DriverKit.DriverTestServices.StartTestService(String machineName)
    System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified
       at Microsoft.DriverKit.DriverTestServices.StartTestService(String machineName)
    System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified
       at Microsoft.DriverKit.DriverTestServices.StartTestService(String machineName)
    System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified
       at Microsoft.DriverKit.DriverTestServices.StartTestService(String machineName)
    System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified
       at Microsoft.DriverKit.DriverTestServices.StartTestService(String machineName)
    System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified
       at Microsoft.DriverKit.DriverTestServices.StartTestService(String machineName)
    System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified
       at Microsoft.DriverKit.DriverTestServices.StartTestService(String machineName)
    System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified
       at Microsoft.DriverKit.DriverTestServices.StartTestService(String machineName)
    System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified
       at Microsoft.DriverKit.DriverTestServices.StartTestService(String machineName)
    System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified
       at Microsoft.DriverKit.DriverTestServices.StartTestService(String machineName)
    System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified
       at Microsoft.DriverKit.DriverTestServices.StartTestService(String machineName)
    System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified
       at Microsoft.DriverKit.DriverTestServices.StartTestService(String machineName)
    System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified
       at Microsoft.DriverKit.DriverTestServices.StartTestService(String machineName)
    System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified
       at Microsoft.DriverKit.DriverTestServices.StartTestService(String machineName)
    System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified
       at Microsoft.DriverKit.DriverTestServices.StartTestService(String machineName)
    System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified
       at Microsoft.DriverKit.DriverTestServices.StartTestService(String machineName)
    System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified
       at Microsoft.DriverKit.DriverTestServices.StartTestService(String machineName)
    System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified
       at Microsoft.DriverKit.DriverTestServices.StartTestService(String machineName)
    System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified
       at Microsoft.DriverKit.DriverTestServices.StartTestService(String machineName)
    System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified
       at Microsoft.DriverKit.DriverTestServices.StartTestService(String machineName)
    System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified
       at Microsoft.DriverKit.DriverTestServices.StartTestService(String machineName)
    System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified
       at Microsoft.DriverKit.DriverTestServices.StartTestService(String machineName)
    System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified
       at Microsoft.DriverKit.DriverTestServices.StartTestService(String machineName)
    System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified
       at Microsoft.DriverKit.DriverTestServices.StartTestService(String machineName)
    System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified
       at Microsoft.DriverKit.DriverTestServices.StartTestService(String machineName)
    System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified
       at Microsoft.DriverKit.DriverTestServices.StartTestService(String machineName)
    System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\Kamran_Shamim\AppData\Roaming\Microsoft\DriverTest\TestRepository\Results\Configure_computer_settings_(x64)_(possible_reboot)_00009.wtl'.
       at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
       at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
       at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
       at Microsoft.DriverKit.DriverTestResult.GatherRemoteLogFiles()
    Result completed
    Test process exit code: -1
    Result status updated: Fail
    Initialize: Computer: 
    Progress event: Current: 15, Max: 18, Message: "A failure occurred running the configuration task"
    Initialize: Computer: 
    Progress event: Current: 16, Max: 18, Message: "Creating system restore point"
    Initialize: Computer: 
    GetMachinePropertiesFromService: Computer Name: KamranPC
    GetMachinePropertiesFromService: Architecture: AMD64
    GetMachinePropertiesFromService: Operating System Version: 6.2.9200.0
    GetMachinePropertiesFromService: Domain Joined: False
    Initialize: Computer: KamranPC
    InternalRunTest: Host Computer: KAMRANLAP
    InternalRunTest: Host Architecture: x86
    InternalRunTest: Host 64bit Operating System: True
    InternalRunTest: Host Operating System Version: 6.2.9200.0
    InternalRunTest: Process Administrator Privilege: False
    Initialize: Computer: KamranPC
    Initialize: Computer: 
    GetMachinePropertiesFromService: Computer Name: KamranPC
    GetMachinePropertiesFromService: Architecture: AMD64
    GetMachinePropertiesFromService: Operating System Version: 6.2.9200.0
    GetMachinePropertiesFromService: Domain Joined: False
    ExecuteProcess: Arguments: "%SystemDrive%\DriverTest\Run\cscript.exe" /select:"@Name='Creating system restore point'" /rebootStateFile:%SystemDrive%\DriverTest\Logs\DriverTestReboot.xml /enableWttLogging /wttDeviceString:$LogFile:file="%SystemDrive%\DriverTest\Logs\Creating_system_restore_point_00008.wtl",writemode=append,encoding=unicode,nofscache=true,EnableLvl="WexStartTest|WexEndTest|WexXml|WexProperty|WexCreateContext|WexCloseContext|*" /runas:Elevated
    [17:20:13:656]: [Creating system restore point] Command Line:
    te.exe "%SystemDrive%\DriverTest\Run\cscript.exe" /select:"@Name='Creating system restore point'" /rebootStateFile:%SystemDrive%\DriverTest\Logs\DriverTestReboot.xml /enableWttLogging /wttDeviceString:$LogFile:file="%SystemDrive%\DriverTest\Logs\Creating_system_restore_point_00008.wtl",writemode=append,encoding=unicode,nofscache=true,EnableLvl="WexStartTest|WexEndTest|WexXml|WexProperty|WexCreateContext|WexCloseContext|*" /runas:Elevated
    Created new result:
      Path: C:\Users\Kamran Shamim\AppData\Roaming\Microsoft\DriverTest\TestRepository\Results\Creating system restore point 00008.xml
      Log Path: C:\Users\Kamran Shamim\AppData\Roaming\Microsoft\DriverTest\TestRepository\Results\Creating system restore point 00008.log
      Computer: KamranPC
      Test Binary: cscript.exe
      Test Name:  Creating system restore point
      Test Display Name: Creating system restore point
    Initialize: Computer: 
    RemoteExecute: Binary: cscript.exe
    RemoteExecution: Arguments: %SystemDrive%\DriverTest\Setup\CreateRestore.js
    Initialize: Computer: 
    RemoteExecute: Process creation return code: 0
    RemoteExecute: Process exit code: 0
    Result completed
    Test process exit code: 0
    Result status updated: Pass
    Initialize: Computer: 
    Initialize: Computer: 
    [17:20:17:456]: Install Driver Test Components summary:
    Initialize: Computer: 
    [17:20:17:456]:   Installing .NET Framework (possible reboot): Pass
    [17:20:17:456]:   Installing VC Redist (x64): Pass
    [17:20:17:456]:   Installing test automation (x86): Pass
    [17:20:17:456]:   Installing test automation (x64): Pass
    [17:20:17:456]:   Installing debuggers (x86): Pass
    [17:20:17:456]:   Installing debuggers (x64): Pass
    [17:20:17:456]:   Installing driver test framework: Pass
    [17:20:17:456]:   Installing automatic failure injection tools: Pass
    [17:20:17:456]:   Registering logging components: Pass
    [17:20:17:456]:   Configure debugger settings (x64) (possible reboot): Fail
    [17:20:17:456]:   Configure computer settings (x64) (possible reboot): Fail
    [17:20:17:456]:   Creating system restore point: Pass
    Result Group Completed: Fail
    Initialize: Computer: 
    Initialize: Computer: 
    Initialize: Computer: 
    Progress event: Current: 18, Max: 18, Message: ""
    Progress event: Current: 18, Max: 18, Message: "Computer configuration log file://C:/Users/Kamran%20Shamim/AppData/Roaming/Microsoft/DriverTest/Install/Driver%20Test%20Computer%20Configuration%2020131011171629266.log"



    Saturday, October 12, 2013 12:46 AM

Answers

  • Seems like a communication error occurred during the reboot of the target machine. This is an intermittent issue I've seen happen with WDK 8.0, should be fixed in WDK 8.1 .

    If you want to stick with WDK 8.0, I'd suggest trying the following steps:

    1. Close all VS instances on the host machine
    2. On the target machine, make sure the DTSvc service is running (Win+R, type "services.msc", find DTSvc in the list and make sure the status is set to "Running"). If that is not the case, restart the service manually through that menu.
    3. Open VS on the host machine and try to provision your target machine again (should be quicker, since most of the steps are already completed). Hopefully, that should allow you to progress further with provisioning.
    4. If you made some progress at 3, but some steps still failed, try repeating steps 1 to 3. The WDK 8.0 service can sometimes get stuck in the "Starting" state, which leads to issues similar to what you're encountering.

    Max -- This posting is provided "AS IS" with no warranties, and confers no rights.

    Monday, October 14, 2013 4:24 PM