• SGG@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      6 months ago

      Oooh the registry is even more fun.

      • HKLM, HKCU? These are statements dreamt up by the utterly deranged
      • Store it in software, make your own root folder
      • Also for 32 bit programs there wow6432node
      • There’s also the policies section, but this kind of makes sense to have it split off
      • Also make sure to follow the apple methodology of having multiple different key names like Apple, Apple inc., etc
      • 0x4E4F@sh.itjust.worksOP
        link
        fedilink
        English
        arrow-up
        0
        ·
        edit-2
        6 months ago

        I still have no idea why HK is in front… why is the key hot 🤔… and what key are we talking about…

        Oh, yeah, and the different key names… Windows, Windows NT (WITH a white space…), Win…

        • dan@upvote.au
          link
          fedilink
          arrow-up
          1
          ·
          6 months ago

          HKEY means “handle to registry key”… Not that that helps anything.

          When code opens a file, device, etc, it’s given a “handle” to it, which is an internal reference so that Windows knows which file you’re reading or writing, and it keeps track of where you are in the document. Similarly, HKEY_CURRENT_USER is the handle that gives you the current user part of the registry.