Search code examples
remote-debuggingvisual-studio-2013

Automatically provisioning remote host with debugging tools: VS 2013


I am working on starting a driver development project and I want to do debugging on a remote target. I am using VMware for both sessions and they are both running on the same physical laptop.

Host: VMware session: Win8 Pro x64, latest version of VS 2013 RC, WDK 8.1. Target: VMware session: Win8 Pro x86.

On the target, I have:

  • enabled the Administrator account.
  • enabled file/printer sharing and network discovery.

I can ping each VM from the other. And I have disabled the Windows firewall on both machines.

When I go to Driver/Test/Configure Computers... I enter the name of the computer I want to debug and hit Next. I select "Provision computer and automatically configure debuggers" and hit Next. It spins for a while and then I get this failure:

Initialize: Computer: [21:20:05:374]: Account restrictions are preventing this user from signing in. For example: blank passwords aren't allowed, sign-in times are limited, or a policy restriction has been enforced Progress event: Current: 0, Max: -1, Message: "Account restrictions are preventing this user from signing in. For example: blank passwords aren't allowed, sign-in times are limited, or a policy restriction has been enforced" Progress event: Current: 0, Max: -1, Message: "Computer configuration log file://C:/Users/Kent/AppData/Roaming/Microsoft/DriverTest/Install/Driver%20Test%20Computer%20Configuration%2020131027212000868.log"

The Administrator account on the target machine is blank and there are no AD policies applied to it. This message is fairly useless otherwise. I'm going to manually install and configure the WDK debuggers.

Does anyone have any pointers about how to get the automatic provisioning working?


Solution

  • You indicated you had a blank password, and the error message stated:

    Initialize: Computer: [21:20:05:374]: Account restrictions are preventing this user from signing in. For example: blank passwords aren't allowed...

    If neither is on a domain, I've had luck with just the same username/password on both machines, but lately at work I've only been using native C++ with authentication disabled so it's never been a problem.