Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Error: Workgroup Remote Logon Failure

This error reads:

Logon failure: unknown user name or bad password

Cause

This error can occur when you are debugging from a machine on a workgroup and you try to connect to remote machine. Possible causes include:

  • There is no account with the matching name and password on the remote machine.

  • If the remote machine is a Windows XP or Windows Vista system and both machines are on workgroups, this error may occur due to the default Local Security Policy setting on the remote machine. The default setting for the Local Security Policy setting is Guest only - local users authenticate as Guest. To debug on this setup, you must change the setting on the remote machine to Classic - local users authenticate as themselves.

To add user rights assignments

  1. You must be an administrator to carry out the following steps.

  2. From the Start menu, choose Control Panel.

  3. In Control Panel, choose Classic View, if necessary.

  4. Double-click Administrative Tools.

  5. In the Administrative Tools window, double-click Local Security Policy.

  6. In the Local Security Settings window, expand the Local Policies folder.

  7. Click User Rights Assignment.

  8. In the Policy column, double-click Debug programs to view current local group policy assignments in the Local Security Policy Setting dialog box.

  9. To add new users, click the Add User or Group button.

To change the Sharing and Security Model

  1. From the Start menu, choose Control Panel.

  2. In Control Panel, choose Classic View, if necessary.

  3. Double-click Administrative Tools.

  4. In the Administrative Tools window, double-click Local Security Policy.

  5. In the Local Security Settings window, expand the Local Policies folder.

  6. Click Security Options.

  7. In the Policy column, double-click Network access: Sharing and security model for local accounts.

  8. In the Network access: Sharing and security model for local accounts dialog box, change the value to Classic - local users authenticate as themselves and click the Apply button.

See Also

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2015 Microsoft