Powershell script to restart automatic Windows services and notify if failed

I found a Powershell script that checks all automatic services on Windows servers and if they are not started, tries to start them. Here is the link http://doitcloudy.blogspot.de/2014/07/scriptgesteuerter-neustart-von-windows.html (It’s German, but the script on the bottom of the page is all English). I would like to customize it a bit. However, I need some help … Read more

run as administrator has more permissions than SYSTEM

I have a Windows service that I can run either as a service or in a console. The program requires administrator access. When running in a console “as Administrator”, the program works fine. When running as a service under the SYSTEM account, the program doesn’t respond properly. What is the difference between “As Administrator” and … Read more

System hang and increased startup time due to svchost.exe

I have a domain network, most of the windows 7 systems are taking too much time to startup and settle up. High disk activity and increased memory usage are noticed. I have a locally hosted WSUS server which i doubt causing the issue. The high memory usage issue is fixed after I installed the Microsoft … Read more

What is the difference between Windows XP services and Windows 7 services?

I have downloaded an open source C++ application. This application run as a Linux daemon, listening at a port, and waiting for connection from client PC. Someone has compiled this application under Cygwin so that it can run in Windows environment. The windows version comes with a .exe executable as well as 2 Cygwin DLLs. … Read more

Stunnel as Windows service doesn’t “start” on reboot

Running stunnel 5.03 on Windows 2008 R2. Everything is installed and working fine. I can even start/stop the service no problem… When I reboot my server stunnel service shows as started but nothing gets logged and none of my connections work. Once i restart the service through service manager, everything works. So on startup it … Read more

Execute bat file via php on a local network to run on any PC connected

I have a web app which runs on a local server (XAMPP)…its on a computer (PC1) which serve as a server..other computers are connected to the same wireless network and can run the web app also from the network. Problem now is, i have a code that executes a bat file which is stored on … Read more

How to block Windows Service from spawning new process

In continue to my SO question, I would like to know how it is possible, by GPO, or a security setting, to prevent from a Windows Service to spawn new process. I have a machine with Windows Service (logon as SYSTEM) and it attempt to create new Process and then Process.Start() it. But the call … Read more

Windows service Application.LocalUserAppDataPath

Application.LocalUserAppDataPath” is differ from “Application.CommonAppDataPath” for a same windows service? The “Application.LocalUserAppDataPath” suppose to refer the same path as “Application.CommonAppDataPath”. Answer Yes, this is by design. It’s the way the OS is intended to work. AttributionSource : Link , Question Author : Community , Answer Author : Maximus Minimus