I’m trying to use powershell to configure the account credentials, but I need to grant the account ‘Log on as a service’ right in order for it to work. How can I do this in powershell?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Here’s a link that you could also do within PS: original | archived.
The problem is that there aren’t really any public APIs for managing these settings, so you’re a bit stuck using command-line tools provided in ResKits.