Solved

Virtual Drive Letter

Posted on 2003-10-27
8
309 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
Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

 
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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Microsoft Outlook 2007 stationary with un-clickable image 3 191
ClamAV for Old Windows 2000 Server 7 2,139
Windows 7 7 274
Change port for terminal servers (2000 and 2003) 3 172
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…
This article was initially published on Monitis Blog, you can read it here . When it comes to deciding which approach to website performance monitoring is best for your business, unfortunately, like so many options in life . . . it depends. In t…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

730 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