Added reg info

This commit is contained in:
Justin Hall 2017-09-08 15:22:59 -07:00
parent d67c011ecd
commit 1a1df150ac

View File

@ -17,7 +17,9 @@ Per-user services are services that are created when a user signs into Windows o
> [!NOTE] > [!NOTE]
> Per-user services are only in available in Windows Server if you have installed the Desktop Experience. If you are running a Server Core or Nano Server installation, you won't see these services. > Per-user services are only in available in Windows Server if you have installed the Desktop Experience. If you are running a Server Core or Nano Server installation, you won't see these services.
You can't prevent per-user services from being created, but you can configure the template service to create them in a stopped and disabled state. You do this by setting the template service's **Startup Type** to **Disabled**. Beginning with Windows 10, version 1709 and Windows Server, version 1709, there are two ways to prevent per-user services from being created:
- Configure the template service to create them in a stopped and disabled state. You do this by setting the template service's **Startup Type** to **Disabled**.
- Create a new Registry entry named UserServiceFlags under the service configuration in the registry as a DWORD (32 bit) value set to 0.
> [!IMPORTANT] > [!IMPORTANT]
> If you change the template service's Startup Type, make sure you carefully test that change prior to rolling it out in your production environment. > If you change the template service's Startup Type, make sure you carefully test that change prior to rolling it out in your production environment.