Expiring Today—Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

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

Posted on 2006-11-07
2
Medium Priority
?
724 Views
Last Modified: 2008-02-01
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?

0
Comment
Question by:kreilkamp
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 10

Accepted Solution

by:
chrisnewman01 earned 2000 total points
ID: 17893253
Check the c:\windows\system32\usrlogon.cmd file (it's a text file and may be in a different folder, so you may want to do a search for it and open with Notepad) to see if there are any T drive mappings in there (maybe a simple NET USE T: \\SQL2000\TMW with the credentials after it).  It sounds like it's definitely somewhere in that file, if everyone is getting the drive mapping ONLY when they log in to the Citrix server.  Also, from the command line, see what results SUBST bring back to the screen.  It sounds like one or the other (net use or subst) that are launching somewhere.  

What type of authentication are users logging into the server with?  Are the accounts local to the Citrix server?
0
 

Author Comment

by:kreilkamp
ID: 17893369
Chris that was exactly the issue.  Thank you so much!!
0

Featured Post

Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Citrix XenDesktop 7.6 Citrix Policies Audio
If your vDisk VHD file gets deleted from the image store accidentally or on purpose, you won't be able to remove the vDisk from the PVS console. There is a known workaround that is solid.
How to install and configure Citrix XenApp 6.5 - Part 1. In this video tutorial we have explained step by step installation of Citrix XenApp 6.5 Server on Windows Server 2008 R2 is explained in this video. We have explained the difference between…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

718 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question