Use ADMX Migrator to edit Server 2012 ADMX files

Hello, I need some help editing my ADMX/ADML file on a new server to Hide a drive not listed by default E:
I did see the Experts Exchange post that described the setting needed to do this but there were no details on how to do this.  Here is a screen shot of the ADMX Windows Explorer File open in the ADMX Migrator tool.   Could someone please explain what setting go under which tab.  The tool isn't as intuitive as I thought it would be.

Also, can I just edit the ADMX file in notepad as Administrator?   Do I need to make changes in the ADML file also?  Is there a need to import the file into the policies folder or can I copy/paste.

Thank You,

Scott
ADMX-Hide-Drive-Edit.docx
1212proAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

1212proAuthor Commented:
Bump...
0
David Johnson, CD, MVPOwnerCommented:
Create a new ADM, don't modify the System.ADM or System.ADMX
https://support.microsoft.com/en-us/kb/231289
NoDrives.adm
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 ||EOnly            VALUE NUMERIC 16
                NAME !!ABConly          VALUE NUMERIC 7
                NAME !!ABCDOnly         VALUE NUMERIC 15
		; 16 + 15 = 31
		NAME ||ABCDEOnly	VALUE NUMBERIC 31
                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 D, and E drives only"
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"
EOnly="Restrict E drive only"
RestNoDrives="Do not restrict drives"

Open in new window

0
1212proAuthor Commented:
Hi David, Thank you for responding.  I see this is ADM format. My need is more for ADMX and ADML.  Would I need to make identical statements in each of those files to make this work? If I add this into the Windows\PolicyDefinitions with a name change to preserve the default files How would I Map the new ones to the GPO?

Thank you

Scott
0
David Johnson, CD, MVPOwnerCommented:
you then save the new dissabledrives.admx using ADMX Migrator
0
David Johnson, CD, MVPOwnerCommented:
The no drives uses bit fields
ABCDEF,,,
124813
         62
To restrict F only the mask is 32
to restrict A-F the mask is 32+16+8+4+2+1 = 63
Allow A and B but resrict C ->F the mask will be 60, so you edit the ADM appropriately and use the convrter to convert it to an admx. if you are good with xml then you can edit the .admx directly.

Each ItemList Name must have a matching string entry

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 ||EOnly            VALUE NUMERIC 16
		NAME ||FOnly            VALUE NUMERIC 32
                NAME !!ABConly          VALUE NUMERIC 7
                NAME !!ABCDOnly         VALUE NUMERIC 15 ; 16 + 15 = 31
		NAME ||ABCDEOnly	VALUE NUMBERIC 31
		NAME ||ABCDEFOnly	VALUE NUMBERIC 63
                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]
ABCDEFOnly="Restrict A, B, C D, E,and F drives only"
ABCDEOnly="Restrict A, B, C D, and E drives only"
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"
EOnly="Restrict E drive only"
FOnly="Restrict E drive only"
RestNoDrives="Do not restrict drives"

Open in new window

0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Server 2012

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.