Solved

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

Posted on 2003-10-24
8
1,198 Views
Last Modified: 2010-03-18
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
Comment
Question by:shemken
  • 4
  • 3
8 Comments
 
LVL 8

Expert Comment

by:JasonBigham
ID: 9616477
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
 

Author Comment

by:shemken
ID: 9616524
Exactly Jason
0
 
LVL 8

Accepted Solution

by:
JasonBigham earned 500 total points
ID: 9616545
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
 

Author Comment

by:shemken
ID: 9616570
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
Network it in WD Red

There's an industry-leading WD Red drive for every compatible NAS system to help fulfill your data storage needs. With drives up to 8TB, WD Red offers a wide array of solutions for customers looking to build the biggest, best-performing NAS storage solution.  

 
LVL 8

Expert Comment

by:JasonBigham
ID: 9616591
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
 

Author Comment

by:shemken
ID: 9616639
yup, 2 wins server, they are setup to be replication partners, and both address published through dhcp as primary and secondary wins
0
 

Expert Comment

by:timnorvel
ID: 9616775
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
 

Author Comment

by:shemken
ID: 9616971
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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Have you ever set up your wireless router at home or in the office to find that you little pop-up bubble in the bottom right-hand corner of Windows read "IP Conflict - One of more computers on the network have been assigned the following IP address"…
Many of us in IT utilize a combination of roaming profiles and folder redirection to ensure user information carries over from one workstation to another; in my environment, it was to enable virtualization without needing a separate desktop for each…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now