logo elektroda
logo elektroda
X
logo elektroda
REKLAMA
REKLAMA
Adblock/uBlockOrigin/AdGuard mogą powodować znikanie niektórych postów z powodu nowej reguły.

Tworzenie i usuwanie wartości DWORD w rejestrze Windows przez plik .reg

omen_s 20 Kwi 2003 20:43 1987 5
REKLAMA
  • #1 193121
    omen_s
    Poziom 19  
    Posty: 424
    Pomógł: 4
    Ocena: 9
    Mam problem :!:
    jak stworzyć wartość DWORD i jak uaktywnić funkcje :?:
    Czy moze ktoś podać treść pliku o rozszerzeniu .reg który wpisuje do

    [HKEY_CURRENT_USER/Software/Microsoft/Windows/CurrentVersion/Policies/Explorer] nową wartość DWORD o nazwie NoRun o wartości 1

    I jak usunąć wpisy z rejestru za pomocą pliku o rozszerzeniu .reg :?:



    :!: WSZYSTKO TYLKO I WYŁĄCZNIE W CELACH EDUKACYJNYCH :!:
  • REKLAMA
  • #2 193224
    elektryk
    Poziom 42  
    Posty: 11029
    Pomógł: 439
    Ocena: 240
    Dodaj ręcznie w rejestrze i wyeksportuj do pliku .reg
  • REKLAMA
  • #3 193245
    studi
    Poziom 20  
    Posty: 292
    Pomógł: 31
    Ocena: 6
    Plik .reg powinien mieć następującą zawartość:

    REGEDIT4

    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
    "NoRun"=dword:00000001

    Niestety nie mogę sprawdzić bo nie posiadam, ale pamientam, że w Win9X można było odpalić regedit z parametrem i wtedy albo rejestrował, albo usuwał zawartość pliku reg z rejestru.
  • REKLAMA
  • REKLAMA
  • #5 331515
    wamal
    Poziom 20  
    Posty: 278
    Pomógł: 29
    Ocena: 28
    CrazyLucas napisał:
    kasowanie to chyba regedit /c ale jusz nie sprawdze - win2k rules

    oj... nie tak

    Regedit.exe imports and exports registry files to and from the registry.
    REGEDIT [/L:system] [/R:user] filename1
    REGEDIT [/L:system] [/R:user] /C filename2
    REGEDIT [/L:system] [/R:user] /E filename3 [regpath1]
    REGEDIT [/L:system] [/R:user] /D regpath2

    /L:system Specifies the location of the SYSTEM.DAT file.
    /R:user Specifies the location of the USER.DAT file.
    filename1 Specifies the file(s) to import into the registry.
    /C filename2 Specifies the file to create the registry from.
    /E filename3 Specifies the file to export the registry to.
    regpath1 Specifies the starting registry key to export from.
    (Defaults to exporting the entire registry).
    /D regpath2 Specifies the registry key to delete.
  • #6 332903
    solcon
    Poziom 20  
    Posty: 361
    Pomógł: 9
    Ocena: 14
    usunąć to tak jak dodać tylko minus na początku :)
    czyli
    -[HKEY_CURRENT_USER/Software/Microsoft......
REKLAMA