ADM File Utilities requires ActivePerl version 5.6.1 for Windows workstations.
ADM File Utilities will "decompile" an .ADM file, letting you use explorer as a drag-and-drop interface to customize it's appearance, as well as allow you to add in new policies just by inserting a text file in the appropriate directory and running the "recompiler" script.
New Release Notes:
- Changed ADM, Un-ADM, and Un-ADM to work in the .\working directory instead of the current directory.
- Created the Policy Locater Text Editor Plug-in. This will allow you to open up the policy text files that have been Un-ADMed from a list,without having to use the open command.
The version jumped from 2.3.1 to 2.5...2.4 didn't work right ;).
There was a bug in the Hide-Drives utility for the text editor. The only file updated is HideD.tep.
- Completed the refinement of the plug-in process. Now you will be able to name your plug-in with any valid filename, and it will work.
- New version of CCBCUSER.ADM has been added. This fixes a few issues with the last one. If you are using CCBCUSER.ADM, and have not already received this file, you will probably want to update your policies.
- The main window now takes focus when the app is loaded.
- Added a "Last Action" bar to the bottom of the main window. It will tell you when a script has finished running, and you can use the main window again.
- Added a "Launch MMC" option under Tools (for you folks who use group policies).
- Added entries in the Config page to allow you to change the path to explorer (for the readme), change the path to MMC, and reset all registry settings for the ADM File Utilities back to their defaults (except the paths to ConsoleOne, MMC, and Explorer.
- Added a "developer's doc". This version is still in progress. If you wish to develop plug-ins for the ADM File Utilities, and you have any questions, e-mail me.
Added the Quick ADM Structure Checker script (qc.pl)
- Reworked the method the GUI uses the registry so it would work with future revisions.
- Fixed an issue where some scripts (through the GUI) were not updating the registry.
- Refined the "plug-in" process. Now, the GUI builds itself dynamically each time it is loaded. (I will refine some of the names in the code, and release a developer's doc with the next release, should anyone wish to develop plug-ins)
- Added the Hide Drives wizard to the text editor. Now creating custom "Hide Drives" policies is simplified! Just go into the text editor,select Tools/Hide Drives Wizard, click on the drives you want to hide, and whether or not you wish it to start a new policy, or be a part of an existing one, and it will spit out the neccessary text.
- Added the Registry Import plug-in for the text editor. Please note that this plug-in is still in it's beginning stages, it will only create checkbox PART statements at the moment. More functionality will be added later, I just figured I'd include the current iteration with this release.
- Drag and Drop into the text editor! Now you can drag a text file from explorer, drop it in the text editor window, and it's content swill be added to the window!
For v2.1.091902- Major Change!
Reworked the GUI, and made the following changes:
- Instead of buttons, I now have cascading menus.
- Inside of each cascading menu, I now have a most recently used list, saved in the registry, for each script.
- The path to ConsoleOne is now saved in the registry as well.
- Implemented a simple text editor, for working with the files, giving me the ability to have wizards.
- Implemented a Hide Drives Wizard
- Re-sized everything so that it would fit on the screen at 800x600 properly
Added the graphical interface for the scripts! Just double click on ADMFileUtils.pl, and away you go! The scripts and the GUI are in separate files, but will be kept at the same revision. Should I update any script, it's GUI version will be updated as well, so you can use whichever you like.
That's right! I wrote up a GUI for the ADM Utils!! You will still need ActivePerl installed, but now, all you have to do is unZip the file into your working directory, and double-click on ADMFileUtils.pl, and then click the button corresponding to the script you need, then enter the information required, and it runs the scripts for you. I also added a button to launch ConsoleOne.
For V1.6.083102 - Three new scripts!
- Added the Quick ADM Report script. This will allow you to generate an HTML file with the categories and policies for quick reference. (The HTML doc will be the same name as the ADM file)
- Optimized error checking. The scripts will now not run if you do not use a valid ADM file (well, you can still fool it if you like, but it won't run if you mistype something now), or enter in any incorrect information when needed (such as a proper classname with adm.pl).
- Added the unadmxp.pl script. This script will go through the standard unadm process, and will also remove all of the statements in the XP ADM's that are not supported in ConsoleOne (the EXPLAIN statements, and so forth. Also, it will change all 10 digit MAX statements to 999999999).
- Added the unxp.pl script. This script will remove all of the unsupported statements from within a Windows XP ADM file, so it can be used in ConsoleOne.
- Un-ADM and Un-ADMXP will only look for CLASS USER and CLASS MACHINE statements, as opposed to just CLASS statements. This was only a problem with the XP system.adm, and it's explain statements, which were spanning over multiple lines)
- Un-ADM and Un-ADMXP were having some trouble with backslashes in string names. The scripts now change all backslashes to double-backslashes, do the string substitution, and change them back. You should see no difference, except that things are working correctly now.
- ADM will now capitalize all of the letters in the CLASS statement, even if you did not type them in that way.
Currently, the only scripts that filter out the junk in the XP ADM files are Un-ADMXP and Un-XP.
For V1.5 081302
- Fixed an error in adm.pl by putting a counter in for CATEGORY and END CATEGORY statements. Now, instead of adding three END CATEGORY statements to the end of the file, it subtracts the amount of END CATEGORY statements from the amount of CATEGORY statements, and prints the number of END CATEGORY statements needed to close the file properly, so you should no longer get any errors when dealing with smaller adm files.
- Cleaned up all of the scripts so you would not receive any warnings should you have perl warnings turned on, and you type in the proper command line arguments.
For V1.4 080602
- Added ADM Splitter Script for splitting up ADM files into user and machine ADMs.
- Added ccbcuser.adm, an example class user adm file that includes most available user policies, including those for XP.
For V1.3 080302
- Added the ADM File Joiner Script to the utilities to combine two ADM files as one.
- Started using version numbers that include the date of release...makes it much easier to track.
- KEYNAME and VALUENAME List Creator added. This will allow you to track multiple keyname entries and valuename entries and help tracking any duplicates you may have created.
- Adm will now create a file called 'tmp.tmp' for it's temporary operations instead of 'tmp.adm'.
- Un-Adm now filters out all characters that can not be part of a filename from the strings. This way it can not hang up on any entries when creating filenames.
- Un-Adm now creates a filename in each directory called "catkey.diz" This is a plain text file that contains the category's keyname. Previously, we were trying to put the category keyname in the policy file, provided there was no KEYNAME entry in the policy itself. The problem was that a keyname can be inside a PART, which is in the policy, so it would not write the category keyname. if there were multiple parts, and one did not have a keyname, it would error.
- Adm now reads in the catkey.diz file for each directory and places it as the keyname entry for it's respective category.
See this article for additional information.