PowerShell Script - To start Windows Service RRS feed

  • Question

  • Hi All,

    Could you please provide power shell script to start/restart the Windows service (Virtual Service Account) having service name "NT service\Account".

    Normally virtual accounts do not have passwords but while starting the service, I am getting log on failure error.

    The manual procedure I do follow is to reset the password with NULL value and start the windows service.

    Thank you in advance.



    • Moved by Bill_Stewart Monday, April 30, 2018 9:06 PM Unanswerable drive-by question
    Thursday, February 15, 2018 3:25 PM

All replies

  • This forum does not provide scripts on demand. Tell us what you have tried so far and what specific errors you are getting.

    restart-service would be a useful command in your situation.

    Thursday, February 15, 2018 3:36 PM
  • What does this have to do with a script?  Are you asking for someone to write you a script?  We don't write scripts on request.


    Thursday, February 15, 2018 3:36 PM