+ Post New Thread
Results 1 to 14 of 14
Windows Server 2008 Thread, Hide drives with GPO in Technical; I am trying to Hide Drive letters A,b,c,d, and E. I created a new adm file and imported that into ...
  1. #1

    Join Date
    Apr 2009
    Location
    ALBANY
    Posts
    39
    Thank Post
    6
    Thanked 1 Time in 1 Post
    Rep Power
    0

    Hide drives with GPO

    I am trying to Hide Drive letters A,b,c,d, and E.
    I created a new adm file and imported that into my GPO. When I look at the GPO setting for Hide these specified drives in My Computer I do not have a listing for abcde just the default drive letters.
    I am putting the adm file in Windows/inf


    Am I missing something. Here is my ADM file I used which I just modified based on one I found





    CLASS USER

    CATEGORY !!HideDrives

    KEYNAME Software\Microsoft\Windows\CurrentVersion\Policies \Explorer
    POLICY !!HideDrives

    PART !!HideDrivesDropdown 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 !!HideACE VALUE NUMERIC 21
    NAME !!HideCE VALUE NUMERIC 20
    NAME !!HideCDE VALUE NUMERIC 28
    NAME !!HideACEF VALUE NUMERIC 53
    NAME !!HideCEF VALUE NUMERIC 52
    NAME !!HideABCDE VALUE NUMERIC 32
    NAME !!ALLDrives VALUE NUMERIC 67108863 DEFAULT
    NAME !!RestNoDrives VALUE NUMERIC 0
    END ITEMLIST
    END PART
    END POLICY



    END CATEGORY;HideDrives

    [strings]
    Blank=" "
    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"
    HideACEF="Restrict A,C,E and F drives only"
    HideCDE="Restrict C, D and E drives only"
    HideACE="Restrict A, C and E drives only"
    HideCE="Restrict C and E drives only"
    HideCEF="Restrict C, E and F drives only"
    HideABCDE="Restrict A, B, C, D and E drives only"
    HideDrives="Hide Drives"
    HideDrivesDropdown="Hide Drives Selection"
    MoveProfile="Move Profiles"
    MoveProfileDropdown="Move User Profile Location"
    MOVEPROFILETOD="Move Profile to D Drive"
    RestNoDrives="Restore Drives"

  2. #2


    Join Date
    Dec 2005
    Location
    In the server room, with the lead pipe.
    Posts
    4,619
    Thank Post
    275
    Thanked 777 Times in 604 Posts
    Rep Power
    223
    You're importing the .adm into the GPO, right? (Right-click Administrative Templates > Add/Remove Templates > Browse to .adm).

    The other thing you may want to check is Filtering. (Right-click Administrative Templates > View > Filtering and untick "Only show policy settings that can be fully managed".

  3. #3

    glennda's Avatar
    Join Date
    Jun 2009
    Location
    Sussex
    Posts
    7,786
    Thank Post
    272
    Thanked 1,130 Times in 1,026 Posts
    Rep Power
    348
    hiya,

    i think you can achieve what you want without importing an adm template Using Group Policy Objects to hide specified drives

    Toby

  4. #4
    petectid's Avatar
    Join Date
    Jun 2005
    Posts
    298
    Thank Post
    2
    Thanked 15 Times in 13 Posts
    Rep Power
    20
    Quote Originally Posted by glennda View Post
    hiya,

    i think you can achieve what you want without importing an adm template Using Group Policy Objects to hide specified drives

    Toby
    Yes this is right, your re-inventing the wheel here you can do this by editing the system.adm file, there are two keys in here NoViewDrive and NoDrive you just need to edit the Hex number that represents the drives you can or can't see. Then Insert your labels for the key in the bottom section of the adm file.

  5. #5

    Join Date
    Apr 2009
    Location
    ALBANY
    Posts
    39
    Thank Post
    6
    Thanked 1 Time in 1 Post
    Rep Power
    0
    Yes I made sure to import the ADM in. It is listed in Add/Remove templates.

    The other AD admins have asked that I not edit the system.adm file
    I found a tool on a link from this site called Group Policy Drive Options but I am unsure if it will work with 2008

  6. #6
    AXE
    AXE is offline
    AXE's Avatar
    Join Date
    Dec 2008
    Location
    Right here. Right Now.
    Posts
    188
    Thank Post
    188
    Thanked 55 Times in 18 Posts
    Rep Power
    22
    NAME !!HideABCDE VALUE NUMERIC 32
    should be
    NAME !!HideABCDE VALUE NUMERIC 31

  7. #7


    Join Date
    Mar 2009
    Location
    Leeds
    Posts
    6,506
    Thank Post
    227
    Thanked 848 Times in 727 Posts
    Rep Power
    287
    Quote Originally Posted by keogk View Post
    Yes I made sure to import the ADM in. It is listed in Add/Remove templates.

    The other AD admins have asked that I not edit the system.adm file
    I found a tool on a link from this site called Group Policy Drive Options but I am unsure if it will work with 2008
    you dont need to edit the system.adm file just use that adm files settings so user config\admin templates\windows components\windows explorer

    hide these drives in my computer
    and
    prevent access to drives from my computer

  8. #8

    glennda's Avatar
    Join Date
    Jun 2009
    Location
    Sussex
    Posts
    7,786
    Thank Post
    272
    Thanked 1,130 Times in 1,026 Posts
    Rep Power
    348
    Quote Originally Posted by sted View Post
    you dont need to edit the system.adm file just use that adm files settings so user config\admin templates\windows components\windows explorer

    hide these drives in my computer
    and
    prevent access to drives from my computer
    thats what the microsoft site suggests to do, but then they suggested vista...

  9. #9


    Join Date
    Mar 2009
    Location
    Leeds
    Posts
    6,506
    Thank Post
    227
    Thanked 848 Times in 727 Posts
    Rep Power
    287
    Quote Originally Posted by glennda View Post
    thats what the microsoft site suggests to do, but then they suggested vista...
    vista isnt that bad imo not that much different to 7 really

  10. #10
    bio
    bio is offline
    bio's Avatar
    Join Date
    Apr 2008
    Location
    netherlands
    Posts
    520
    Thank Post
    16
    Thanked 130 Times in 102 Posts
    Rep Power
    37
    This tool will create the ADM for you

    bio..
    Attached Files Attached Files

  11. #11

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    15,777
    Thank Post
    865
    Thanked 1,664 Times in 1,449 Posts
    Blog Entries
    11
    Rep Power
    442
    What client os are you using? I am pretty sure that the adm does not work on machines newer than xp.

    We hide the s drive for sims for staff. On vista and 7 machines it didn't work. If it does let me know.

    Cheers

  12. #12
    cookie_monster's Avatar
    Join Date
    May 2007
    Location
    Derbyshire
    Posts
    4,196
    Thank Post
    392
    Thanked 278 Times in 239 Posts
    Rep Power
    74
    Take a look at this adm it was given to us by a support co, I don't think they'll mind it's all content that you can get on technet. Make sure you're using GPMC on an XP or Server 2003 box i'm not certain that 2008 will use it. (I think it will I can see the settings on my 2008 server.

    Novus.adm - Windows Live

    This file contains a few more settings than just hiding drives.

  13. #13

    Join Date
    Apr 2009
    Location
    ALBANY
    Posts
    39
    Thank Post
    6
    Thanked 1 Time in 1 Post
    Rep Power
    0
    It seems it has changed in Vista and server 2008. No longer adm files its admx and adml
    I found a helpful article Pretty much what was said except I needed to modify 2 files and create a CentralStore for the files.
    http://www.datacrash.net/howtos/howt...r-2008%29.html

  14. #14
    cookie_monster's Avatar
    Join Date
    May 2007
    Location
    Derbyshire
    Posts
    4,196
    Thank Post
    392
    Thanked 278 Times in 239 Posts
    Rep Power
    74
    You don't have to create a central store though, take a look at this link but yes your right it's admx files for Vista+.

    Ask the Directory Services Team : Windows 7, Windows Server 2008 R2 and the Group Policy Central Store

SHARE:
+ Post New Thread

Similar Threads

  1. Hide mapped network drives
    By timbo343 in forum Windows
    Replies: 11
    Last Post: 2nd April 2012, 09:06 AM
  2. GPO and Home Drives
    By faza in forum Wireless Networks
    Replies: 8
    Last Post: 21st April 2008, 11:28 AM
  3. Hide/Restrict custom drives
    By originofsymmetry in forum How do you do....it?
    Replies: 5
    Last Post: 28th February 2008, 11:38 AM
  4. Replies: 5
    Last Post: 25th January 2007, 11:22 PM
  5. Hide C And D drives From Pupils
    By tickmike in forum Windows
    Replies: 4
    Last Post: 7th September 2006, 07:41 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •