Rabu, 25 Mei 2011

Accessing the Registry key from DOS Prompt


DOS ... Something that perhaps we almost left, turned out to save the power that can not be taken lightly.

One is to handle the Windows system registry,

Do not believe ...? Prove it ...!!!


Regedit.exe is a tool created to access the registry with windows based.

Reg.exe is a tool created to access the registry with DOS-based (console).

How do I access it?
  1. Go to DOS console
  2. Type the command reg.
    It will display some Operation options that you can use to access the Windows registry, such as: QUERY, ADD, DELETE, COPY, SAVE, LOAD, unload, Restore, Compare, EXPORT, IMPORT.
  3. Type reg add /?
    It will display the parameters-parameters that can be incorporated into the ADD command.


With this brief introduction, you can access the registry in DOS (console).

====================================

Rootkey:
HKCR = HKEY_CLASSES_ROOT
HKCU = HKEY_CURRENT_USER
HKLM = HKEY_LOCAL_MACHINE
HKU = HKEY_USERS
HKCC = HKEY_CURRENT_CONFIG


Data Type:
REG_SZ = String Value
REG_MULTI_SZ = Multi-String Value
REG_DWORD = DWORD Value
REG_BINARY = Binary Value
REG_NONE = No Value


====================================

Example :
reg add “HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System” /v DisableRegistryTools /t reg_dword /d 1 /f


This command will disable the Windows-based regedit.

Meanwhile, to enable regedit is with the following command:
reg add “HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System” /v DisableRegistryTools /t reg_dword /d 0 /f

or
reg delete “HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System” /v DisableRegistryTools


Similarly to other commands.

This technique is very powerful tool used to handle various kinds of viruses that could make you upset with the doings at his behavior. Block it, block here ...

Be careful ...!! could be a virus change this reg.exe file triggers the virus.
My advice: save the file reg.exe this in a secure storage media such as CD, Flash Disk, etc.. and keep out of reach of viruses. One day you'll need it.



This is just an alternative if regedit blocked by the Administrator or a virus.

1 komentar:

nice INfO sob,,, good blog..

Sobat, saya melayani pembuatan AKUN GOOGLE ADSENSE dengan promo harga 35rb..
yang berminat silahkan hubungi 081909893942. " Paling lama 2 hari akun langsung jadi"

pembayaran transfer via mandiri setelah AKUN anda jadi. terimakasih...
SILAHKAN BAGI YANG BERMINAT.. "sms dengan Nama Sesuai KTP" atau comment order disini

Posting Komentar