Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cant start service as a different user. #24

Open
saaifali opened this issue Dec 2, 2019 · 3 comments
Open

Cant start service as a different user. #24

saaifali opened this issue Dec 2, 2019 · 3 comments

Comments

@saaifali
Copy link

saaifali commented Dec 2, 2019

I have tried to install this service as different users using Credential param. I need it to run as a part of my automation to install windows services.
With the PSService -Start command, the service logs as started.
But it does not run the PSService -Service command to actually run the service.
PSService -SCMstart works, but it is for test purposes only and also opens a window of my script execution which I donot want.
How do I get to run the service as a different user?

@JFLarvoire
Copy link
Owner

JFLarvoire commented Dec 3, 2019 via email

@saaifali
Copy link
Author

saaifali commented Dec 4, 2019

Yes. it does have log on as service rights. But does not start.
I read in the previous issues that you have faced similar issues with other accounts?
any solution?

@JFLarvoire
Copy link
Owner

JFLarvoire commented Dec 5, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants