Networking Forums

Networking Forums > Computer Networking > Windows Networking > NT Batch file doesn't run

Reply
Thread Tools Display Modes

NT Batch file doesn't run

 
 
Carl Gross
Guest
Posts: n/a

 
      10-03-2003, 04:41 PM
I have a W98 workstation on an NT 4.0 network. When the
W98 workstation logs on, none of the network drives
(especially the U(ser) drive) show up. There are no
errors, but no mapped network drives appear either.

We are using TCP/IP as our protocol.

Any ideas?
 
Reply With Quote
 
 
 
 
Pegasus \(MVP\)
Guest
Posts: n/a

 
      10-04-2003, 08:59 AM
Let's have a look at your netlogon batch file!


"Carl Gross" <(E-Mail Removed)> wrote in message
news:094c01c389cd$37f3ee60$(E-Mail Removed)...
> I have a W98 workstation on an NT 4.0 network. When the
> W98 workstation logs on, none of the network drives
> (especially the U(ser) drive) show up. There are no
> errors, but no mapped network drives appear either.
>
> We are using TCP/IP as our protocol.
>
> Any ideas?



 
Reply With Quote
 
Carl Gross
Guest
Posts: n/a

 
      10-06-2003, 03:52 PM
net use u: \\server02\home\Userxxx
net use f: \\server01\sys
net use g: \\server01\apps
net use m: \\server01\SharedFiles
net use n: \\server02\photos
net use p: \\server01\SharedFiles
net use s: \\server02\OtherShared
net use j: \\server01\cd-rom
>-----Original Message-----
>Let's have a look at your netlogon batch file!
>
>
>"Carl Gross" <(E-Mail Removed)> wrote in message
>news:094c01c389cd$37f3ee60$(E-Mail Removed)...
>> I have a W98 workstation on an NT 4.0 network. When the
>> W98 workstation logs on, none of the network drives
>> (especially the U(ser) drive) show up. There are no
>> errors, but no mapped network drives appear either.
>>
>> We are using TCP/IP as our protocol.
>>
>> Any ideas?

>
>
>.
>

 
Reply With Quote
 
Pegasus \(MVP\)
Guest
Posts: n/a

 
      10-06-2003, 09:34 PM
Modify your batch file as below, then report what you see:

@echo off
if not "%SystemRoot%"=="" echo on
net use u: \\server02\home\Userxxx
net use f: \\server01\sys
net use g: \\server01\apps
net use m: \\server01\SharedFiles
net use n: \\server02\photos
net use p: \\server01\SharedFiles
net use s: \\server02\OtherShared
net use j: \\server01\cd-rom
net use
if not "%SystemRoot%"=="" pause

Furthermore, please report this:
- Can you map the drives manually, by executing
the above commands, one at a time, from a Command
Prompt?
- What happens when you invoke this batch file manually
from a Command Prompt:
\\YourServer\netlogon\netlogon.bat

"Carl Gross" <(E-Mail Removed)> wrote in message
news:00d901c38c21$cb15d180$(E-Mail Removed)...
> net use u: \\server02\home\Userxxx
> net use f: \\server01\sys
> net use g: \\server01\apps
> net use m: \\server01\SharedFiles
> net use n: \\server02\photos
> net use p: \\server01\SharedFiles
> net use s: \\server02\OtherShared
> net use j: \\server01\cd-rom
> >-----Original Message-----
> >Let's have a look at your netlogon batch file!
> >
> >
> >"Carl Gross" <(E-Mail Removed)> wrote in message
> >news:094c01c389cd$37f3ee60$(E-Mail Removed)...
> >> I have a W98 workstation on an NT 4.0 network. When the
> >> W98 workstation logs on, none of the network drives
> >> (especially the U(ser) drive) show up. There are no
> >> errors, but no mapped network drives appear either.
> >>
> >> We are using TCP/IP as our protocol.
> >>
> >> Any ideas?

> >
> >
> >.
> >



 
Reply With Quote
 
Carl Gross
Guest
Posts: n/a

 
      10-07-2003, 04:47 PM
I netered the following batch file, restarted the
workstation and it did nothing. I therefore tried running
the batch file from the Command Prompt and it worked
except for the U drive, and that is a quirk of the SNAP
Server on which the U drive is located (don't worry too
much about this one).

I was also able to map the drives manually except for the
U drive, again.

