Results 1 to 4 of 4

Thread: Runas error 1326

  1. #1
    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.

  2. #2
    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

  3. #3
    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

  4. #4
    Join Date
    May 2008
    Posts
    3,516

    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.

Similar Threads

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

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,674,928,157.39688 seconds with 17 queries