Jump to content

Recommended Posts

Posted

Hi,

 

I'm trying to set up a script to map network drives when an XP laptop loses connection and then regains it. The user log on is done by Group Policy.

I have tried using NET USE Y: \\servername\networkshare but it didn't work (not sure I was doing it correctly as we are trying to map about 5 drives)

 

Any help appreciated.

H

Posted
You could use the /persistent switch this will keep the drive mapped even if there is a netowrk failure. You can do this without scripting if you start using GPP with CSE installed for XP. It can also map printers and change settings for programs that are not controlled by GPOs...
Posted

I have just set this up in sysvol and used the same as you and it works for new drive letter.

 

In the past when I have moved shares i have had to use

net use p: /delete /y

net use p: //newthing

 

needed to delete the drive first before re-adding it

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



×
×
  • Create New...