Re: Window Registry

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: John Smith (fakeemail_at_hotmail.com)
Date: 02/18/05


Date: Fri, 18 Feb 2005 13:57:34 -0300

I believe that this is possible. Windows 3.x configuration was stored in in
INI-like files. Windows 95 introduced a registry much like Windows NT. And,
I can say that, Registry based configuration is bad for system
administrators. My login scripts were plenty of REG lines. Many times i had
to give administrators priviledges to ordinary users because of an
application's need to write do Local Machine. That is bad for security. Some
applications use CurrentUser, but in environments which user profiles are in
use, its a real problem. For each user, you have to load a different setting
when installing or updating. Not all application behave this way, but many
of them do. Its dificult for many programmers, who dont know about Windows
architecture, figure out how to use Registry correctly. In .Net world, this
kind of problem can be eliminated with the simple adoption of an
alternative: XML. Its is as simple as using Registry. Programmers dont have
to think about what kind of security system is in use by the administrator
and, the best part: Administrators only have to copy the assembly, all its
partners to a folder and let the user run the app.

I agree with you when you say about compatibility. I believe that if
Microsoft choose to create a new configuration repository, it will be
compatible with registry for some time, like it was in Windows 3.x to
Windows 9x history. But, its a rumor, only that, like a said. But, anyway,
its better for administrators when they dont have to deal with many registry
configurations for each application.

"Herfried K. Wagner [MVP]" <hirf-spam-me-here@gmx.at> wrote in message
news:eBi8TwbFFHA.936@TK2MSFTNGP12.phx.gbl...
> John,
>
> "John Smith" <fakeemail@hotmail.com> schrieb:
>> First of all, there are rumors that Registry will not exist as we know
>> today. It will be replaced by some kind of structure in XML.
>
> Do you really believe that? There are /millions/ of applications
> currently using the registry. It's a nice vision that the registry will
> be replaced by something else, but it won't disappear. It /cannot/
> disappear for compatibility reasons.
>
>> And, as a experienced support guy, i never liked the way people
>> store information in Registry. This always result in some kind of
>> problem when distributing an application. As .net assemblies does
>> not require aditional setups, like COM for example, its a very
>> good practice to put all your app configuration inside a XML file.
>
> Personally, I don't think this is the best solution. I always hated
> digging into config files, INI files and XML files, which are the worst of
> all in matters of human readability only to find a value. The registry
> has search, import and export capabilities. It shows everything in an
> easy-to-understand folder structure and includes editors for the different
> types of keys.
>
> I don't want to say that XML files don't make sense at all, but at least
> as long as there is no standardized format and no specialized editors
> included in Windows, it's a file format that is perfect for an XML
> processor only, but not for an admin who has to configure a system or a
> normal user who doesn't understand XML at all.
>
>> Your applications will not need any special priviledge in secure systems,
>> with policies for example. You just need to copy your assemblies and
>> support files and your are done.
>
> Well, as always, there are exceptions.
>
> --
> M S Herfried K. Wagner
> M V P <URL:http://dotnet.mvps.org/>
> V B <URL:http://dotnet.mvps.org/dotnet/faqs/>



Relevant Pages

  • Re: microsoft management console
    ... And if more help is needed with batch files I recommend posting in the ... Sc.exe uses the service key name from the registry. ... Server 2003 Family and Windows XP Operating Systems see the following ... Good Configuration control set will be overwritten. ...
    (microsoft.public.windowsxp.general)
  • Re: Starp up sequence
    ... > 6) WIN.INI [Windows] Load ... > All Users Startup Folder ... > the programs specified in the Computer Configuration setting just before it ... > AppInit_DLLs Registry value. ...
    (microsoft.public.windowsxp.customize)
  • NewestShareware.com Issue #89
    ... FileBoss for Windows ... Program Homepage/Download url ... In general users make a program execute at window startup by ... Adding programs to the Registry and WIN.INI file protects the program. ...
    (comp.software.shareware.announce)
  • Re: Where Have My Drives Gone?
    ... Windows cannot start this hardware device because its configuration ... A registry problem was detected. ... see the Registry Reference in the Microsoft Windows 2000 Server Resource Kit ...
    (microsoft.public.windowsxp.setup_deployment)
  • Device Manager has white page...nothing there????
    ... > information (in the registry) is incomplete or damaged. ... > you should uninstall and then reinstall the hardware device. ... > select Last Known Good Configuration. ... > see the Registry Reference in the Microsoft Windows 2000 Server Resource Kit ...
    (microsoft.public.windowsxp.setup_deployment)