Logon Script

G

Guest

I need some scripting help. Windows 2003 server WinXP Pro workstations.
I cannot get the mapped drives to change to a new location ie
currently
net use t: \\server1\file1
I need it now to go to net use t: \\server2\file1

I had used this script since my NT4 days
The problem is that even though I have the new script running the mapped
drive on the workstation stays as the old script. How do I remove the old
mapping to make way for the new mapping?
Thanks
 
R

Robert L [MS-MVP]

are you talking about persistent mapping? this may help. quoted from
http://howtonetworking.com
Mapping problem - persistent connection

After you changed net use I: \\serverA\shared to \\serverB\shared in your
logon script, some windows 2000 machines are still mapping to
\\serverA\shared. The reason is that net use /persistent:yes is default
settings for NT and win2000/XP. You can disconnect the old mapping and
re-logon. That will map to \\cbgntB\shared. Also you may want to use NET
USE I: \\servername\folder /persistent:no so that next time when we change
the mapping, it will automatically map to the new settings.


--
For more and other information, go to http://howtonetworking.com and
http://ChicagoTech.net

Don't send e-mail or reply to me except you need consulting services.
Posting on MS newsgroup will benefit all readers and you may get more help.

Bob Lin, MS-MVP, MCSE & CNE
How to Setup Windows, Network, Remote Access on
http://www.HowToNetworking.com
Networking, Internet, Routing, VPN, Anti-Virus, Tips & Troubleshooting on
http://www.ChicagoTech.net
This posting is provided "AS IS" with no warranties.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top