Solved

How to hide network drives but still use them for apps

Posted on 2010-09-14
6
631 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
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
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 
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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Routing between two networks? 10 77
Understanding Security Log Events 2 63
Windows 8.1 Enterprise Pauses Frequently 27 86
how to count files? 4 31
The Need In an Active Directory enviroment, the PDC emulator provide time synchronization for the domain. This is important since Active Directory uses Kerberos for authentication.  By default, if the time difference between systems is off by more …
Are you one of those front-line IT Service Desk staff fielding calls, replying to emails, all-the-while working to resolve end-user technological nightmares? I am! That's why I have put together this brief overview of tools and techniques I use in o…
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…

830 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