Re: mapped drives
- From: "sherman" <sherman@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 16 Jun 2005 12:38:09 -0700
"Olaf Engelke [MVP Windows Server]" wrote:
> Hi,
> sherman wrote:
> >> Hi,
> >> sherman wrote:
> >>> Within my script i have set it up for 4 mapped drives, but for some
> >>> reason when I log on, only 2 show up although I am suppose to have 3
> >>> mapped drives in my profile. Is there a setting within windows 2000
> >>> server that you can set to limit the amount a drives? Where can I go
> >>> to fix this problem?
> >>
> >> if you run the script later manually from the same user account,
> >> does it execute properly then?
> >> Would you post the contents of your script?
>
> are the Group memberships for the logging in accounts really correct (are
> they member of all the groups)?
> Would the mappings work, if you make a simple script without IF conditions
> and error checking?
> Btw.: Your error messages everytime point to drive S: .
> Are the drive letters already connected (open a cmd prompt and execute the
> command
> net use
> Best greetings from Germany
> Olaf
>
> > Here is the script
>
> > IF INGROUP("Counselors")
> > USE I: "\\spms1\Counselors"
> > IF @error
> > ? "Couldn't map drive S:"
> > ? "ERROR: " @error " " @serror
> > sleep 5
> > End IF
> > END IF
> >
> > IF INGROUP("Office")
> > USE E: "\\spms1\Office"
> > IF @error
> > ? "Couldn't map drive S:"
> > ? "ERROR: " @error " " @serror
> > sleep 5
> > End IF
> > END IF
> >
> > IF INGROUP("SummerSchool")
> > USE J: "\\spms1\SummerSchool"
> > IF @error
> > ? "Couldn't map drive S:"
> > ? "ERROR: " @error " " @serror
> > sleep 5
> > End IF
> > END IF
> >
> >
> > IF INGROUP("Aeries Users")
> > IF @DOS="4.0"
> > USE S: "\\10.1.1.4\AERIES"
> > IF @error
> > ? "Couldn't map drive S:"
> > ? "ERROR: " @error " " @serror
> > sleep 5
> > END IF
> > ENDIF
> > ENDIF
> >
> > If i manually execute the script i would get the welcome screen and
> > it would map
> > only the drive that I manually set in the account in active directory
> > and the first drive
> > within the script itself
>
> the drive that i want to connect to is drive E: for the Office group and it doesn't map. Only my home drive which I manually set up in active directory and the I: drive for the ingroup "Councelors" in the scrip maps. I used the net use command in DOS to map the E: drive and it worked. I just don't understand why it isn't working in the script.
.
- References:
- mapped drives
- From: sherman
- Re: mapped drives
- From: Olaf Engelke [MVP Windows Server]
- Re: mapped drives
- From: sherman
- Re: mapped drives
- From: Olaf Engelke [MVP Windows Server]
- mapped drives
- Prev by Date: Learning to script
- Next by Date: Re: Learning to script
- Previous by thread: Re: mapped drives
- Next by thread: Re: mapped drives
- Index(es):
Relevant Pages
|