Link to home
Start Free TrialLog in
Avatar of kreilkamp
kreilkamp

asked on

Change credentials for drive mapping used by all users (or remap drive)

We have Metaframe Presentation Server 3.0 on Windows Server 2003 in a non-Active Directory environment.  The server was prepared from the ground up by a company that is no longer in business and didn't train our IT staff on how to use it.  I am a programmer with little Windows Server experience and even less Citrix experience.

I need to know how to change the credentials of a drive mapping that is in place for all users.  The T: drive is mapped for Citrix server users to a directory on our SQL2000 server (\\SQL2000\tmw) using the administrator ID and password of the SQL2000 server.  We want to change the ID and password of the drive mapping so it no longer uses the Administrator ID.

I have tried using a VB logon script to change the drive mapping using the RemoveNetworkDrive, MapNetworkDrive and EnumNetworkDrive methods of the WScript.Network object.  RemoveNetworkDrive does not remove the T: drive even with setting the bForce argument to True, but the same command works on drives I've mapped using MapNetworkDrive in the logon script.  MapNetworkDrive does not overwrite the existing mapping of the T: drive.  EnumNetworkDrive only enumerates those drives that I have mapped in the logon script.  The T: drive is definitely there for every user on the system.

Can anyone tell me how this drive was mapped and how I can change the credentials or delete and remap the drive?

ASKER CERTIFIED SOLUTION
Avatar of chrisnewman01
chrisnewman01

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of kreilkamp
kreilkamp

ASKER

Chris that was exactly the issue.  Thank you so much!!