Results 1 to 5 of 5

Thread: How to inject string into my registry

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Nov 2005
    Posts
    310

    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!


    [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

  2. #2
    PowerPoster
    Join Date
    Jun 2001
    Location
    Trafalgar, IN
    Posts
    4,141

    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.

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Nov 2005
    Posts
    310

    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.

  4. #4
    Hyperactive Member
    Join Date
    Jul 2007
    Posts
    479

    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).

  5. #5
    Fanatic Member schoolbusdriver's Avatar
    Join Date
    Jan 2006
    Location
    O'er yonder
    Posts
    1,020

    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width