Results 1 to 6 of 6

Thread: Accessing registry files

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Mar 2001
    Posts
    485

    Thumbs down [unresolved]

    Anyone knows how to access both ntuser.dat / usrclass.dat (windows 2000 server) file using VB?

    It's in protected mode, and I have an invalid entry in the registry, which I wasn't able to remove it with many registry reader out there, so I wanna try diving into it myself.....if can.

    Thanks

    Harddisk
    Last edited by Harddisk; Oct 11th, 2005 at 02:05 AM.

  2. #2
    Frenzied Member CyberCarsten's Avatar
    Join Date
    Sep 1999
    Location
    Aalborg Ø, Denmark
    Posts
    1,544
    Properly not a vise idea to edit the files yourself. Don't you have a backup of those files....I think windows creates a backup automatically.
    Have you tried using the Policy Editor??
    razor
    Software Engineer Student, Aalborg University, Denmark
    http://www.cs.auc.dk

    My email at AUC: will get a new email soon
    My website: http://www.razorsoftware.net


    Windows XP Pro/ Gentoo Linux (Laptop)
    Windows XP Pro (Home PC)

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Mar 2001
    Posts
    485
    I dont think Policy Editor would allow me to erase the error key.....

    I have a subkey with this name \hlUnitAliases

    The \ is causing the problem here.

    Harddisk
    Last edited by Harddisk; Apr 16th, 2001 at 09:28 AM.

  4. #4
    Frenzied Member CyberCarsten's Avatar
    Join Date
    Sep 1999
    Location
    Aalborg Ø, Denmark
    Posts
    1,544
    Is it a registry key??
    razor
    Software Engineer Student, Aalborg University, Denmark
    http://www.cs.auc.dk

    My email at AUC: will get a new email soon
    My website: http://www.razorsoftware.net


    Windows XP Pro/ Gentoo Linux (Laptop)
    Windows XP Pro (Home PC)

  5. #5

    Thread Starter
    Hyperactive Member
    Join Date
    Mar 2001
    Posts
    485
    Maybe a sample of the tree structure would be better for understanding this problem.

    Code:
    [-]Software
     |[+]...etc etc
     |[-]Borland
     | |[+]DBD
     | |[+]Debugging
     | |[-]Delphi
     | | |[-]5.0
     | | | |-\hlUnitAliases	    <- problem key
     | | | |-ActiveX Controls
     | | | |-Auto Save
     | | | |-Class Completion
     | | | |...etc etc
     | | |-Locales
     | |[+]Package Collection Editor
     |[+]...etc etc

  6. #6
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    Log on as a different user, so the files won't be open. Then unlock them in the normal way, and using a hex editor, find the key name. Bear in mind that since it's NT it'll most likely be in Unicode, so it'll be something like:
    "H\0e\0l\0l\0o\0 \0W\0o\0r\0l\0d\0"
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

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