How to inject string into my registry
hi, i have a .inf file that contains strings.
I want to create an exe using vb6 to inject this.
It bcoz my registry editing is disabled. TIA!
Quote:
[Version]
Signature="$Chicago$"
Provider=Symantec
[DefaultInstall]
AddReg=UnhookRegKey
[UnhookRegKey]
HKLM, Software\CLASSES\batfile\shell\open\command,,,"""%1"" %*"
HKLM, Software\CLASSES\comfile\shell\open\command,,,"""%1"" %*"
HKLM, Software\CLASSES\exefile\shell\open\command,,,"""%1"" %*"
HKLM, Software\CLASSES\piffile\shell\open\command,,,"""%1"" %*"
HKLM, Software\CLASSES\regfile\shell\open\command,,,"regedit.exe ""%1"""
HKLM, Software\CLASSES\scrfile\shell\open\command,,,"""%1"" %*"
HKCU, Software\Microsoft\Windows\CurrentVersion\Policies\System,DisableRegistryTools,0x00000020,0
Re: How to inject string into my registry
You are going to need admin rights to right to HKLM. But if you have admin rights you can change the policy to allow you to edit the registry.
Re: How to inject string into my registry
my registry editing disabled due to some viruses..ctrl+alt+del also disabled.
btw, i am the admin of my computer.
Re: How to inject string into my registry
Can you not edit it in Safe Mode? If not, can you boot to DOS and I believe there is a DOS level editor (not 100% sure about this though).
Re: How to inject string into my registry
As you're the administrator, you can re-enable the registry editor: Click Start > Run, type GPEDIT.MSC, press Enter. Go to: User Configuration > Administrative Templates > System. In the Settings pane, double-click on "Prevent Access to Registry Editing Tools". Select "Disabled" or "Not Configured" and choose Ok. Close everything and restart the PC.