Need to popup the Properties window of SQL Service service

  • From Start -> Administrative tools menu, if you click Services it will showup all the services. And if you rightclick on a service (say, SQL Server service) and select Properties menu it will popup a window with some tabs. I need a VBScript which when executed directl brings up this window with the cursor active in the 'Log on' tab of this window.

    Can someone please write or direct me to a VBScript code

  • How about a command line method to set the login name and password?

    C:\>sc config MSSQLSERVER obj= .\SeanM password= mypassword

    If it's successful, it returns "[SC] ChangeServiceConfig SUCCESS"

    In this example, the user account "SeanM" is a local account.

    Something important to note! There needs to be a space after each equal sign.

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply