Solved

Virtual Drive Letter

Posted on 2003-10-27
8
307 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
8 Comments
 
LVL 32

Expert Comment

by:Luc Franken
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:Luc Franken
ID: 9627587
I really think this is the only way, a mapped drive is bound to the user that logged in.
0
Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

 
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:Luc Franken
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

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

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…
Knowing where your website is hosted is as important as the features you receive, the monthly fee, and the support you receive. Due diligence should be done when choosing your next hosting provider.
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

770 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