Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1647
  • 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
0
iNetSystem
Asked:
iNetSystem
  • 2
1 Solution
 
arnoldCommented:
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?
0
 
iNetSystemAuthor Commented:
I am using a Domain Admin account ot join the domain
0
 
arnoldCommented:
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.
0
 
MalajloCommented:
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
http://www.windowsitpro.com/article/domains2/how-can-i-join-a-domain-from-the-command-line-.aspx 
0

Featured Post

[Webinar] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

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