Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

nt domain logon via mos dos script

Status
Not open for further replies.

odin999

Technical User
May 2, 2000
2
AU
Hope someone can help.&nbsp;&nbsp;I have thousands of win 95/98 machines which have tcp/ip addresses from out corportate DHCP servers.&nbsp;&nbsp;However they only belong to their local networks and do not logon on to the NT domain.<br><br>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.<br><br>I require help with writting the file in respect to connecting and validating these machines to the NT machine via MS Dos.&nbsp;&nbsp;I realise that I can use &quot;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.&nbsp;&nbsp;I realise that NET LOGON cannot be called from within a MS DOS window.<br><br>Any urgent assistance is greatly appreciated.<br>:)
 
Here are a couple of NET USE command lines that may be helpful.<br><br>NET USE X: \\SERVER\SHARE %PASSWORD% /USER:%USERNAME%<br><br>OR<br><br>NET USE X: \\SERVER\SHARE %PASSWORD% /USER:%DOMAIN%\%USERNAME%<br><br><br><br>dxd<br>
 
thanks dxd for you help.&nbsp;&nbsp;but unfortunately the NET USER command is not valid in a win 95/98 environment. Any more suggestions.
 
My mistake, I thought you were wanting to attach in Dos mode using a boot disk.<br><br>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.<br><br>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.<br><br>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.<br><br>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.<br><br>dxd<br>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top