i have issue to restart servcie .
Error- Cannot open my service on computer '.'.
i have allready add manifest file with
but not solve .
i have issue to restart servcie .
Error- Cannot open my service on computer '.'.
i have allready add manifest file with
but not solve .
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
prasoon yadavPosted May 23, 2023, 7:30 AM
So i try all these process . i just create powershell script to restart service it working fine .
Amit MohantyPosted Apr 19, 2023, 8:45 AM
Adding a manifest file with the requestedExecutionLevel set to requireAdministrator is a good step, as this will ensure that the application is being run with administrator privileges. However, there may be other factors contributing to the error you are seeing.
Here are a few things you could try to troubleshoot the issue:
Check that the service is installed and running. You can do this by opening the Services app (services.msc) and verifying that the service is listed and running. If it is not running, try starting it manually and see if that resolves the issue.
Verify that the account you are using has permission to access the service. Depending on the security settings on your computer, you may need to grant the account explicit permission to access the service.
Try restarting your computer. Sometimes, a restart can resolve issues with services that are not starting properly.
Check the event logs for any errors related to the service. The event logs can provide more information about the error you are encountering and may help you identify the root cause.
Naimish MakwanaPosted Apr 19, 2023, 6:33 AM
The error message you are seeing indicates that there is a problem with opening the service on your computer. The fact that you have already added a manifest file with the requestedExecutionLevel level="requireAdministrator" attribute suggests that you may be experiencing a permissions issue. However, there could be other causes as well.
Here are a few troubleshooting steps you can try:
Verify that the service is installed correctly and is running. You can check this by opening the Services console in Windows and looking for the service in question. If it is not installed, you will need to install it before you can start it.
Check the permissions on the service executable file. Make sure that the file is readable and executable by the user account that is running the service.
Check the Windows Event Viewer for any errors related to the service. This can give you more information about what is causing the problem.
Try running the service as an administrator. To do this, right-click on the executable file and choose "Run as administrator" from the context menu.
Try restarting your computer and then starting the service again. This can sometimes resolve issues with services that are not starting correctly.
If none of these steps resolve the issue, you may need to seek additional help from a Windows administrator or support professional.