 Windows 7
  


          Windows 7,       ,          .

         Microsoft Windows 7    .   ,      ,     .     ,   Windows 7,     ,     .        .





 

 Windows 7





.   





   


       ,    Windows,  ,    .

      Windows 98,       .            .       ,       .    ,    -       .   ,     .  ,     ,  ,       .

           .         .      ,       .             CHM.     ,           .         .  ,   ,    .         .   ,        .           ,    Windows 98,      Windows 7.        Internet Explorer 4.0/5.5/6.0. ,  ,            IE    - .           .    Internet Explorer 7    ,     .      Windows Vista  Windows 7  .

        ,        ,     ,   - .         ,       Windows ,  .   ,  ,       ,        ,     ,   .

 ,          Windows 7.        ,    Windows 7,          .  ,           .      ,           .




   


        .          .       ,      Windows     .        :        Windows  ?       ,      .  ,        .

        ,        .   ,     ,    Windows 7.

 ,         .  ,               .  ,     ,       .            ,       .

,       . ,   !




 


 , ,       comp@piter.com ( ,  ).

     !

   http://www.piter.com       .




 1.     Windows 7



        Windows  ,  ,     .

     Windows.   ,      .          ,      .         . ,  ,      .

   ,         .             .





      ,                 .  ,     ,   ,   ,     .


          .




 



,       Windows,         .    Windows   .  ,          ,      .         .    .          regedit.       regedit.exe (. 1.1).       Windows,        .






. 1.1.   



   regedit.exe,   .    (   )      UAC  .     ,     OK,  -    (. 1.2).






. 1.2.  







         ,      ,       .  :  ?   ?  ? .       regedit      .


       .  ,   ,     ,         .

   .    .            .       ,     ,     .        ,     .

   .




 



   Windows 7      (   ),  :

1. HKEY_CLASSES_ROOT.

2. HKEY_CURRENT_USER.

3. HKEY_LOCAL_MACHINE.

4. HKEY_USERS.

5. HKEY_CURRENT_CONFIG.





        .   HKEY_PERFOMANCE_DATA.      ,        .       .


      HKEY   .      .



 

              . ,        .


   .




HKEY_CLASSES_ROOT


 HKEY_CLASSES_ROOT          ,      ,      .

     ActiveX- ,         . ,       ,         TXT   .

     HKCR,     .            .




HKEY_CURRENT_USER


 HKEY_CURRENT_USER    ,   Windows 7   ,      ,    :   ,  , ,   .

    HKCU.       .           .




HKEY_LOCAL_MACHINE


 HKEY_LOCAL_MACHINE      (  ),     .          .

       HKLM.

 ,   HKEY_LOCAL_MACHINE\SOFTWARE\Classes       HKEY_CLASSES_ROOT.

        .   ,     HKLM  HKCU,             HKCU          .




HKEY_USERS


 HKEY_USERS ( HKU)        .

      .         HKEY_CURRENT_USER,        HKEY_USERS,     .

     .     .          (. 1.3).






. 1.3.   HKEY_USERS






HKEY_USERS\.DEFAULT


   ,   HKEY_USERS\.DEFAULT      HKCU,      . ,      .  HKEY_USERS\.DEFAULT    ,        (,    ).




HKEY_USERS\S-[  ]


   HKEY_USERS       .      SID ( ).      ,        , -   .  ,  SID  ,    . ,      whoami.exe,     Windows 7,   /user:

whoami /user

           ?   ?  ? ,        cmd.exe   cmd.  ,       ,      Enter (. 1.4).

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList,     SID   .         ProfilelmagePath.  SID ,        ,       (. 1.5).






. 1.4.    Windows






. 1.5.   ProfileImagePath






HKEY_CURRENT_CONFIG


  HKEY_CURRENT_CONFIG ( HKCC)     ,       .      HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Hardware-Profiles.          .

,      .        ().      .    ,           .           (Setup.exe, Install.exe  . .),        .             .




  


      ,    %SystemRoot%\System32\Config.     HKEY_CURRENT_USER    %SystemRoot%\Profiles\_.           .

      %SystemRoot%           ,   .




 


       .     ,    .      .

? REG_BINARY    (Binary Value)     ,      .          .

? REG_DWORD    (DWORD Value)    ,    .       .        : 1   (True)/0   (False).   Windows 7    DWORD: 32-   64- .

? REG_EXPAND_SZ    (Expandable String Value)     .             .          ,    .       :

 %systemroot%            (,  C:\Windows).

 %windir%     .    %systemroot%   ,   %systemroot%  ,  ,     %windir%,        (  ?    ?  ?    ?   ?   ).

 %systemdrive%       ( ,  :).

 %userprofile%     ,    .

 %programfiles%      ,   Windows    ( , C:\Program Files).

 %username%     ,   .

 computername%     (      ).

? REG_MULTI_SZ    (Multi-String Value)     .

