Loading ...
Sorry, an error occurred while loading the content.

RE: [BATCH WORLD] batch file that logs onto domain...

Expand Messages
  • Morris, Lamar
    I should not have been so cryptic. Net use f: servername sharename /user:domainname username password Lamar _____ From: Morris, Lamar Sent: Thursday, August
    Message 1 of 2 , Aug 5, 2004
    • 0 Attachment
      I should not have been so cryptic.

      Net use f: \\servername\sharename /user:domainname\username password



      Lamar





      _____

      From: Morris, Lamar
      Sent: Thursday, August 05, 2004 5:54 PM
      To: batchworld@yahoogroups.com
      Subject: RE: [BATCH WORLD] batch file that logs onto domain...



      I have a startup script in the start up directory that calls another
      batch file in hidden mode

      Like this

      (runh.exe c:\winnt\system32\logon.cmd) and I supply the logon and
      password information there.



      Like so



      net use I: \\ebtfs2.de.sc.ti.com\/vol/vol4/usr1 /user:mfg password goes
      here

      net use F: \\BI1001\D /user:nsx95 password goes here

      net use H: \\DCS0059\D /user:dcs password goes here



      runh.exe is freeware and you can find it on the net.

      Hope this is what you were asking for.





      Lamar



      _____

      From: Bill [mailto:goodman770@...]
      Sent: Wednesday, August 04, 2004 2:43 PM
      To: batchworld@yahoogroups.com
      Subject: [BATCH WORLD] batch file that logs onto domain...



      Hi all...I've looked all over the damn internet to find a solution
      to this problem. Here is my challange:

      I have about 7 computers on a workgroup that are used in QA. When
      running...they have software that needs to connect to the a computer
      on the domain. Each time I reboot one of the PC's I need to connect
      to the domain computer for the software computer. ie - I put
      in "\\domainserver" and it asks me for a user name and password to
      get on the domain. once I put this in...it connects and the
      software can now connect fine.
      I need a batch file (that I will put in the startup folder) that
      will map a drive or just connect to the domain server. For the
      record, I have tried maping a drive and putting in the "different
      user name". It still asks for a password once the PC is rebooted, I
      assume because it's not part of the domain.

      I suppose I could just put it on the domain, but since these are
      unmanaged QA machines I would rather not.

      Any help would be greatly appreciated. from what little I have
      found a "net logon" command is prob. used...but I'm not sure.

      Thanks,
      Bill




      To Post a message, send it to: batchworld@...

      To Unsubscribe, send a blank message to:
      batchworld-unsubscribe@...





      Yahoo! Groups Sponsor

      ADVERTISEMENT
      click here
      <http://us.ard.yahoo.com/SIG=129ppkl7c/M=295196.4901138.6071305.3001176/
      D=groups/S=1707208579:HM/EXP=1091829980/A=2128215/R=0/SIG=10se96mf6/*htt
      p:/companion.yahoo.com>


      <http://us.adserver.yahoo.com/l?M=295196.4901138.6071305.3001176/D=group
      s/S=:HM/A=2128215/rand=398708759>



      _____

      Yahoo! Groups Links

      * To visit your group on the web, go to:
      http://groups.yahoo.com/group/batchworld/

      * To unsubscribe from this group, send an email to:
      batchworld-unsubscribe@yahoogroups.com
      <mailto:batchworld-unsubscribe@yahoogroups.com?subject=Unsubscribe>

      * Your use of Yahoo! Groups is subject to the Yahoo! Terms of
      Service <http://docs.yahoo.com/info/terms/> .



      [Non-text portions of this message have been removed]



      To Post a message, send it to: batchworld@...

      To Unsubscribe, send a blank message to:
      batchworld-unsubscribe@...





      Yahoo! Groups Sponsor

      ADVERTISEMENT
      click here
      <http://us.ard.yahoo.com/SIG=1299h5etf/M=295196.4901138.6071305.3001176/
      D=groups/S=1707208579:HM/EXP=1091832876/A=2128215/R=0/SIG=10se96mf6/*htt
      p:/companion.yahoo.com>


      <http://us.adserver.yahoo.com/l?M=295196.4901138.6071305.3001176/D=group
      s/S=:HM/A=2128215/rand=835994806>



      _____

      Yahoo! Groups Links

      * To visit your group on the web, go to:
      http://groups.yahoo.com/group/batchworld/

      * To unsubscribe from this group, send an email to:
      batchworld-unsubscribe@yahoogroups.com
      <mailto:batchworld-unsubscribe@yahoogroups.com?subject=Unsubscribe>

      * Your use of Yahoo! Groups is subject to the Yahoo! Terms of
      Service <http://docs.yahoo.com/info/terms/> .



      [Non-text portions of this message have been removed]
    Your message has been successfully submitted and would be delivered to recipients shortly.