Solved

Virtual Drive Letter

Posted on 2003-10-27
8
310 Views
Last Modified: 2010-05-18
Hi Everyone,

I need to be able to create a virtual drive letter q: which I can associate to a folder on the d: drive.  The reason I need to do this is an application has been installed on one of our servers which must use the same drive letter as the users workstations.  We can't leave this as d: as this is often the cdrom drive or something on a users workstation, the q: drive is clear for use in our logon scripts.

Is there any app or service which will allow us to create a drive letter and map it too a folder.  I know we could just map a drive but this means we need to leave a user logged on.

And why go to all this trouble?  I am just trying to avoid having and outage and rebuild of the server which has been rushed into a production environment.

Anyway if you have any ideas, they are all welcome?

Cheers

0
Comment
Question by:hardmandez
[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
8 Comments
 
LVL 32

Expert Comment

by:LucF
ID: 9627451
You can share the folder, then run a batch file (wich you can put in the startup folder) like:

net use q: \\127.0.0.1\sharedfoldername

LucF
0
 

Author Comment

by:hardmandez
ID: 9627523
Yeah thought about that.  We run the risk of another administrator logging the user off though.  So something that runs in the background as service would be the ideal solution.

If we really needed to do that as the last resort I gues we could switch  autologon on incase someone did log it off, that all sounds very nasty though.

Any other ideas?

0
 
LVL 32

Expert Comment

by:LucF
ID: 9627587
I really think this is the only way, a mapped drive is bound to the user that logged in.
0
Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

 
LVL 15

Accepted Solution

by:
Rob Stone earned 50 total points
ID: 9627853
SUBST command is a virtual drive mapping.  If you have a utility to convert a batch file to a exe then you can then run that as a service on startup with the help of the NT/2000 Resource Kit.
0
 
LVL 32

Expert Comment

by:LucF
ID: 9627926
good idea Stoner

the prompt should look like

SUBST Q: [path to directory]
0
 
LVL 1

Expert Comment

by:NahumK
ID: 9628308
PSEXEC
http://www.sysinternals.com/ntw2k/freeware/psexec.shtml
It slices, it dices, it runs any program via command line on a remote machine. no need to log off users.
0
 
LVL 2

Expert Comment

by:lazerstl
ID: 9631266
what about srvany or run the batch file with the system account?
0
 

Author Comment

by:hardmandez
ID: 9632419
Cheers for your help guys.  I think I will give stoners idea a bash.
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
If you need a simple but flexible process for maintaining an audit trail of who created, edited, or deleted data from a table, or multiple tables, and you can do all of your work from within a form, this simple Audit Log will work for you.
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…

691 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