Jump to content

Recommended Posts

Posted

I have network with about 30 windows XP computers, Server is 2000. I was mapping network drives using group policy, but it seemed to not work very good, sometimes it would map sometimes not. Everthing else works under group policy. Its for a school and diffrent users are using diffrent machines alot...what would be the best way to do this? I made a .vbs script that maps drives and printers....I also tried to add the script to each user on the server, that still did not work good. If I do it localy on the XP machine it takes 2 logins to work..and I need it the first time...what im I doing wrong!?????????????/

thanks

Adam


Posted

my school launches a batch file to map the drives (or at least that's what i think bc a batch file comes up saying connecting to drives or something, i'm definitely not sure. we've 7 networked drives we can access to, i think only the one's based on the user account are by batches the others for all users..)

by user account network drives I mean every user has a 250mb space on the server in a specific folder so it connects there..

i'm not sure what they use, if i have permission to look at those files i'll try to find them..

Posted

Hi hedsonic,

where have you put in your script? :rolleyes:

It have to be here: :D

%windir%\SYSVOL\sysvol\"Your Domain Name"\scripts

Normally, a script like this works fine, for accessing local mapped network drives

net use H: \\Server\"Share Name" /User:%Username% /Persistent:Yes|No

You can also install printers with this way: :)

rundll32 printui.dll,PrintUIEntry /in /n \\Server\"Shared Printer Name"

When you use group policies, i hope you do it for the domain! If you do it on a local workstation it will be overwritten by the domain.

Hope that helps, have a nice day, Sie Tjin Kian

Posted

I have put the script in the right place and Im sure the script is correct. All the computers are part of the same domain. I dont know why group polices will not work to map the drive all the time?

Posted

Hi hedsonic,

something must be wrong in your script. Try to use a simple Batch-Script, so you can see what happend. If the script works on your client, copy it to the sysvol scripts in your domain folder, restart a client and check it out!

If it won't does his job, post the failures and Dialogs you get during login?

I will come back tomorrow for see what happend!

Have success and a nice day, Sie Tjin Kian

Posted

I will try that and some other stuff. If I go to a client machine and just run the script it works....Just windows XP seems not to run the script each time when Its with group policy, server problem? If I login in to a client the script will NOT work, I logout and try it again and it will work...then it will work on that machine all day, but a few days later I will login to the same machine and it will not work...so I think the script is correct...I can post the script if needed, group policy setting work fine except the login script .. User configiration-windows settings-scripts-logon. Is there a way to change it so windows XP does not keep a foler for every person that logs on to that machine wil that help?

adam

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...