Kuan
Kuan

Reputation: 11389

What user profile the system uses when runs a service in windows

All,

I have no idea how Windows service works, just curious when we register a windows service(such as auto run a server after reboot), if it requires a user profile to load info(such as pulling data from somewhere else), what user profile does it load?

Thanks,

Upvotes: 0

Views: 2715

Answers (1)

Luis R Ballestas
Luis R Ballestas

Reputation: 66

You can select what user run each service registered and the system comes with users assigned per service. The most used by the system is SYSTEM.

To check this you have to:

  • Go to services.
  • Right click on the desired service and properties.
  • Go to the Log on tab and check.

If the Local System account is selected the username is SYSTEM which has special permissions on almost all folder and Windows sections including users' profiles data.

By the other hand if you would like to do something special with an specific account you can tell the system the service will start with the account specified. Just make sure to update the password information every time the user change it.

Regards,

Luis

Upvotes: 2

Related Questions