# Change service property

**URL:** <https://www.ruby-forum.com/t/change-service-property/167797>\
**Category:** Ruby\
**Created:** [May 12, 2009, 6:10pm UTC](https://www.ruby-forum.com/t/change-service-property/167797 "2009-05-12T18:10:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![cheyne](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/b9bd4f/32.png) [@cheyne](https://www.ruby-forum.com/u/cheyne)\
**Post date:** [May 12, 2009, 6:10pm UTC](https://www.ruby-forum.com/t/change-service-property/167797/1 "2009-05-12T18:10:04Z")

</div>

Hi everyone,

I need to change a service login property in a script. For example, I  
installed a service on windows, and its logon default setting is logon  
as local system. I wonder if there anyway to change it into logon as  
“This account” with account name and password? Any ideas? Thank you in  
advance

---

<div class="post-metadata">

**Author:** ![cheyne](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/b9bd4f/32.png) [@cheyne](https://www.ruby-forum.com/u/cheyne)\
**Post date:** [May 27, 2009, 8:02pm UTC](https://www.ruby-forum.com/t/change-service-property/167797/2 "2009-05-27T20:02:22Z")

</div>

Cheyne Li wrote:

> Hi everyone,
> 
> I need to change a service login property in a script. For example, I  
> installed a service on windows, and its logon default setting is logon  
> as local system. I wonder if there anyway to change it into logon as  
> “This account” with account name and password? Any ideas? Thank you in  
> advance

Any one can help???
