NetEZ.com NetEZ Community
Enter City & State or US Zip Code:
Change your local weather options
Google
WWW NetEZ.com

NetEZ.com Forum Index  
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

blog: the registry part I

 
Post new topic   Reply to topic    NetEZ.com Forum Index -> xplorer˛ Professional
View previous topic :: View next topic  
Author Message
nikos
Moderator
Moderator


Joined: 07 Feb 2002
Posts: 12397
Location: UK

PostPosted: Sun May 11, 2008 4:06 am    Post subject: blog: the registry part I Reply with quote

here's the comment area for today's blog post found at
www.zabkat.com/blog/11May08.htm
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
pschroeter
Bronze Member
Bronze Member


Joined: 26 Jan 2007
Posts: 96

PostPosted: Sat May 17, 2008 5:37 pm    Post subject: I enjoyed this post Reply with quote

I notice no one has posted here yet but I really found this topic very helpful and look forward to more. I still haven't figured out why it is necessary to have any program information outside of the program's folder in the Program folder, unless Windows needs it when Windows starts up.

I would also like to suggest you write something about scripting. I get the impression that Windows has a powerful macro language(s?) built in, but I can't seem to wrap my mind around it.
Back to top
View user's profile Send private message
johngalt
Silver Member
Silver Member


Joined: 10 Feb 2008
Posts: 192
Location: 3rd Rock

PostPosted: Sat May 17, 2008 5:59 pm    Post subject: Reply with quote

When you uninstall a program, typically the folder is deleted.  If you alter reinstall the program your settings would be lost.

Mind you, that is only one reason....
_________________


Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
FrizzleFry
Gold Member
Gold Member


Joined: 16 Oct 2005
Posts: 465

PostPosted: Sat May 17, 2008 6:30 pm    Post subject: Reply with quote

The install location is usually only writable by users with admin privileges so normal users cannot update a configuration file there. Also you generally want different users to have separate configuration files. The two common ways to store user specific configuration info is to put it in HKCU (registry) or Application Data in the user's profile folder (file).
Back to top
View user's profile Send private message
Michaelm
Member
Member


Joined: 27 Feb 2006
Posts: 20
Location: Netherlands

PostPosted: Sat May 17, 2008 6:55 pm    Post subject: Reply with quote

FrizzleFry wrote:
The install location is usually only writable by users with admin privileges so normal users cannot update a configuration file there. Also you generally want different users to have separate configuration files. The two common ways to store user specific configuration info is to put it in HKCU (registry) or Application Data in the user's profile folder (file).

Don't you need admin privileges to write to the registry then ?!?
Back to top
View user's profile Send private message
johngalt
Silver Member
Silver Member


Joined: 10 Feb 2008
Posts: 192
Location: 3rd Rock

PostPosted: Sat May 17, 2008 9:43 pm    Post subject: Reply with quote

Not to HKey Current Users.
_________________


Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
wasker
Gold Member
Gold Member


Joined: 21 Oct 2005
Posts: 723
Location: NJ, USA

PostPosted: Sun May 18, 2008 12:54 pm    Post subject: Re: I enjoyed this post Reply with quote

pschroeter wrote:
I still haven't figured out why it is necessary to have any program information outside of the program's folder in the Program folder, unless Windows needs it when Windows starts up.


Because more than one user might use Windows PC, so having a configuration file in one place won't allow them to personalize their experience with program (see: User Profiles). Besides, due to security reasons everything under Program Files is read-only for users (even for admins under Vista IIRC).
_________________
You gotta hear that: http://www.getfugitive.com

I'm using Xplorer2 - the only file manager that does not suck. Actually, it rocks!
Back to top
View user's profile Send private message Visit poster's website
johngalt
Silver Member
Silver Member


Joined: 10 Feb 2008
Posts: 192
Location: 3rd Rock

PostPosted: Sun May 18, 2008 6:52 pm    Post subject: Reply with quote

Well, not technically - the rights to writing to folders under Program Files is restricted to administrators - but most programs run with lower privileges, thus most program are not able to write to their installation folders without first gaining administrative privileges.
_________________


Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
wasker
Gold Member
Gold Member


Joined: 21 Oct 2005
Posts: 723
Location: NJ, USA

PostPosted: Sun May 18, 2008 7:33 pm    Post subject: Reply with quote

johngalt, from the user's perspective this means that Program Files folder is read-only. Smile
_________________
You gotta hear that: http://www.getfugitive.com

I'm using Xplorer2 - the only file manager that does not suck. Actually, it rocks!
Back to top
View user's profile Send private message Visit poster's website
nikos
Moderator
Moderator


Joined: 07 Feb 2002
Posts: 12397
Location: UK

PostPosted: Mon May 19, 2008 4:27 am    Post subject: Reply with quote

more on the registry next week -- unless i get caught up basking in the sun again Smile
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
johngalt
Silver Member
Silver Member


Joined: 10 Feb 2008
Posts: 192
Location: 3rd Rock

PostPosted: Mon May 19, 2008 6:40 pm    Post subject: Reply with quote

@wasker - Unless said user has disabled UAC....

@nikos - bask away!!!  you deserve it!!!
_________________


Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    NetEZ.com Forum Index -> xplorer˛ Professional All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP