Jump to content

Recommended Posts

Guest mpaulic
Posted

Hello everyone.

 

I could really use some help here. I know the description is long. But I'm

trying to give as much info as I can. Please help!

 

I have a win server 2003 sp2 with a bunch of winxp client machines. I have

active directory running. I created a logon script for mapping network drives

that is in the active directory->domain->group policy->.... logon script.

This logon script works fine for all users.

 

I wanted to create a intranet system with using internet explorer so users

can simply browse with links to all the various things that they need. I

created the web pages and they are working fine.

 

Internet information service has been installed from day 1. I went to IIS

manager and created a new web site for the intranet & pointed its root to the

proper location of the site on the fileservers harddrive. I then stopped the

default web stie.

 

Now on any of the users machine when they open internet explorer & type the

servers name into the address bar they get the intranets home page & it all

works fine.

 

Here is the problem.

 

Now on the users machines the mapped network drives do not all work, or at

least they do not all appear in my computer. Some mapped network drives do.

Using my own regular logon the mapped drives are fine. But I am an

administrator. All other do not.

 

Looking further I found that if I tried to run the script file, the same one

used on the server, on the users local machine; I find that it only connects

a certain number of drives, then asks for a password again. If I type the

passoword, the script completes. But the mapped network drive are still

missing in my computer. If I look at the script as it executes, all command

complete successfully. I cannot seem to find how to fix this. My

understanding was that since the user has looged on the system has thier

security info so the second entry of the password should not be needed.

 

Two important points to note are;

-All the mapped network drives that are suppose to connect after it asks for

the password again are the ones that do not appear.

-Also the way I has planned the networking mapping was that the mapping

logon script is the same for all users. But not all users have security

access to all the drives. The idea was that if the user has security access

then they would connect, if not it would have an error for that connection &

not map the drive. This way I could have only one script file for all users.

 

Here is a sample of the script command.

 

net use n: \\DELLFILESERVER\Assembly

/USER:FILESERVER\%username%

 

net use o: \\DELLFILESERVER\Office$\Other

/USER:FILESERVER\%username%

 

But here is the wierd part. If I delete the intranet web site I created in

the IIS manager. This whole problem of the network drive goes away. Just to

check I ran the script manually on a user machine and now it does not ask for

a password part way through mapping the drives.

 

Does anyone have any idea what could be going on?

 

Any advise would be greatly appreaciated.

Mat

  • Replies 2
  • Created
  • Last Reply
Guest mpaulic
Posted

RE: odd behaviour

 

Anyone?

 

"mpaulic" wrote:

> Hello everyone.

>

> I could really use some help here. I know the description is long. But I'm

> trying to give as much info as I can. Please help!

>

> I have a win server 2003 sp2 with a bunch of winxp client machines. I have

> active directory running. I created a logon script for mapping network drives

> that is in the active directory->domain->group policy->.... logon script.

> This logon script works fine for all users.

>

> I wanted to create a intranet system with using internet explorer so users

> can simply browse with links to all the various things that they need. I

> created the web pages and they are working fine.

>

> Internet information service has been installed from day 1. I went to IIS

> manager and created a new web site for the intranet & pointed its root to the

> proper location of the site on the fileservers harddrive. I then stopped the

> default web stie.

>

> Now on any of the users machine when they open internet explorer & type the

> servers name into the address bar they get the intranets home page & it all

> works fine.

>

> Here is the problem.

>

> Now on the users machines the mapped network drives do not all work, or at

> least they do not all appear in my computer. Some mapped network drives do.

> Using my own regular logon the mapped drives are fine. But I am an

> administrator. All other do not.

>

> Looking further I found that if I tried to run the script file, the same one

> used on the server, on the users local machine; I find that it only connects

> a certain number of drives, then asks for a password again. If I type the

> passoword, the script completes. But the mapped network drive are still

> missing in my computer. If I look at the script as it executes, all command

> complete successfully. I cannot seem to find how to fix this. My

> understanding was that since the user has looged on the system has thier

> security info so the second entry of the password should not be needed.

>

> Two important points to note are;

> -All the mapped network drives that are suppose to connect after it asks for

> the password again are the ones that do not appear.

> -Also the way I has planned the networking mapping was that the mapping

> logon script is the same for all users. But not all users have security

> access to all the drives. The idea was that if the user has security access

> then they would connect, if not it would have an error for that connection &

> not map the drive. This way I could have only one script file for all users.

>

> Here is a sample of the script command.

