hi,
there is a way to create a service in PowerShell Studio with "CanStop = $False"
And also making all service fields in Service properties greyed out? (Like Mcafee\Symantec AntiVirus Services that cannot be Stopped.)
Thanks!!
Create Service
Forum rules
Do not post any licensing information in this forum.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
Do not post any licensing information in this forum.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
- Alexander Riedel
- Posts: 7564
- Joined: Tue May 29, 2007 4:43 pm
- Been upvoted: 5 times
-
- Posts: 14676
- Joined: Tue May 22, 2007 9:57 am
- Has voted: 1 time
- Been upvoted: 5 times
- Contact:
Re: Create Service
The easiest way to do this with PS services is to set a restrictive ACL on the service.
- elilelonek
- Posts: 2
- Joined: Sat Feb 03, 2018 10:20 am
Re: Create Service
This is true, but I need you to test for the possibility of using PSS on CANSTOP with TRUE or FALSE in the service options ( like C# ) because ACL is for me manipulated, and Stop a Service that configured with CANSTOP FALSE will be more difficult, thereby preventing the service from being interrupted by human error.
can you please check if you have in Powershell Studio this setting or can you add it?
thanks!!!
can you please check if you have in Powershell Studio this setting or can you add it?
thanks!!!
-
- Posts: 14676
- Joined: Tue May 22, 2007 9:57 am
- Has voted: 1 time
- Been upvoted: 5 times
- Contact:
Re: Create Service
You will have to place a request for a new feature with Sapien here: https://www.sapien.com/requests