https://github.com/bgelov/restart-stoppendingservice
Script for restart services in StopPending state with PSExec
https://github.com/bgelov/restart-stoppendingservice
Last synced: 6 months ago
JSON representation
Script for restart services in StopPending state with PSExec
- Host: GitHub
- URL: https://github.com/bgelov/restart-stoppendingservice
- Owner: bgelov
- Created: 2022-07-28T09:19:49.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-07-28T09:36:26.000Z (over 3 years ago)
- Last Synced: 2025-02-22T19:31:54.360Z (9 months ago)
- Language: PowerShell
- Size: 261 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Restart-StopPendingService
Script for restarting a service that constantly hangs in StopPending status. Restart-StopPendingService script works using PSExec, since there are not always enough rights to terminate the process via the standard taskkill.
Download PSExec: https://docs.microsoft.com/en-us/sysinternals/downloads/psexec
Parameters: Directory with psexec64.exe, Service name, Process name