MS Services stops: Auto Restart Suggestions
-
Service that runs the POS system is set to restart. However, several times since I have been here it has timed out and has to manually restarted.
As Remote Execution of PS is disabled, what other options would there be that doesn't require a human to process?
Task Scheduled Batch?
-
I would be researching why the service is failing in the first place.
-
@danp said in MS Services stops: Auto Restart Suggestions:
I would be researching why the service is failing in the first place.
The POS is a...POS? Very good question - problem precedes my arrival. But does warrant additional investigation and time invested with the Vendor.
-
The correct answer is from @Danp. Some troubleshooting of the service is in order. Otherwise, I suggest doing what I said either in chat or some other thread. Use a scheduled task to run a PowerShell script to restart the service.
-
@eddiejennings said in MS Services stops: Auto Restart Suggestions:
The correct answer is from @Danp. Some troubleshooting of the service is in order. Otherwise, I suggest doing what I said either in chat or some other thread. Use a scheduled task to run a PowerShell script to restart the service.
or a batch file since Powershell is disabled.
-
@dashrender said in MS Services stops: Auto Restart Suggestions:
@eddiejennings said in MS Services stops: Auto Restart Suggestions:
The correct answer is from @Danp. Some troubleshooting of the service is in order. Otherwise, I suggest doing what I said either in chat or some other thread. Use a scheduled task to run a PowerShell script to restart the service.
or a batch file since Powershell is disabled.
True. I know a bit of context for this that wasn't mentioned in the OP. I'm fairly sure "powershell disabled" means "PowerShell remoting is not allowed."
-
@eddiejennings said in MS Services stops: Auto Restart Suggestions:
@dashrender said in MS Services stops: Auto Restart Suggestions:
@eddiejennings said in MS Services stops: Auto Restart Suggestions:
The correct answer is from @Danp. Some troubleshooting of the service is in order. Otherwise, I suggest doing what I said either in chat or some other thread. Use a scheduled task to run a PowerShell script to restart the service.
or a batch file since Powershell is disabled.
True. I know a bit of context for this that wasn't mentioned in the OP. I'm fairly sure "powershell disabled" means "PowerShell remoting is not allowed."
If that's what he really means, then yeah, I love your idea better
-
net start servicename
Or restart etc.