56k For Life
2[H]4U
- Joined
- Oct 5, 2001
- Messages
- 2,423
Anyone know of a way to prioritize a service in XP so that it is either the first service loaded upon startup or the last service to be ended on shutdown? Thanks in advance.
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Actually it's a little-known service that I found off of microsoft's website.mikeblas said:This is a service you've written yourself, then? When you register it, you want to show it as being dependent on another service. That will get you started earlier than that service.
I don't think there's a way to guarantee shutdown order.
56k For Life said:Actually it's a little-known service that I found off of microsoft's website.
so I can make it dependent on any service at all? it doesnt matter which? and it will then load first?
56k For Life said:so I can make it dependent on any service at all? it doesnt matter which? and it will then load first?
it runs constantly as a service actually but I feel as though if it ran ahead of all the other services it would make my system even faster.SJConsultant said:Are you referring to the User Profile Hive Cleanup service? AFAIK you shouldn't need to prioritize as it runs when needed.
56k For Life said:it runs constantly as a service actually but I feel as though if it ran ahead of all the other services it would make my system even faster.
Overview
On Windows 2000 the service deals with application event log event 1000 from source Userenv where the message indicates that the profile is not unloading and the error is "Access is denied". On Windows XP and Windows 2003 the equivalent events are 1517 and 1524 from source Userenv.
To accomplish this the service monitors for logged off users that still have hives loaded. When that happens the service determines which applications have handles opened to the hives and releases them. It logs the application name and what registry keys where left open. After this the system finishes unloading the profile.
It is a service. it's even listed under Services in the control panel.SJConsultant said:From the link I provided:
IOW, it only takes action when it detects a user logs off and still has open handles. It does nothing when logging in or starting up your computer.
I can't even fathom how your equating this "service" is in any way relevant to how fast your system will run.
56k For Life said:It is a service. it's even listed under Services in the control panel.
and before I installed the service, my system took nearly 8 minutes to boot. now it takes 1.5 minutes.
I'm not going to doubt your decrease in boot times, but seriously, if you read the links posted, this service has absolutely nothing to do with performance...especially on boot.56k For Life said:It is a service. it's even listed under Services in the control panel.
and before I installed the service, my system took nearly 8 minutes to boot. now it takes 1.5 minutes.
It was causing it to stall on "Loading Your Personal Settings" during start-up for the same reason I believe as during shut-down. Regardless, this program somehow fixed the problem.SJConsultant said:I never said anything about it not being a service. While I can't explain your supposed decrease in boot times, I can tell you the service is related to logging off. While it does run as a service, it monitors for when a user logs off and only then does it actually "do" anything.
Additional reference:
http://support.microsoft.com/default.aspx?scid=kb;en-us;897101
56k For Life said:It was causing it to stall on "Loading Your Personal Settings" during start-up for the same reason I believe as during shut-down. Regardless, this program somehow fixed the problem.