this post was submitted on 20 Apr 2024
563 points (90.9% liked)

linuxmemes

20770 readers
1585 users here now

I use Arch btw


Sister communities:

Community rules

  1. Follow the site-wide rules and code of conduct
  2. Be civil
  3. Post Linux-related content
  4. No recent reposts

Please report posts and comments that break these rules!

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 39 points 5 months ago (1 children)

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
[โ€“] [email protected] 1 points 5 months ago* (last edited 5 months ago) (1 children)

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

[โ€“] [email protected] 3 points 5 months ago (1 children)

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.

[โ€“] [email protected] 1 points 5 months ago (1 children)

I know that, the HOTKEY_* part of it was a mystery, why is the key hot... I mean, why does HK have to stand in front of it, it could be simple like just LM, CU, U (Users... still does nothing and nothing in it gets transfered as a setting in new user accounts), CR, etc.

[โ€“] [email protected] 1 points 5 months ago* (last edited 5 months ago) (1 children)

It's HKEY (handle to key), not HOTKEY. That's what I was trying to say in my comment. There's no "HOTKEY".

[โ€“] [email protected] 1 points 5 months ago

Huh... I don't know where I've read this a long time ago, but I could swear it was HOTKEY, not HKEY... your explanation does make sense though, while what I thought never did make sense.