Справочник о системном реестре и настройке Windows XP

         

Манипулирование реестром


??????????????? ????????
??? ?? ??? ?????, ? ???????????? ??????? Windows XP ???????? ? ???????????? ??????? ??????????????? ????????? ? ???????. ??? ???????? ????????????????? ?????????? ??? ????, ??, ?????? ? ???, ???? ???????????? ????????? ? ??????? ????? ??????? ???????????? ??????? ?? ?????. ??????????? ???? ?????? ???????? ?????? ? ???????????? ?? ??????????? ????????????? ??????? ? ????????? ???????.

? ????? ????????? ????????? ? ?????? ??????? ????????? ?????. ???? ?????? ?? ? ?????????? ?????? ?????.

? ?? ????????? ?????? Windows XP ???????? ?????? ?????? ???????????? ?????? Windows ??? Windows NT.

? ?? ?????????? ???????? ??????? ?????????? ??? ?????????.

? ??? ?????????????? ??????? ??????????? ???????? ??????? ??? ?????? ?????????, ??????? ???????????? ?????????? ?????? ?????? ? ????????.

????? ????, ?? ?????? ?????????? ?????? ? ??????? ????????? ?????????????. ??? ????? ? ????? ???? Regedit'? ???????? ?????? ??????? ???? ?? ????????? ??????? ??????? ? ???????? ????? ??????????.

??? ????????? ???????? ? ???????? ??? ?????????? Recovery Console. ??????????? ? ??? ????? ? CD-ROM, ?? ??????? ????????? Windows XP, ??????? ??????? R, ?? ??? ???????? ????????????? ????? ?????????? ?? ? ?? ??????? ????.

??? ????? ???????? ???????????? CD-ROM ? Windows XP ? ????????? ???????:

[????? CD-ROM]:\i386\winnt32.exe /cmdcons

? ????? ???????? ???????????.

????? ????????? ??????? ?????????????? ???????? ? ???? ???????? ????????. ?????? ??? ?? ?????????? ????????? ? ????????? ??????? ????? Cmdcons ? ????? ???????????? ????? ? Windows XP. ????? ????? ????? 8 ??, ? ????????? ???????? Windows XP ?? ???????? ?? ??????? ??????????????.



??? ???? ?????? ??? ??? ??????: ??? ? Recovery Console ???????? ?????? ? ?????, ???????? ?? \WINDOWS? ????????, ??? ??? ???????????, ??????? ???????????? ?? ???? ???????. ??? ????????? ?????????????? ??????? ? <?????? ?????????? ? ?????????????????>. ????? ????????? ????? ????????? ???????? ???????????? ? ????????? ???????? ? ????????? ????????????, ????? ??????? ??????????????: ????????? ??????????? ?????? ? ?????? ?? ???? ?????? ????????????? ?? ???????. ????? ?????, ????? ?? ?????? ?????????? ? ?????? Recovery Console, ????? ???? ??????? SET AllowAllPaths = TRUE.

???? ??? ???-?? ?? ?????????? ??? ????? ????? ?????????? ????? ?? ??????? ????? ????? 8 ??, ?? ??????? ??????? ?????????????? ?? ???????? ??????? ?????:

? ??????? ?? ????? ????? ??????? ????? \Cmdcons.

? ??????? ?? ????? ????? ??????? ???? Cmldr.

? ???????? ???? Boot.ini ? ??????? ??????, ??????? ?? ???:

C:\cmdcons\bootsect.dat="Microsoft Windows Recovery Console" /cmdcons

???! ????????????? ????? ?????????. ???????? ???????? ????????? ?????????? ????????, ? ?? ???????? ? ?????? ????????.

????????? ??????????? ??????? ? Windows XP ? ??? ??????????? ??????????????

????????? ??????????? ???????

?????? 1

??????????. ?? ??????????? ???? ?????? ??? ???????? ????? ??????? ??? ??? ???????? ???????? (?????, hive), ????? ??? HKEY_CURRENT_USER ? ?.?.

??????, ??? ?????? ?????????????? ??????? ??????? ? ??????? REGEDIT, ??? REG-?????, ?? ???????? ????????? ?? ????? ??????? ? ?????? ??? ?????????, ? ??????? ?? ?????? ????????. ??? ?????:

? ????????? REGEDIT. ????? "????-?????????-REGEDIT".

? ??????? ????? ???????, ?????????? ????, ???????? ???????? ?? ?????? ?????????????, ? ???????? ?? ??? ? ????? ????? ???? REGEDIT.

? ? ??????? ???? ???????? "????-???????" ? ??????? ??? ?????. ???? ???????? ?????? ??????? ? ??????? "??????????????".

?????????????? ???????????????? ?????? ??????? ? ???, ??? ????? ????????? ??????? ??? ????????? ???? ????????????? ??????????. ????????, ???????? ????????? ?????????

The Bat!:

regedit /e thebat1.reg HKEY_CURRENT_USER\Soft-ware\RIT 

regedit /e thebat2.reg HKEY_LOCAL_MACHINE\Software\RIT

??? ??????????? ?????????? ????? ???????? ? ????? THEBAT1.REG ? THEBAT2.REG

?????? 2

??? ?????????? ??????????? ????? ??????? ??????????? ????????? ????????? ?????? "?????????-???????????-?????????-????????? ??????" ??? ?????? %SystemRoot%\system32\ntbackup.exe

????????? ????????? ????????? ???????????? ? ??????????????? ??? ?????????? ?????? ????????? ???????, ??? ???????? ? ???? ????????? ????????? ??????????:

? ??????;

? ???? ?????? ??????????? ??????? COM+;

? ??????????? ?????: Ntldr ? Ntdetect.com;

? ????????? ?????.

????????? ?????????? ??? ????????? ??????? Windows XP ?????:

? ??????? ? ??????? ? ???????????? ???????, ????????, ??? ?????????????.

? ????????? NTbackup ("????????? ??????").

? ???? NTbackup ??????????? ? ?????? ???????, ????????? ? "??????????? ?????".

? ???????? ???????? "?????????".

? ? ????? ???? ??????? ? ???????? "???????" ?????? "System State".

? ??????? ?????? "????????????" ? ???????? "?????????????".

? ??????? "???????" ? ?????? "????????????? ???????????? ?????????? ????????? ????? ?????? ? ?????????? ???????". ????? ??????? ?? ???????????? ?????? ????? ???????, ??? ?????????? ?????? ? ?????? ??????? ????? ?? ?????, ???????? 17-20 ??.

? ?? ???? ?? ??????? "??? ??????" ?????????? "???????".

? "??" ? ??????? "????????????". ????? ????????? ?? ??????? ??????????? ?????.

? ?????? ?? ????????? ????????????? ? ????? x:\Documents and Settings\%User%\Local Settings\Ap-plication Data\Microsoft\Windows NT\NTBackup\data\ ? ??????????????? ?????? backup01.log, back up02.log ? ?.?.

NTbackup ????? ???????????? ? ?? ????????? ??????, ?? ?? ?? ????? ????????????? ???? ??????, ??? ??? ???????????? ?????? ? ????????? ?????? ??? ?? ??????? ?, ????? ????, ??? ????????? ?????? ? ???????? ????? ?????????????? ? ??? ????????? ?????, ??????????? ??? ???????? Windows XP. ? ??? ????????? ????? ??????? ??????? ? ?????? ??????? ?????? ????? ?? ??????? ?????.

?????? 3

????????? ????????? ?????? ????? ?????????????? ? ??????? ? ??????? ??????? ?????????????? (Recovery Console). ??? ?????:

? ??????????? ? Recovery Console.

? ? ????????? ?????? Recovery Console ????????? ????????? ???????:

md tmp

