Compartilhar via


Remote Debugging on Workgroup Computers

You can perform remote debugging with computers that are joined to a workgroup. First configure the computer that will run the debugging server. Then activate the debugging server. After the debugging server is activated, you can connect to the server from a debugging client.

Configuring the debugging server computer

  • Create a local administrator account, and log on using that account.

  • Enable file and printer sharing for your active network. For example if your active network is Private, enable file and printer sharing for Private networks.

    You can use Control Panel to enable file and printer sharing. For example, here are the steps in Windows 8.

    1. Open Control Panel.
    2. Click Network and Internet and then Network and Sharing Center. Under View your active networks, note the type of network (for example, Private) that is active.
    3. Click Change advanced sharing settings. For your active network type, select Turn on network discovery and Turn on file and printer sharing.
  • Start the remote registry service by following these steps.

    1. In a Command Prompt window or in the Run box, enter services.msc.
    2. Right click Remote Registry, and choose Start.
  • Turn off the ForceGuest feature by following these steps.

    1. In a Command Prompt window or in the Run box, enter regedit.

    2. In Registry Editor, set this value to 0.

      HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa ForceGuest

Activating the debugging server

You can activate the debugging server through the debugger or by using a process server or a KD connection server. For more information, see the following topics.

Activating the debugging client

Note   If you are using a named pipe to connect a debugging client to a debugging server, you must provide the user name and password of an account that has access to the computer running the debugging server. Use one, but not both, of the following options.

  • Log on to the debugging client computer with an account that shares the user name and password of an account on the debugging server computer.

  • On the debugging client computer, in a Command Prompt window, enter the following command.

    net use \\Server\ipc$ /user:UserName

    where Server is the name of the server computer, and UserName is the name of an account that has access to the server computer.

    When you are prompted, enter the password for UserName.