Solved

How to hide network drives but still use them for apps

Posted on 2010-09-14
6
632 Views
Last Modified: 2012-06-27
Hi,
I am wondering how I can hide network drives for users but still have them available for applications.
If someone can help that will be appreciated.
Regards,
Joe
0
Comment
Question by:joestramandinoli
[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
6 Comments
 
LVL 65

Accepted Solution

by:
rockiroads earned 100 total points
ID: 33679173
something here (registry hack) which might work, dont know as I have not tried it myself http://www.mombu.com/microsoft/certification-networking/t-how-to-hide-a-network-drive-on-xp-321111.html

and here is the ms article about it http://support.microsoft.com/kb/231289
0
 
LVL 8

Assisted Solution

by:thetmanvn
thetmanvn earned 100 total points
ID: 33679184
http://www.online-tech-tips.com/computer-tips/hide-a-drive-in-windows-the-easy-way/

Here you are, but remember this way, user still try all the drive letter if they know about it.
0
 
LVL 4

Assisted Solution

by:Malajlo
Malajlo earned 100 total points
ID: 33680018
Disable share mapping and use hidden shares. Network drive is only for easyier use (and old applications using drive letters only)
0
NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

 
LVL 8

Assisted Solution

by:TSGITDept
TSGITDept earned 100 total points
ID: 33685638
I use these ALL the time and especially for applications, scripts, etc.

Put a "$" after the share name and it will be hidden from Network Browsing.

Example...
Server Name:     BigFileServer
Visible Share:     d:\shares\Accounting    Shared as "Accounting"
UNC path:          \\BigFileServer\Accounting

Hidden Share:     d:\shares\Accounting    Shared as "Accounting$"
UNC path:          \\BigFileServer\Accounting$

For security best practices:
Create a custom security group (say, "AccountingBatchUpload" for example) to grant Share level and NTFS level access
Then create a service account for your application (add it to the group) and use to authenticate, say "zAccountingBatchUpload" for example.  ( I prefix all my service accounts with a "z" so that they always show up at the end of the alphabet in the AD user list.
0
 
LVL 10

Assisted Solution

by:3_S
3_S earned 100 total points
ID: 33685797
First of all I use the $ sign to create drives that users don't have to see.
Then from your application you can make the connection using shell
net use \\server\share$ /user:domain\user password

In the net use command no drive letter is specified. (not need else it will show up in windows explorer)
You can also specify other user then the logged in user.
Now you can access the files with the UNC path.

At the end of the application use
net use \\server\share$ /delete
this disconnects the drive and if you used other credentials the user will not be able to connect back to this drive with his credentials even if he knows the UNC path.

I mostly embed this in the application itself.
0
 

Author Closing Comment

by:joestramandinoli
ID: 33837900
Solution not needed anymore
0

Featured Post

Connect further...control easier

With the ATEN CE624, you can now enjoy a high-quality visual experience powered by HDBaseT technology and the convenience of a single Cat6 cable to transmit uncompressed video with zero latency and multi-streaming for dual-view applications where remote access is required.

Question has a verified solution.

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

Ever notice how you can't use a new drive in Windows without having Windows assigning a Disk Signature?  Ever have a signature collision problem (especially with Virtual Machines?)  This article is intended to help you understand what's going on and…
I'm a big fan of Windows' offline folder caching and have used it on my laptops for over a decade.  One thing I don't like about it, however, is how difficult Microsoft has made it for the cache to be moved out of the Windows folder.  Here's how to …
Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

751 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