You are here

How do I rap this type of key?

5 posts / 0 new
Last post
twnty3svn
Offline
Last seen: 15 years 11 months ago
Joined: 2006-04-10 03:24
How do I rap this type of key?

Does anyone know how to successfully wrap a registry key such as the one below for a portable template.

HKEY_USERS\S-1-5-21-1715567821-1275210071-725345543-1003\Software\Softpointer

Ryan McCue
Ryan McCue's picture
Offline
Last seen: 14 years 6 months ago
Joined: 2006-01-06 21:27
Instead of that,

You could try Lapwing which would do it for you.
I don't usually work with RegRapper, so wait for Deuce to come along. Biggrin
----
R McCue
PortaBlog Home and My Website
People who didn't need people needed people around to know that they were
the kind of people who didn't need people.
(Maskerade)

"If you're not part of the solution, you're part of the precipitate."

twnty3svn
Offline
Last seen: 15 years 11 months ago
Joined: 2006-04-10 03:24
thanks

I'll give it a go, however do you know if it even possible to do it with the Portable App Template?

Deuce
Offline
Last seen: 13 years 6 months ago
Developer
Joined: 2005-12-24 16:32
It can't. like that...

Reason being.....That key is the hard store of your current profile. Basically the "S-1-5-21-1715567821-1275210071-725345543-1003" is the profile ID on that pc and only that pc. It willnot be the same on any other pc you are on.

How it works is:

When you log in the hard store profile id key (What you have above) is copied to the HKEY_CURRENT_USER key. This is then the registry hive that is modified the whole time you are logged in. When you are logging out or shutting down the PC the HKEY_CURRENT)USER key is the copied back to the hard dtored profile id hive. Then the current user id is deleted. THe next time you log on it is then recreated using yur hard stored profile ID hive. ALSO, when someone else (Another user on the PC) logs in THEIR Hard stored profile ID is copied to the HKEY_CURRENT_USER and the same happens.

To Wrap this kind of location you just need to replace the HKEY_USERS\S-1-5-21-1715567821-1275210071-725345543-1003 with HKEY_CURRENT_USER. If you look into HKEY_CURRENT_USER\Software you will see the entry for softpointer.
Now using the system above when ever you go to another pc that profile ID for you will then be copied to the HKEY_CURRENT_USER hive on the machine, allowing it to work anywhere, because you will be using the HKEY_CURRENT_USER hive, which every windows pc uses to changews while logged in.

Hope I didn't get you too confused, basically just change it to HKEY_CURRENT_USER and it will work.

***********************************
Deuce {The Core}{Dev Blog}
Portable Software: Just the beginning.

Deuce
Portable Software: Just the beginning.

twnty3svn
Offline
Last seen: 15 years 11 months ago
Joined: 2006-04-10 03:24
Fantastic!

Thanks for that, works great. Only time it does not work is where there are two reg keys; one for the HKEY_USERS\S-1-5-21-1715567821-1275210071-725345543-1003\software\etc. & also HKEY_CURRENT_USER\software\etc. Ohther than that, perfect.

Topic locked