[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1210
  • Last Modified:

Using active directory and login scripts to control mapped drives on win9x machines.

Ok, I've turned to www.experts-exchange.com becuase of the great community support, i have faith that someone out there has had this same issue.  So thanks to everyone who responds with info in advance!

Ok, so I've got an active directory domain in my school district, I'm trying to get the win9x clients who login to the domain to use login scripts to be able to map drives on these clients.  The first method I tried is writing a simple .bat file, storing it the sysvol\"domain"\scripts\ folder, then refrencing that .bat file as a "login script" in the user properties in active directory users and groups.  Under the "profile" tab, and setting the "login script" to the name of that .bat file.  Since the .bat file is stored in the common script location i tried just refrencing the name of the .bat file, since that didn't work I also tried actually putting in the unc pathing to that location, and got nothing on the client machines.

So then I went the route of installing "dsclient.exe" for win9x machines so that they are more compatible with active directory, after installing the dsclient, still nothing.  So then I try the group policy route of adding login scripts to the "logon/logoff scripts" section of user polocies, still nothing.  Then I tried to installed the latest WMI package for 9x clients, and low and behold still nothing.

So I'm pretty much at a loss here, not sure what I'm doing wrong, oh also to note on the client machines not only did I setup the microsoft client to login to the domain name, but also changed the workgroup on that machine to reflect the name of the domain.

frustration has set in, and i'm turning to the help of fellow commrades.. thanks again for all who have ideas.. anything is welcome,

Seth Hemken
Network / System Administrator
Redding School District
0
shemken
Asked:
shemken
  • 4
  • 3
1 Solution
 
JasonBighamCommented:
This waht you meant by installing dsclient.exe?

The Windows 95/98-based Active Directory client extension is distributed on the Windows 2000 CD.

http://www.microsoft.com/windows2000/server/evaluation/news/bulletins/adextension.asp

0
 
shemkenAuthor Commented:
Exactly Jason
0
 
JasonBighamCommented:
No 9x pc's here anymore, but when we did, it all woked when the batches were in the \\domaincontroller\netlogon directory.

Could you post some samples of your bat files? Just rename any site specific info (servers, etc)
0
Microsoft Certification Exam 74-409

VeeamĀ® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 
shemkenAuthor Commented:
Well as I mentioned I started with a really simple login script,

it was called suesd.bat and the contents were only this:

net use q: \\176-suesd0\alsdata


that was all that was in the .bat file.  and the file works fine with 9x becuase if I would click put the unc pathing in the "run" command on a 9x machine and hit ok the .bat file would run and map the directory just fine.
0
 
JasonBighamCommented:
I'm wondering, do you still have WINS servers out there for these legacy boxes... as well as correct WINS entries on the affected workstations? Just throwing ideas out there...
0
 
shemkenAuthor Commented:
yup, 2 wins server, they are setup to be replication partners, and both address published through dhcp as primary and secondary wins
0
 
timnorvelCommented:
I map drives using a Group Policy... would that work for you?  This is what I do:

> right click on the OU where your users are and go to the Group Policies tab,
> add a new policy (name it whatever)
> Edit the policy
> Go to User Configuration/Windows Settings/Scripts and double click logon
> Click Show files and copy your bat file here
> Close this window, then select Add
> Browse and choose the file you just created and choose ok twice, then close the Group Policy window
> With the Group Policy tab selected, choose Properties and configure the security so that this policy only applys to whom you want.  If you don't do this it will apply to all users in the OU.

Not sure if this is the answer for the 9x clients, but it's something to try.

Good luck
0
 
shemkenAuthor Commented:
jason thanks,

what you said got me thinking, when you said that you put your scripts in the root of netlogon they would work, so i tried that and it worked for me as well, so then i figured out that in the "profile" settings where it says "login script" if you remember that refrencing a file in that box means its going to automatically look in "netlogon" you can reference different directories by putting them first and then a \ between each directory.. so in my netlogon directory i created a 176-suesd0 folder for that server, and put the scripts that i use in there, so then in my profile box i put "176-suesd0\batch.bat" file and it works great

thanks again everyone..
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now