Hope this helps.
>-----Original Message-----
>Modify your batch file as below, then report what you see:
>
>@echo off
>if not "%SystemRoot%"=="" echo on
>net use u: \\server02\home\Userxxx
>net use f: \\server01\sys
>net use g: \\server01\apps
>net use m: \\server01\SharedFiles
>net use n: \\server02\photos
>net use p: \\server01\SharedFiles
>net use s: \\server02\OtherShared
>net use j: \\server01\cd-rom
>net use
>if not "%SystemRoot%"=="" pause
>
>Furthermore, please report this:
>- Can you map the drives manually, by executing
> the above commands, one at a time, from a Command
> Prompt?
>- What happens when you invoke this batch file manually
> from a Command Prompt:
> \\YourServer\netlogon\netlogon.bat
>
>"Carl Gross" <(E-Mail Removed)> wrote in message
>news:00d901c38c21$cb15d180$(E-Mail Removed)...
>> net use u: \\server02\home\Userxxx
>> net use f: \\server01\sys
>> net use g: \\server01\apps
>> net use m: \\server01\SharedFiles
>> net use n: \\server02\photos
>> net use p: \\server01\SharedFiles
>> net use s: \\server02\OtherShared
>> net use j: \\server01\cd-rom
>> >-----Original Message-----
>> >Let's have a look at your netlogon batch file!
>> >
>> >
>> >"Carl Gross" <(E-Mail Removed)> wrote in message
>> >news:094c01c389cd$37f3ee60$(E-Mail Removed)...
>> >> I have a W98 workstation on an NT 4.0 network. When

the
>> >> W98 workstation logs on, none of the network drives
>> >> (especially the U(ser) drive) show up. There are no
>> >> errors, but no mapped network drives appear either.
>> >>
>> >> We are using TCP/IP as our protocol.
>> >>
>> >> Any ideas?
>> >
>> >
>> >.
>> >

>
>
>.
>

 
Reply With Quote
 
Pegasus \(MVP\)
Guest
Posts: n/a

 
      10-08-2003, 12:51 AM
There are a number of conditions that must be met in order
for a batch file to be run at logon time:
- Your Windows 98 PC must be set to log on to an
NT domain.
- You must specify the correct name of that domain
- The logon account must be defined on the domain controller.
- The name of the script file (e.g. netlogon.bat) must be stated
in the account profile.
- The file "netlogon.bat" must exist in the netlogon share of the
primary domain controller.

If you feel that this is too complex then you can always place
netlogon.bat into the Startup folder of your Windows 98 PC.

"Carl Gross" <(E-Mail Removed)> wrote in message
news:00d301c38cf2$c332b380$(E-Mail Removed)...
> I netered the following batch file, restarted the
> workstation and it did nothing. I therefore tried running
> the batch file from the Command Prompt and it worked
> except for the U drive, and that is a quirk of the SNAP
> Server on which the U drive is located (don't worry too
> much about this one).
>
> I was also able to map the drives manually except for the
> U drive, again.
>
> Hope this helps.
> >-----Original Message-----
> >Modify your batch file as below, then report what you see:
> >
> >@echo off
> >if not "%SystemRoot%"=="" echo on
> >net use u: \\server02\home\Userxxx
> >net use f: \\server01\sys
> >net use g: \\server01\apps
> >net use m: \\server01\SharedFiles
> >net use n: \\server02\photos
> >net use p: \\server01\SharedFiles
> >net use s: \\server02\OtherShared
> >net use j: \\server01\cd-rom
> >net use
> >if not "%SystemRoot%"=="" pause
> >
> >Furthermore, please report this:
> >- Can you map the drives manually, by executing
> > the above commands, one at a time, from a Command
> > Prompt?
> >- What happens when you invoke this batch file manually
> > from a Command Prompt:
> > \\YourServer\netlogon\netlogon.bat
> >
> >"Carl Gross" <(E-Mail Removed)> wrote in message
> >news:00d901c38c21$cb15d180$(E-Mail Removed)...
> >> net use u: \\server02\home\Userxxx
> >> net use f: \\server01\sys
> >> net use g: \\server01\apps
> >> net use m: \\server01\SharedFiles
> >> net use n: \\server02\photos
> >> net use p: \\server01\SharedFiles
> >> net use s: \\server02\OtherShared
> >> net use j: \\server01\cd-rom
> >> >-----Original Message-----
> >> >Let's have a look at your netlogon batch file!
> >> >
> >> >
> >> >"Carl Gross" <(E-Mail Removed)> wrote in message
> >> >news:094c01c389cd$37f3ee60$(E-Mail Removed)...
> >> >> I have a W98 workstation on an NT 4.0 network. When

> the
> >> >> W98 workstation logs on, none of the network drives
> >> >> (especially the U(ser) drive) show up. There are no
> >> >> errors, but no mapped network drives appear either.
> >> >>
> >> >> We are using TCP/IP as our protocol.
> >> >>
> >> >> Any ideas?
> >> >
> >> >
> >> >.
> >> >

> >
> >
> >.
> >



 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Run a batch file remotely Dane Windows Networking 3 08-03-2009 10:25 PM
Single Batch File Vis-MCSA Windows Networking 11 12-03-2007 05:45 AM
Rinominare File con data attraverso un file Batch Daytan Windows Networking 1 09-18-2007 05:40 PM
Batch File Problems Nikon Windows Networking 2 04-26-2006 07:50 PM
batch file move across network Bob Padgett Windows Networking 1 10-30-2003 10:02 PM



1 2 3 4 5 6 7 8 9 10 11