×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

nt domain logon via mos dos script

nt domain logon via mos dos script

nt domain logon via mos dos script

(OP)
Hope someone can help.  I have thousands of win 95/98 machines which have tcp/ip addresses from out corportate DHCP servers.  However they only belong to their local networks and do not logon on to the NT domain.

I will be running a SAP R/3 user exist which will call a dos batch file which will then down load small files from a NT server in out corporate domain.

I require help with writting the file in respect to connecting and validating these machines to the NT machine via MS Dos.  I realise that I can use "NET USE * \\bla bla bla but do not know how about to add my user name and password for that server to the command line string.  I realise that NET LOGON cannot be called from within a MS DOS window.

Any urgent assistance is greatly appreciated.
:)

RE: nt domain logon via mos dos script

Here are a couple of NET USE command lines that may be helpful.

NET USE X: \\SERVER\SHARE %PASSWORD% /USER:%USERNAME%

OR

NET USE X: \\SERVER\SHARE %PASSWORD% /USER:%DOMAIN%\%USERNAME%



dxd

RE: nt domain logon via mos dos script

(OP)
thanks dxd for you help.  but unfortunately the NET USER command is not valid in a win 95/98 environment. Any more suggestions.

RE: nt domain logon via mos dos script

My mistake, I thought you were wanting to attach in Dos mode using a boot disk.

I think the simplest solution would be to have one machine outside of the domain security model replicate the data from the domain server or shares you are needing access to.

The machine need not be a member of the domain, however the user account and password must match one of those with access to the domain share.

Then the other machines outside of the domain can simply use the net use command and attach to this computer to download the files needed.

There is no method I am aware of that will allow you to authenticate to a domain using real-mode tools while running Windows 9x 32bit client and drivers. If it were only a few computers then you could use a Dos boot disk to attach and download the files, however since you have thousands of users it seems to make more since to push this data to a workstation/file server outside of the domain so that it can be easily accessed by the clients that require it.

dxd

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close