>

> net use n: \\DELLFILESERVER\Assembly

> /USER:FILESERVER\%username%

>

> net use o: \\DELLFILESERVER\Office$\Other

> /USER:FILESERVER\%username%

>

> But here is the wierd part. If I delete the intranet web site I created in

> the IIS manager. This whole problem of the network drive goes away. Just to

> check I ran the script manually on a user machine and now it does not ask for

> a password part way through mapping the drives.

>

> Does anyone have any idea what could be going on?

>

> Any advise would be greatly appreaciated.

> Mat

  • 2 months later...
Guest Gareth Howells
Posted

Re: odd behaviour

 

Not sure about that, I'll have a play and see if I can find anything. For

now though, I would recommend moving your users into OUs and assigning

different logon scripts to each OU. I would also personally opt for

vbscripts rather than batch files.

 

A batch file to map drive N to 'share' on 'server' and drive V to 'wibble'

on 'ned':

 

@echo off

net use n: \\server\share

net use v: \\ned\wibble

 

A vbscript to do the same (file extension .vbs):

 

Dim wshNetwork

 

Set wshNetwork = CreateObject("Wscript.Network")

 

wshNetwork.MapNetworkDrive "n:", "\\server\share"

wshNetwork.MapNetworkDrive "v:", \\ned\wibble

 

WSCript.Quit

 

See if that solves your problem, if not post back and I'll dig a bit deeper.

 

Gareth

 

"mpaulic" <mpaulic@discussions.microsoft.com> wrote in message

news:B93D85BF-4B80-421E-A445-C90E75CD63E4@microsoft.com...

> Anyone?

>

> "mpaulic" wrote:

>

>> Hello everyone.

>>

>> I could really use some help here. I know the description is long. But

>> I'm

>> trying to give as much info as I can. Please help!

>>

>> I have a win server 2003 sp2 with a bunch of winxp client machines. I

>> have

>> active directory running. I created a logon script for mapping network

>> drives

>> that is in the active directory->domain->group policy->.... logon script.

>> This logon script works fine for all users.

>>

>> I wanted to create a intranet system with using internet explorer so

>> users

>> can simply browse with links to all the various things that they need. I

>> created the web pages and they are working fine.

>>

>> Internet information service has been installed from day 1. I went to IIS

>> manager and created a new web site for the intranet & pointed its root to

>> the

>> proper location of the site on the fileservers harddrive. I then stopped

>> the

>> default web stie.

>>

>> Now on any of the users machine when they open internet explorer & type

>> the

>> servers name into the address bar they get the intranets home page & it

>> all

>> works fine.

>>

>> Here is the problem.

>>

>> Now on the users machines the mapped network drives do not all work, or

>> at

>> least they do not all appear in my computer. Some mapped network drives

>> do.

>> Using my own regular logon the mapped drives are fine. But I am an

>> administrator. All other do not.

>>

>> Looking further I found that if I tried to run the script file, the same

>> one

>> used on the server, on the users local machine; I find that it only

>> connects

>> a certain number of drives, then asks for a password again. If I type the

>> passoword, the script completes. But the mapped network drive are still

>> missing in my computer. If I look at the script as it executes, all

>> command

>> complete successfully. I cannot seem to find how to fix this. My

>> understanding was that since the user has looged on the system has thier

>> security info so the second entry of the password should not be needed.

>>

>> Two important points to note are;

>> -All the mapped network drives that are suppose to connect after it asks

>> for

>> the password again are the ones that do not appear.

>> -Also the way I has planned the networking mapping was that the mapping

>> logon script is the same for all users. But not all users have security

>> access to all the drives. The idea was that if the user has security

>> access

>> then they would connect, if not it would have an error for that

>> connection &

>> not map the drive. This way I could have only one script file for all

>> users.

>>

>> Here is a sample of the script command.

>>

>> net use n: \\DELLFILESERVER\Assembly

>> /USER:FILESERVER\%username%

>>

>> net use o: \\DELLFILESERVER\Office$\Other

>> /USER:FILESERVER\%username%

>>

>> But here is the wierd part. If I delete the intranet web site I created

>> in

>> the IIS manager. This whole problem of the network drive goes away. Just

>> to

>> check I ran the script manually on a user machine and now it does not ask

>> for

>> a password part way through mapping the drives.

>>

>> Does anyone have any idea what could be going on?

>>

>> Any advise would be greatly appreaciated.

>> Mat


×
×
  • Create New...