Article View: bit.listserv.labmgr
Article #228Re: Win95 lock-down or disk-refresh scheme
From: Graham Bouton
Date: Tue, 27 Aug 1996 00:00
Date: Tue, 27 Aug 1996 00:00
70 lines
3455 bytes
3455 bytes
----------------------------Original message---------------------------- At 12:53 PM 8/26/96 -0400, you wrote: >----------------------------Original message---------------------------- >Bryan L. Scovill wrote: >> >> ----------------------------Original message---------------------------- >> Speaking of the Policy Editor.... Has anyone tried writing their >> own ADM files? What I would really love to do is remove *SOME* of the >> drives and not all of them. I'd really like to be able to leave places for >> people to save their work. >> >> --Bryan >> >> ________________________________________________________ >> | | Bryan L. Scovill | >> | My World, |Netware Adm/Instructor | >> | My Rules | C.I.S./T.S.A.S. | >> | | U.N.H. | >> _________________________________________________________ > >Bryan- > > I haven't written my own ADM file yet; but, I have modified a default .adm file >drives. Here's how... > > Look for the following line in the admin.adm file: > > VALUEON NUMERIC 67108863 ; low 26 bits on (1 bit per drive) > > Now the fun begins...Open up calculator and enter 67108863 in and convert it to >that it translates to 26 1's. And those 26 1's represent, you guessed it, drive >to throw you off, they made the order of the drives from Z to A. > > So, for example, say you wanted to hide everything but the A drive. Change the >1's into a "0" and convert that binary number back into decimal (it should be 67 >number into your admin.adm file and select the Hide Drives in My Computer policy >everything but the A drive. Get real slick and you can modify the String in adm >A Drive" or something to that effect. The punchline to all this binary <-> deci >stored in the registry for this policy is a hex value. > > I admit it's kind of crude, but it really does work. Beware you can still get >window. > >Mike Altimus >mike.altimus@asu.edu >Senior Systems Analyst >Information Technology >Arizona State University East > I've written and modified a couple of ADM files, and like Mike mentioned, it is by no means fun, but allows for a lot more flexibility when using the System Policies. A good starting point is the Win95 Resource Kit. There is a brief summary of the ADM functions and strings. I just started with a copy of the default admin.adm file and hacked away at it until I ended up with what I wanted. ________________________________________________ Graham Bouton Johns Hopkins University graham@jhu.edu Homewood Academic Computing (410)516-8096 Technology Support Coodinator
Technical Details
Message-ID:
<2.2.32.19960826172825.006d6f6c@jhunix.hcf.jhu.edu>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fc881,152718af174da8ac X-Google-Attributes: gidfc881,public From: Graham Bouton <graham@jhu.edu> Subject: Re: Win95 lock-down or disk-refresh scheme Date: 1996/08/27 Message-ID: <2.2.32.19960826172825.006d6f6c@jhunix.hcf.jhu.edu> X-Deja-AN: 177088280 sender: Computer Lab Managers <LABMGR@LSV.UKY.EDU> x-sender: gbouton@jhunix.hcf.jhu.edu comments: ******************************************************** approved-by: List Moderator <LSTOWN@UKCC.UKY.EDU> content-type: text/plain; charset="us-ascii" resent-subject: Re: Win95 lock-down or disk-refresh scheme mime-version: 1.0 newsgroups: bit.listserv.labmgr x-mailer: MailBook 95.01.000