copy c:\windows\system32\config\system c:\windows\tmp\system.bak

copy c:\windows\system32\config\software c:\windows\tmp\software.bak

copy c:\windows\system32\config\sam c:\windows\tmp\sam.bak

copy c:\windows\system32\config\security c:\windows\tmp\security.bak

copy c:\windows\system32\config\default c:\windows\tmp\default.bak

???????? ????????: ??? ???????? ??????????? ????? ??? ???? ?????? ?????????? ???????.

????? ?????????? ?????, ?? ?????? ???????? ??? ??????????????? ??????? ? ????????? ????, ????????, arcregistry.txt, ?????????????? ?????????? ???, ? ????????? ????? ????????:

batch arcregistry.txt

??????????

?????????? 1. ? ????? ?????? ?? ????????????? ?????????? ??????????? ????? ??????? ?? ??????? ????? C:\Windows, ??? ??? ? Recovery Console ??? ????? ???? ?????????? ???? ???? ?? ? ?????????????. ??? ?????, ???? ?? ??????????? ?????? ???, ????????? ???? ? ??????? "????? ???????".

?????????? 2. ? ?? ???????????? ????????????? ??????? ?2 ? ?3 ?????? ???? ?? ???????? ??????? ????? ???????. ?????? ?????? ??????? ????????? ????????? ??????? ????????????.

?????????? 3. ????? ?? ????????: ?2 ??? ?3 ? ???????? ?????? ?2 ????? ? ??? ??????, ??? ?? ??????? ???????????? ? ?????? Recovery Console ??? ?????????? ?????? ???????, ?? ??????? ??????? ??? ??????????????, ???? ????? ??????? ???? ???-???? ???????? ? ???? ??????? Windows XP ?????????? ???????????. ?????? ?3 ????? ??????? ? ????? ??????????????, ?? ??? ??? ?????????? ????????? ???????????? (??? ?? ???? ???????, ??? ?? ??????? ???????? ??????) ? ????? Recovery Console. ? ????? ??????? ? ??? ???????.

?????????????? ???????

? ?????? ??????? ?? ??????????? ???????? ??????????, ?? ? ????? ?????? ?????????????? ???????, ? ?? ?????????. ????,

?????? 1

??? ????????? ????? ??????? ?? ? ??????? REGEDIT ?????????????? ?????? ? REG-????. ??????, ????? ??????? ?? ? ???????????? ???????? ??? ????? ???????, ???????? ????????? ????:

? ????????? REGEDIT. "????-?????????-REGEDIT".

? ? ??????? ???? ???????? "????-??????" ? ??????? ??? ?????.

??? ????? ????????? ??????? ??? ????????? ???? ????????????? ??????????. ????????,??????????? ????????? ????????? The Bat!:

regedit -s thebat1.reg 

regedit -s thebat2.reg

??? ??????????? ?????????? ????? ????? ?? ?????? THEBAT1.REG ? THEBAT2.REG.

?????? 2

????????? ?????????? ??? ??????? ?????????????? ??????? Windows XP:

? ??????? ? ??????? ? ??????? ?????????????.

? ????????? NTbackup.

? ???? NTbackup ??????????? ? ?????? ???????, ??????? ?????? "???????????" ? ???? ??????? ?????????.

? ????????? ?? ??????? "?????????????? ? ?????????? ?????????".

? ?????????? ? ?????? "?????????? ?????? ??? ???? ????????, ??????? ?? ?????? ????????????" ?????? ??? ??????? "????????? ???????". ??? ???????? ???????????? ?????? ????????? ???????

???????? ????????: ??? ???????? ??????????? ????? ??? ???? ?????? ?????????? ???????.

????? ?????????? ?????, ?? ?????? ???????? ??? ??????????????? ??????? ? ????????? ????, ????????, arcregistry.txt, ?????????????? ?????????? ???, ? ????????? ????? ????????:

batch arcregistry.txt



Содержание раздела