Solved

How to hide "specific" networked (mapped) drives

Posted on 2007-12-05
9
736 Views
Last Modified: 2013-12-04
I have some software that requires a mapped drive to its target folder for it to work and I have to give my users read/write permissions.  I am not comfortable with giving my students that much permission to a crucial piece of software.  So i am wanted to hide the mapped drive (call it drive W ) so they can't even see it but still have access to it.  I use Group Policy and would love to find a solution that utilizes that feature.

I am running:
Windows Server 2003: Standard
Windows XP: Professional (client PC)

Clients log into a domain and their mapped drive is set in Active Directory (home directory)

I have a winKix login script that I use for all my users and do not know who to use more than 1 if that is possible to begin with.
0
Comment
Question by:kathy_harvey
9 Comments
 
LVL 82

Expert Comment

by:oBdA
Comment Utility
Check this article on how to do it; the value that will hide (only) the W drive is 4194304
Using Group Policy Objects to hide specified drives in My Computer for Windows 2000
http://support.microsoft.com/?kbid=231289
0
 

Author Comment

by:kathy_harvey
Comment Utility
I did I followed the article step-by-step and still nothing.  The article edit gives the GP another option for custom drives but when I click on the drop down box in GP what I created isn't there.  Not sure if it matters but my server is a Win 2003 not 2000.
0
 

Author Comment

by:kathy_harvey
Comment Utility
Could someone attach the piece of the code that I need?  That way I know I am doing it correctly.
0
 
LVL 82

Expert Comment

by:oBdA
Comment Utility

POLICY !!NoDrives

   EXPLAIN !!NoDrives_Help

      PART !!NoDrivesDropdown          DROPDOWNLIST NOSORT REQUIRED

         VALUENAME "NoDrives"

          ITEMLIST

                NAME !!ABOnly           VALUE NUMERIC 3

                NAME !!COnly            VALUE NUMERIC 4

                NAME !!DOnly            VALUE NUMERIC 8

                NAME !!ABConly          VALUE NUMERIC 7

                NAME !!ABCDOnly         VALUE NUMERIC 15

                NAME !!RestQDrive       VALUE NUMERIC 4194304

                NAME !!ALLDrives        VALUE NUMERIC 67108863

                ;low 26 bits on (1 bit per drive)

                NAME !!RestNoDrives     VALUE NUMERIC 0 (Default)

          END ITEMLIST

     END PART

   END POLICY
 

[strings]

ABCDOnly="Restrict A, B, C and D drives only"

ABConly="Restrict A, B and C drives only"

ABOnly="Restrict A and B drives only"

ALLDrives="Restrict all drives"

COnly="Restrict C drive only"

DOnly="Restrict D drive only"

RestNoDrives="Do not restrict drives"

RestQDrive="Restrict Q drive only"

Open in new window

0
Free camera licenses with purchase of My Cloud NAS

Milestone Arcus software is compatible with thousands of industry-leading cameras for added flexibility. Upon installation on your My Cloud NAS, you will receive two (2) camera licenses already enabled in the software. And for a limited time, get additional camera licenses FREE.

 

Author Comment

by:kathy_harvey
Comment Utility
Ok i have copied and pasted this, manually typed it, and still nothing.  I don't even see the new option that this code is supposed to give in Group Policy.  I desperately need something soon, anyone else have an idea?
0
 
LVL 82

Accepted Solution

by:
oBdA earned 500 total points
Comment Utility
The listing above were the parts that were supposed to be changed in a copy of system.adm like described in the article.
You can take the code below, save it as MyHideDrives.adm or Whatever.adm, load it into the GP editor (right-click "Administrative Templates", Add/Remove Templates), and you'll find the setting under "Additional Settings".
CLASS USER

CATEGORY "Additional Settings"

  POLICY "Hide these specified drives in My Computer"

      KEYNAME "Software\Microsoft\Windows\CurrentVersion\Policies\Explorer"

      PART "Hide these drives"          DROPDOWNLIST NOSORT REQUIRED

         VALUENAME "NoDrives"

          ITEMLIST

                NAME !!ABOnly           VALUE NUMERIC 3

                NAME !!COnly            VALUE NUMERIC 4

                NAME !!DOnly            VALUE NUMERIC 8

                NAME !!ABConly          VALUE NUMERIC 7

                NAME !!ABCDOnly         VALUE NUMERIC 15

                NAME !!RestQDrive       VALUE NUMERIC 4194304 DEFAULT

                NAME !!ALLDrives        VALUE NUMERIC 67108863

                ;low 26 bits on (1 bit per drive)

                NAME !!RestNoDrives     VALUE NUMERIC 0

          END ITEMLIST

     END PART

   END POLICY

END CATEGORY ;  "Additional Settings"
 

[strings]

ABCDOnly="Restrict A, B, C and D drives only"

ABConly="Restrict A, B and C drives only"

ABOnly="Restrict A and B drives only"

ALLDrives="Restrict all drives"

COnly="Restrict C drive only"

DOnly="Restrict D drive only"

RestNoDrives="Do not restrict drives"

RestQDrive="Restrict Q drive only"

Open in new window

0
 
LVL 1

Expert Comment

by:Computer101
Comment Utility
Forced accept.

Computer101
EE Admin
0
 

Expert Comment

by:manch03
Comment Utility
I was having this same issue - I copied and pasted the code and did find it under Customized Settings under Admin Templates  - the problem I am having now is - do I rename that hidedrives file to system.adm under that policy?  I can see it in the policy, but it does not seem to be working with this name.
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

SHARE your personal details only on a NEED to basis. Take CHARGE and SECURE your IDENTITY. How do I then PROTECT myself and stay in charge of my own Personal details (and) - MY own WAY...
Container Orchestration platforms empower organizations to scale their apps at an exceptional rate. This is the reason numerous innovation-driven companies are moving apps to an appropriated datacenter wide platform that empowers them to scale at a …
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

728 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now