• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1670
  • Last Modified:

Runas Error 1326

I am trying to add a remote computer to my domain with Runas...
The system has VPN installed and can ping by name.
I get prompted for my password but receive a runas error:1326
  • 2
1 Solution
Whose credentials are you using in the runas command?
If the computer is not a member of a domain, you can not use domain credentials.
you need to use the netdom which is part of either the admin pack or the support tools.

Are you using an administrative account on the system you want to join to a domain?
iNetSystemAuthor Commented:
I am using a Domain Admin account ot join the domain
Where are you using the runas /user: command?

On the system that you want to join to the domain, go through properties of my computer\computer name and hit the network wizard.
Here you will have an option to fill the domain admin as the username who is authorized to join this system to the domain.
Make sure that you adjust the DNS settings on the local system to point to the IPs of the domain DCs as well as make sure the VPN connection is active at the time.
You can't use a domain account if a computer is not joined in domain.
Establish remote session, with VPN connected join the computer in domain.

To join using skript, check  wmic.exe
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now