Net use * /delete
Net use g: \\newserver\share
Kevinm WLKMMAS*TM, QWSZC, VRY+Y, NFH, SAD-VF, DERSDESDFG
~~~
More letters after my name makes me Smarter.
~~~
This space has been rented by:
[mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 23, 2001 4:57 PM
To: NT System Admin Issues
Subject: RE: Changing Mappings after server re-name
Net use * /delete
Net use g: \\newserver\share
Kevinm WLKMMAS*TM, QWSZC, VRY+Y, NFH, SAD-VF, DERSDESDFG
:[EMAIL PROTECTED]]
Sent: Thursday, August 23, 2001 11:36 AM
To: NT System Admin Issues
Subject: RE: Changing Mappings after server re-name
That won't work because I will want multiple drives with different drive
letter assignments un-mapped and remapped to the same drive letter using
the new
Title: RE: Changing Mappings after server re-name
My only question here is why in the world are you letting users (or making them) map their own drives. This should be done with logon scripts.
Thanks,
Blake Fowkes
Waid and Associates
-Original Message-
From: Tom Grabowski [mailto
Title: RE: Changing Mappings after server re-name
Just use
net use /delete n:
net use n: \\newserver\share
Eric Wittenberg, MCSE CNA ASE
Technical Systems Analyst
3D Computer Services Ltd.
Edmonton, Alberta
(780)484 9788 Fax (780) 484 9811
e-mail [EMAIL PROTECTED]
URL www.3dcomp.com
You have all been a great help.
Yes I know what net use * /delete does. And it is exactly what I don't want
to do.
We have users manually mapped because that is the way it thank you for your
thought full insight on logon scripts, hmmm, but I thought that was what my
initial request stated;
Title: Message
What's
a logon script?
-Original Message-From: Blake R. Fowkes
[mailto:[EMAIL PROTECTED]] Sent: Thursday, August 23, 2001 12:00
PMTo: NT System Admin IssuesSubject: RE: Changing
Mappings after server re-name
My only question here is why in the world
Admin Issues [EMAIL PROTECTED]
Sent: Friday, August 24, 2001 4:35 AM
Subject: RE: Changing Mappings after server re-name
That won't work because I will want multiple drives with different drive
letter assignments un-mapped and remapped to the same drive letter using
the
new server name
Title: RE: Changing Mappings after server re-name
I think what they're trying to say is it's difficult to query each machine, get the shares, and then replace them. You might end up spending more time trying to create a sophisticated script than just trying to standardize using, for example
Goldoff
Systems Manager
The HoneyBaked Ham Company
678-966-3320
[EMAIL PROTECTED]
-Original Message-
From: Tom Grabowski [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 23, 2001 4:20 PM
To: NT System Admin Issues
Subject: RE: Changing Mappings after server re-name
You have all been a great
Yes, there is.
What OS are the clients using?
==
ASB - http://www.ultratech-llc.com/KB/?File=~MoreInfo.TXT
==
A neat desk is a sign of a sick mind.
The following will work in NT4 and Win2K (the FOR line long, and ends with %%w)
new server name = NEWSERVER
old server name = OLDSYSTEM
@ECHO OFF
set SERVER=OLDSYSTEM
for /f eol=c tokens=2,3 %%v in ('net use ^| find /i %SERVER%') do CALL :SwapShare
%%v %%w
GOTO :EOF
:SwapShare
set
12 matches
Mail list logo