? REG_SZ    (String Value).         .





    ,   ,       .      : REG_FULL_RESOURCE_DESCRIPTOR, REG_LINK, REG_NONE, REG_RESOURCE_LIST.





     



         ( ),  ,      ,   ,   ( )  .            .         .





           . ,       ,   ,     .     ,  ,    -   ,    .





   


      ,        ? .

       (. 1.6).






. 1.6.    



  ,        ,      .            ,          ,       .          .

   ,   ,         100    .          .

        ,   ,  .

       ,              .      ,                    .

                ,    ? .

      ,    ,    .

      ,    ?   ?    ?  ?       (. 1.7)   .

             .

            ,    ,        .         ?   ?  ?  ?   (. 1.8).

      ,     ,     .






. 1.7.    






. 1.8.  







          .


,            ,    ,        :  , -, .




  


   ,      ,      .      ?  ? .        ,   ,       .         .



 

  .       HKEYCURRENTUSER.      Software           .      ? .        #1.     .     ,  Test,   Enter (. 1.9).               ,   .        #1        (   F2).      ,     .







. 1.9.   






  


     .    ,     .      ,      ,       ?   (  ).          .



 

        Test.

          .     ?  .        #1,   .   ,   ,  ,  CatName (. 1.10),    Enter.      ,     .







. 1.10.    





      (       ).     ,         .  - ,  ,    Enter (. 1.11).







. 1.11.    





      DWORD.     .                     ?  DWORD (32 ).

     DWORD     #1,   .  - ,  CatAge,    Enter.      .     CatAge        8 (. 1.12).  ,      ,   .







. 1.12.     DWORD





           8  .

,       Test    , CatName  CatAge,   ,        (. 1.13).







. 1.13.      






 


 ,        ( )   ,   REG-            .

,      ,           .       ,    .



 

      Test.          .            .       ,  cat.reg,           (. 1.14).





 


    .        Delete.        ( )     ? .



 

    Test.    ,   Delete          ? .    ,       (. 1.15).







. 1.14.    






. 1.15.      





  ,   ,    .


      ,           ,             .




 


     ,    .          ? ...        REG-  .



 

   ?        cat.reg,      .      ,             (. 1.16).    .      ,     F5     ? .







. 1.16.   



    REG-  ,        . ,         cat.reg,           ,      . 1.17.






. 1.17.      



   ,     .

REG-          

REGEDIT <_>

    (,      D:    test.reg)

REGEDIT D:\test.reg

       ,      .







               ? ...







     ,   .   . C         ,     .

     :           ,       .



 

       Test.          ?   ...        (. 1.18).              ,    .         .    .      Test (    ,     )    .      .







. 1.18.     






REG-



                   .     .       ,       .         REG.




 REG-


    REG-,        ,      .

Windows Registry Editor Version 5.00     Test

[HKEY_CURRENT_USER\Software\Test]

CatName=""

CatAge=dword:00000008




 REG-


  REG -.    

Windows Registry Editor Version 5.00

 ,      , Windows 98  Windows NT 4.0,   REGEDIT4.       ,   . Windows 7       .        Windows 98        .          .

      ,      ,     ; (  ).    Test       .       REG-.           .

     Test

   ,     .  ,          ,    :

[HKEY_CURRENT_USER\Software\Test]

 ,          :

CatName=""

 REG-       ,     ,        .         .  ,  REG-        ,      .





  ,    REG-           .         ,             .         .





 REG-


 REG-     ,   .    ,     (. 1.19)      REG.

       ,          ,      .






. 1.19.      






      REG-


              .REG.     REG-     ,       .





    REG-         !

       . ,          REG-.      ,       OK, , ,    .      ,     /S:


REGEDIT /S D:\test.reg

             ,  REG-. ,     Windows     ,         ,      .

C  REG-    .         .      cat.reg    :

Windows Registry Editor Version 5.00    

[-HKEY_CURRENT_USER\Software\Test]

     REG-,        .    ,     .





 ,      ,      .                    .


   .       ()    (=):

Windows-Registry-Editor-Version-5.00    Test

[HKEY_CURRENT_USER\Software\Test]

CatName=""

CatAge=-

 ,       CatAge  .




   REG.EXE



  ,   ,   Windows 7      REG.EXE,    .           ,       .




  ( EXPORT)



          REG EXPORT,   :

REG EXPORT <_> <_> [/y]







? <_>        : \ (   ).      HKLM-|-HKCU-|-HKCR-|-HKU-|-HKCC.             .

? <_>     ,      .

? /y   .          ,          .



 

   Test,    ,    .     (cmd.exe).       (,       cat.reg   D:):




reg export HKCU\Software\Test-d:\cat.reg

          (.1.20).    ,     (,           ).







. 1.20.       






  ( ADD)



   REG ADD     .  ,         ,     REG-.    :

REG ADD <_> [/v <_> | /ve] [/t <>] [/s <>] [/d <>] [/f]







? _-[\\<>\]<>.

<>    .   ,      .        HKLM  HKU.

<> \<>.       : HKLM | HKCU | HKCR | HKU | HKCC.            .

? /v   ,    .

? /ve       ( )   .

? /t   .      : REG_SZ | REG_MULTI_SZ | REG_EXPAND_SZ | REG_DWORD | REG_QWORD | REG_BINARY | REG_NONE.   ,     REG_SZ.

? /s  ,         REG_MULTI_SZ.   ,      \0.

? /d  ,    .

? /f        .

    HKCU\Software\Test    BOSS     :

REG ADD \\BOSS\HKCU\Software\Test

    REG.EXE        : QUERY, DELETE, COPY, SAVE, RESTORE, LOAD, UNLOAD, COMPARE, IMPORT.        .



 

          REG.EXE,    /?.    CMD.EXE    

reg /?

     ,   ,        (. 1.21).







. 1.21.      REG EXE





,    .         :

reg import /?

           .








            .          ,        ,        : ,  ,   .




 2.  Windows 7



      ,        ,       .  ,          Windows 95!  ,  ,  90%     Windows Vista, 70%   Windows XP, 60%   Windows 98/Me, 50%   Windows 95.        ,       .          .





   , ,         REG-,          !





    


          Windows,     ,       .  ,            .       1     :

HKCU\Control Panel\Desktop

 :   ,      ,   , ,      .         .

 :        : HKEY_CURRENT_USER  HKEY_LOCAL_MACHINE.    ,           ,          .        ,  ,       HKEY_LOCAL_MACHINE.  ,         HKEY_CLASS_ROOT.   ,          .    ,     .         ,         .

 ,  :          ,           .                 .

       .               .




 



      ,     .




 Windows   


        Windows      .     PaintDesktopVersion  DWORD   1   HKCU\Control Panel\Desktop.          (. 2.1).   ,      0   .






. 2.1.   Windows   






   


, , ,        .                 .    ,       ,    NoDesktop  DWORD   1   HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer.            ,   .

      :

? .

?  .

? .

? .

?  .

        ,          .                          ,      .       .      HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel   DWORD-:

? {59031a47-3f72-44a7-89c5-5595fe6b30ee}   ;

? {5399E694-6CE5-4D6C-8FCE-1D8870FDCBA0}   ;

? {20D04FE0-3AEA-1069-A2D8-08002B30309D}  ;

? {F02C1A0D-BE21-4350-88B0-7367FC96EF3C}  .

     0,        .      ,       .








   ,   ,        .          .  ,           ,      .




    


       ,     RecycleBinDrives   HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\ Explorer       .     ,      ,      .      0ffffffff,        .




 


         ,    NoPropertiesRecycleBin  DWORD   1   HKCU\ Software\Microsoft\Windows\CurrentVersion\Policies\Explorer.

   ,    (,   . .)       .

 ,       .     .




     


        .     ,          (. 2.2).     HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer   ConfirmFileDelete  DWORD  1.






. 2.2.      










       ,       .   ,       ,      .




  


         .     NoPropertiesMyComputer  DWORD   1   HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer.




  


        ,    .     NoManageMyComputerVerb  DWORD   1   HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer.





    compmgmt msc.      .





  


        .        A:,    -.          ,   A: -   .

             ,      .        NoDrives  DWORD,    .      HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer.

    NoDrives    :         .     ,      .       ,     .           A:  F::

? 000000001   :;

? 000000002   B:;

? 000000004   C:;

? 000000008   D:;

? 000000010   E:;

? 000000020   F:  . .

 ,      A:,    0x00000001.      A:  C:,     0x00000005  . .         0x03FFFFFF.




    


       Windows      ,     .     NoViewOnDrive  DWORD    ,    .

      NoDrives,    . ,      D:,    0x00000008.       ,       D:      ,     ,          (. 2.3). ,        ,    .






. 2.3.  






     


        , ,   (C:).        ShowDriveLettersFirst  DWORD   HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer.      :

? 1         ( );

? 2     ;

? 4       .

       2    ,             (. 2.4)!






. 2.4.    






  


           .     HKLM\Software\Microsoft\Windows\CurrentVersion\Explrer     DriveIcons.         ,       .          : DefaultIcon  DefaultLabel.

      .        ,      . ,          ::

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\DriveIcons\C\DefaultIcon]

@="explorer.exe,8"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\DriveIcons\C\DefaultLabel]

@="  "

    @    .  . 2.5.         ,      :    .






. 2.5.     






  


        ,   NoHardwareTab  DWORD   1   HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer.




 


         NoSecurityTab  DWORD   1   HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer.   ,                   .








      ,     .




  


  ,     ,   ,     .      ,    .     HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer   NoCustomizeWebView  DWORD   1.




 





    


                  .     HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced  ExtendedUIHoverTime  DWORD      ,  20 000.         20         .     .




Aero Peek,   


Aero Peek             .      Aero Peek    .   HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced     DWORD DesktopLivePreviewHoverTime       .     1  (1000 ).   500 ()  2000 (2 ).

    ,     .

    Aero Peek,    DisablePreviewDesktop 




  .


   .

   ,     (https://www.litres.ru/aleksandr-klimov/reestr-windows-7/)  .

      Visa, MasterCard, Maestro,    ,   ,     ,  PayPal, WebMoney, ., QIWI ,       .


