I would amend the command so it doesn't prompt the user. Thus:
 
net use g: /delete /y


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Todd Hofert
Sent: Sonntag, 22. Januar 2006 19:07
To: [email protected]
Subject: RE: [ActiveDir] Moving Share to a different server

Sorry to bore everyone with such simplicity.
 
I added the following to the beginning of the logon script:
 
net use g: /delete
 
Then changed the server name on the command to map the drive to the new server. Shortcut works as it just points to the drive letter which hasn't changed.


From: [EMAIL PROTECTED] on behalf of Todd Hofert
Sent: Sun 1/22/2006 10:30 AM
To: [email protected]
Subject: [ActiveDir] Moving Share to a different server

I have moved a share to a new server that is mapped as G:/ to clients via a log on script. Each client in turn has a shortcut on their desktop which points to the G:/ "drive". After moving the share to a new server I was hoping I could simply change the server name in the log on script and everything would map to the new location and shortcut would work etc. Log on script however is leaving the old mapping and showing it as a disconnected share that is unavaiulable. Can someone tell me how I can edit the log on script to get rid of the old map and map to the new share and with any luck leave the desktop shortcut functional?
 
Thanks
Todd Hofert
 

This e-mail and any attachments may contain confidential and privileged
information. If you are not the intended recipient, please notify the
sender immediately by return e-mail, delete this e-mail and destroy any
copies. Any dissemination or use of this information by a person other
than the intended recipient is unauthorized and may be illegal.

Reply via email to