Navigation:  Command Line Applications > ServiceSecure >

Usage

Top  Previous  Next

Command Line Parameters

 

srvsec [\\servername] [username] [password] [/restart]

 

<without options>

enumerates all services, grouped by service account username



\\servername

Perform all actions on computer "servername"



username

List only services running under the specified username



password

Set the password to password. Only valid in conjunction with username.



/changepwd

Changes the password in the SAM database (or Active Directory, depending on network configuration)



/restart

Restart the service(s) after the password has been changed. Only valid in conjunction with the username and password options.

 

Examples

 

Example 1: Enumerate all services on host \\server1

 

srvsec \\server1

 

Example 2: Show all services on host \\fileserver that are using the DOMAIN\Administrator account

 

srvsec \\fileserver DOMAIN\Administrator

 

Example 3: Change the service password of all services that are using the DOMAIN\SrvAcc username to "yUye$#34ww:"

 

srvsec DOMAIN\SrvAcc yUye$#34ww:

 

Example 4: Change the service password of all services running on \\dbserver1 that are using the .\User1 username to "blaUip432" and restart the modified services

 

srvsec \\dbserver1 .\User1 blaUip432 /restart

 

Example 5: Change the service password of all services running on \\dbserver1 that are using the wupdup username to "blaUip432" and restart the modified services

 

srvsec \\dbserver1 wupdup blaUip432 /changepwd /restart