Go Back   TechArena Community > Technical Support > Computer Help > Windows Security
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



Runas error 1326

Windows Security


Reply
 
Thread Tools Search this Thread
  #1  
Old 14-03-2007
Member
 
Join Date: Sep 2004
Posts: 81
Runas error 1326

I have been trying to install a program using batch file in my system on our network remotely. I am using below command as i have remote computers local admin credentials.
"command.cmd". %1 is obviously the local machine name.
However i am getting "Error 1326: Logon failure unknown user name or bad password". I have tried adding /netonly switch but than i get run error saying "The system cannot find the path specified" . I am just running out of ideas now and i need someone to help me out.

Reply With Quote
  #2  
Old 22-03-2007
Member
 
Join Date: Sep 2005
Posts: 175
Re: Runas error 1326

Try calling runas with a password, i do same for runasspc.
runasspc.exe /program:"e:\installfile.exe" /domain:"localhost"
/user:"localadmin" /password:"password"
If you want than you can encrypt complete call for hiding login and other information's.
runasspc.exe /cryptfile:"d:\temp\install.spc" /quiet
Reply With Quote
  #3  
Old 07-01-2014
Member
 
Join Date: Sep 2005
Posts: 229
Re: Runas error 1326

There is an extra option or netonly for the runas command that allows running the local application as a domain user usually on a non-domain machine. When I ran it on Windows 7 Pro then it was working wonderfully for me but it will also require an elevated command prompt like this - runas /netonly /user:domain\user command
Reply With Quote
  #4  
Old 08-01-2014
Member
 
Join Date: May 2008
Posts: 3,514
Re: Runas error 1326

If I am understanding your question properly then you are attempting to use the domain credentials to log onto a machine which is not a member of that domain and it cannot be done as such. On the domain computers it is only possible to logon by the Domain accounts and local accounts will only log onto the local machine with exceptions. Hope this sorts out your issue.
Reply With Quote
Reply

  TechArena Community > Technical Support > Computer Help > Windows Security
Tags: ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Runas error 1326"
Thread Thread Starter Forum Replies Last Post
runas and manage-bde.exe to set bitlocker pin? Rishab Windows Software 3 13-08-2010 02:48 AM
Error while running RunAs Chillmiser Operating Systems 5 01-02-2010 08:06 PM
Using the Runas command to gain admin rights happydude Windows Security 2 11-05-2007 06:45 AM
administrator runas for a domain user yba02 Windows Server Help 2 24-03-2007 12:11 PM
how to use runas command Golden_au Windows Server Help 3 21-03-2007 11:54 PM


All times are GMT +5.5. The time now is 09:14 AM.