CLASS USER CATEGORY !!CCI CATEGORY !!WindowsNT CATEGORY !!Drives CATEGORY !!Restrictions POLICY !!HideDrives ; ; This policy is will only show or hide the specified drives ; in the client session. The registry key that this policy ; effects uses a decimal number which corresponds to a 26 bit ; binary string, with each bit representing a drive letter: ; ; 11111111111111111111111111 ; ZYXWVUTSRQPONMLKJIHGFEDCBA ; ; 1=hide and 0=show. The above configuration corresponds to 67108863d and will ; hide all drives. If you wanted to hide the C: drive you would make ; the 3rd lowest bit a 0 and then convert the binary string to decimal. ; ; Note: Clearing the check box will delete the "NoDrives" entry ; entirely, and therefore, all drives will be automatically shown. ; ; Feel free to add aditional drive configurations or remove others. ; If you want to configure this policy to show a different combination ; of drives, create the desired binary string, convert to decimal ; and add a new entry to the ITEMLISTand define the string. ; ; Remember that this function affects Explorer and Explrer-style dialogs ; but it has NO effect on the command line. ; ; The naming conventions used below is that a ~ means hide and _ mean shown only ; KEYNAME Software\Microsoft\Windows\CurrentVersion\Policies\Explorer PART !!HideDrivesOptions DROPDOWNLIST VALUENAME "NoDrives" ITEMLIST Name !!HideDrives~all VALUE NUMERIC 67108863 NAME !!HideDrives~A VALUE NUMERIC 1 NAME !!HideDrives~C VALUE NUMERIC 4 NAME !!HideDrives~CD VALUE NUMERIC 12 NAME !!HideDrives~CDA VALUE NUMERIC 13 NAME !!HideDrives~M VALUE NUMERIC 4096 NAME !!HideDrives~MN VALUE NUMERIC 12288 NAME !!HideDrives~MNA VALUE NUMERIC 12289 NAME !!HideDrives_C VALUE NUMERIC 67108859 NAME !!HideDrives_U VALUE NUMERIC 66060287 NAME !!HideDrives_UA VALUE NUMERIC 66060286 END ITEMLIST REQUIRED END PART PART !!DriveRestrictions_Tip1 TEXT END PART PART !!DriveRestrictions_Tip2 TEXT END PART PART !!DriveRestrictions_Tip3 TEXT END PART ; ; NOTE: This is a sample policy that conflits with the ; Shell\Restrictions\Hide Drives policy defined in common.adm and the ; in the ZAK. It is provided as a template that defines common drive ; configurations in MetaFrame ; END POLICY END CATEGORY END CATEGORY END CATEGORY END CATEGORY [strings] CCI="MetaFrame Sample Policy" WindowsNT="Windows NT" Drives="Explorer" Restrictions="Drive Restrictions" HideDrives="Hide (or show) the selected drives" HideDrivesOptions="Choose from the following configuration:" HideDrives~all="All Drives are hidden" HideDrives~A="Do Not show A:" HideDrives~C="Do Not show C:" HideDrives~CD="Do Not show C: and D:" HideDrives~CDA="Do Not show A: C: and D:" HideDrives~M="Do Not show M:" HideDrives~MN="Do Not show M: and N:" HideDrives~MNA="Do Not show A: M: and N:" HideDrives_C="Show Only C:" HideDrives_U="Show Only U:" HideDrives_UA="Show Only A: and U:" DriveRestrictions_Tip1=" Note: This is a sample policy that conflits with any Hide Drives" DriveRestrictions_Tip2=" policy defined in common.adm and/or in the ZAK. It is provided to" DriveRestrictions_Tip3=" define common drive configurations in MetaFrame." ;Policy by Mark "Gos" Gosson for CCIs and CCAs everywhere