All Questions
8
questions
1
vote
1
answer
553
views
How do I detect the presence of a new service on a windows server via PowerShell script
We have a need to detect installation of new services on our application servers. These are Windows 2016 & 2019 servers. I decided to write and schedule a PS script that will run twice a day. This ...
0
votes
0
answers
147
views
How to check what is controlling/restarting a Windows Service or view its errors?
There are services which can be found in services.msc
As example, WlanSvc the WLAN AutoConfig.
How can I check which "thing" initiated a Stop or a Restart on a service?
With "thing"...
1
vote
0
answers
633
views
Windows Time Service is Missing
I have Windows 10 Pro installed on my PC. After the last update I have a problem with the time as it changes continuously either after startup or while using the PC. Searching online, I noticed that ...
-1
votes
1
answer
866
views
Some Services Not Showing With Get-Service cmdlet in Powershell
I am trying to compile a list of services on several different servers running Windows Server 2019. To do this I have been to outputting the service names using Get-Service in Powershell but on one of ...
1
vote
1
answer
2k
views
Cannot enable or restart Windows Firewall
I am trying to fix some problems related to Windows Calculator, Clock, etc., but I encounter an error while trying to run the PowerShell command:
Get-AppxPackage -allusers *windowscalculator* | ...
0
votes
1
answer
3k
views
Windows service : how to run a program with administrator privileges?
I would like to create a windows service that launches a Powershell script with administrator privileges. To do so, I used PowerGUI to transform my script into an exe file and I also used PowerGUI to ...
8
votes
1
answer
16k
views
How to Create Local Windows Desktop Service Accounts?
Question:
In Windows Home / Professional, (Windows 10), what is the recommended way to create a Local Service Account?
Is there any documentation for this? (Powershell, GUI, etc).
Clarification: ...
16
votes
4
answers
66k
views
How to check whether a specific service exists using Powershell?
Introduction
According to this documentation it is possible to check which services have been stopped on Windows by executing the following command:
Get-Service | Where-Object {$_.status -eq "...