Install/Change HKEY_USERS Profiles

Forum for anything else which doesn't fit in the above forums. Site feedback, random talk, whatever, are welcome.
Post Reply
User avatar
Xtremee
Posts: 76
Joined: Sat Jul 15, 2006 2:38 am

Install/Change HKEY_USERS Profiles

Post by Xtremee » Tue Sep 08, 2009 6:07 am

Hi all,

I wanna to perform an installation to a specific profile only. So that I goolged and found that I need to change the following registry entry

Code: Select all

HKEY_USERS\S-1-5-21-xxxxxxxxxx-xxxxxxxxx-xxxxxxxx-xxxx
But as you all know that this number is changed from a computer to another and this number is depend on your SID.

Thus What Should I do?

yumeyao
Moderator
Posts: 1718
Joined: Sun Aug 27, 2006 9:24 pm
Location: Taiyuan, Shanxi, PR China

Post by yumeyao » Tue Sep 08, 2009 6:16 am

when you log on with that user, the key HKEY_CURRENT_USER equals to it.


I don't quitely understand whether you insist to modify a user's profile without log on.
If so, maybe autoit helps you bacause you can use it to read registry then decide whose profile you want to change by setting a variable for it.
Image
My work list(Hosted by dumpydooby)

User avatar
Xtremee
Posts: 76
Joined: Sat Jul 15, 2006 2:38 am

Post by Xtremee » Tue Sep 08, 2009 6:21 am

lets say that I wanna to make an installer that is a able to install the software registry only for the user who use the computer right now

User avatar
crashfly
Posts: 789
Joined: Thu Mar 13, 2008 11:39 pm
Location: Arkansas, USA

Post by crashfly » Tue Sep 08, 2009 12:36 pm

Then as the user who is currently "using" the computer, the specific SID is mapped to HKEY_CURRENT_USER. Therefore you would not have to change anyone else's profile.

If you want to change someones profile who is not currently logged in, that is more complicated and I would suggest you look into yumeyao's suggestion above.
A mind is like a parachute, it only functions when it is open.
--Anonymous

How to Ask Questions the Smart Way

User avatar
beats
Posts: 772
Joined: Tue Nov 27, 2007 4:11 am
Location: Netherlands

Post by beats » Tue Sep 08, 2009 2:24 pm


Post Reply