Tag Archives: services

Optimize VDI: Windows 10 Services (Original, Anniversary, Creator and Fall Creator Updates)


This is a multi-part blog series focused on optimizing Windows 10 VDI

As we saw in a previous blog, Microsoft added new default apps into the base operating system of the Windows 10 Build 1709 (Fall Creator Update). These updates will have an impact on the user experience, especially in a VDI implementation.

Windows Services

Many of the new capabilities with the latest builds of Windows 10 also implements new Windows services. With each release, the number of services has steadily increased.

  • Build 1507: 196 Services
  • Build 1607: 212 Services
  • Build 1703: 223 Services
  • Build 1709: 234 Services

History has shown that optimizing Windows services can improve logon time and server density. It is recommended to review the list of services and disable those that are not necessary for the users.

To see a list of Windows services, run the following PowerShell command:
Get-Service

The table below shows the state of each service (Stoppped or Running). Only services with a green, orange and red shading should be considered for disabling.

Color Code:

  • Green: A currently running service; consider disabling
  • Orange: A stopped service that will run when requested; consider disabling
  • Red: Disable IF an alternative approach is used

 

Service Name Display Name Build 1507 (Original) Build 1607 (Anniv) Build 1703 (Creator) Build 1709 (Fall Creator)
AxInstSV ActiveX Installer (AxInstSV) Stopped Stopped Stopped Stopped
AJRouter AllJoyn Router Service Stopped Stopped Stopped Stopped
AppReadiness App Readiness Stopped Stopped Stopped Stopped
AppIDSvc Application Identity Stopped Stopped Stopped Stopped
Appinfo Application Information Stopped Running Stopped Stopped
ALG Application Layer Gateway Service Stopped Stopped Stopped Stopped
AppMgmt Application Management Stopped Stopped Stopped Stopped
AppXSvc AppX Deployment Service (AppXSVC) Stopped Stopped Stopped Running
AssignedAccessManager Assigned Access Manager Service Stopped
tzautoupdate Auto Time Zone Updater Stopped Stopped Stopped
BITS Background Intelligent Transfer Ser… Running Stopped Stopped Running
BrokerInfrastru… Background Tasks Infrastructure Ser… Running Running Running Running
BFE Base Filtering Engine Running Running Running Running
BDESVC BitLocker Drive Encryption Service Stopped Stopped Stopped Stopped
wbengine Block Level Backup Engine Service Stopped Stopped Stopped Stopped
BthHFSrv Bluetooth Handsfree Service Stopped Stopped Stopped Stopped
bthserv Bluetooth Support Service Stopped Stopped Stopped Stopped
PeerDistSvc BranchCache Stopped Stopped Stopped Stopped
camsvc Capability Access Manager Servic Stopped
CertPropSvc Certificate Propagation Stopped Running Running Running
ClipSVC Client License Service (ClipSVC) Running Running Stopped Stopped
KeyIso CNG Key Isolation Stopped Stopped Running Running
EventSystem COM+ Event System Stopped Running Running Running
COMSysApp COM+ System Application Running Running Stopped Stopped
Browser Computer Browser Stopped Stopped Running
CDPSvc Connected Devices Platform Service Running Running Running Running
CDPUserSvc_4e094 Connected Devices Platform User Ser… Running Running Running
DiagTrack Connected User Experiences and Tele… Running Running Running Running
PimIndexMainten… Contact Data_4e094 Stopped Stopped Stopped
CoreMessagingRe… CoreMessaging Running Running Running Running
VaultSvc Credential Manager Running Running Running Running
CryptSvc Cryptographic Services Stopped Running Running Running
DsSvc Data Sharing Service Stopped Stopped Stopped Stopped
DusmSvc Data Usage Running Running
DcpSvc DataCollectionPublishingService Running Stopped
DcomLaunch DCOM Server Process Launcher Stopped Running Running Running
DoSvc Delivery Optimization Running Running Running Stopped
DeviceAssociati… Device Association Service Stopped Stopped Running Stopped
DeviceInstall Device Install Service Stopped Running Stopped Stopped
DmEnrollmentSvc Device Management Enrollment Service Stopped Stopped Stopped Stopped
DsmSvc Device Setup Manager Stopped Stopped Stopped Stopped
DevicesFlowUser… DevicesFlow_4e094 Stopped Stopped
DevQueryBroker DevQuery Background Discovery Broker Running Stopped Stopped Stopped
Dhcp DHCP Client Running Running Running Running
diagsvc Diagnostic Execution Service Stopped
DPS Diagnostic Policy Service Running Running Running Running
WdiServiceHost Diagnostic Service Host Stopped Running Running Running
WdiSystemHost Diagnostic System Host Running Stopped Stopped Stopped
TrkWks Distributed Link Tracking Client Running Running Running Running
MSDTC Distributed Transaction Coordinator Stopped Stopped Stopped Stopped
dmwappushservice dmwappushsvc Stopped Stopped Stopped Stopped
Dnscache DNS Client Running Running Running Running
MapsBroker Downloaded Maps Manager Stopped Stopped Stopped Stopped
embeddedmode Embedded Mode Stopped Stopped Stopped Stopped
EFS Encrypting File System (EFS) Stopped Stopped Stopped Stopped
EntAppSvc Enterprise App Management Service Stopped Stopped Stopped Stopped
EapHost Extensible Authentication Protocol Stopped Stopped Stopped Stopped
Fax Fax Stopped Stopped Stopped Stopped
fhsvc File History Service Stopped Stopped Stopped Stopped
fdPHost Function Discovery Provider Host Stopped Stopped Stopped Stopped
FDResPub Function Discovery Resource Publica… Stopped Stopped Stopped Stopped
lfsvc Geolocation Service Stopped Running Running Running
GraphicsPerfSvc Graphics Performance Service Stopped
gpsvc Group Policy Client Running Stopped Stopped Running
HomeGroupListener HomeGroup Listener Stopped Stopped Stopped Stopped
HomeGroupProvider HomeGroup Provider Stopped Stopped Stopped Stopped
hidserv Human Interface Device Service Stopped Stopped Stopped Stopped
HvHost HV Host Service Stopped Stopped Stopped
vmickvpexchange Hyper-V Data Exchange Service Stopped Stopped Stopped Stopped
vmicguestinterface Hyper-V Guest Service Interface Stopped Stopped Stopped Stopped
vmicshutdown Hyper-V Guest Shutdown Service Stopped Stopped Stopped Stopped
vmicheartbeat Hyper-V Heartbeat Service Stopped Stopped Stopped Stopped
vmicvmsession Hyper-V PowerShell Direct Service Stopped Stopped Stopped Stopped
vmicrdv Hyper-V Remote Desktop Virtualizati… Stopped Stopped Stopped Stopped
vmictimesync Hyper-V Time Synchronization Service Stopped Stopped Stopped Stopped
vmicvss Hyper-V Volume Shadow Copy Requestor Stopped Stopped Stopped Stopped
IKEEXT IKE and AuthIP IPsec Keying Modules Stopped Stopped Stopped Stopped
irmon Infrared monitor service Stopped Stopped Stopped
InstallService Windows Store Install Service Stopped
UI0Detect Interactive Services Detection Stopped Stopped Stopped Stopped
SharedAccess Internet Connection Sharing (ICS) Stopped Stopped Stopped Stopped
IEEtwCollectorS… Internet Explorer ETW Collector Ser… Stopped
iphlpsvc IP Helper Running Running Running Running
IpxlatCfgSvc IP Translation Configuration Service Stopped Stopped
PolicyAgent IPsec Policy Agent Running Running Running Running
KtmRm KtmRm for Distributed Transaction C… Stopped Stopped Stopped Stopped
lltdsvc Link-Layer Topology Discovery Mapper Stopped Stopped Stopped Stopped
LSM Local Session Manager Running Running Running Running
wlpasvc LPA Service Stopped Stopped
MessagingServic… MessagingService_4e094 Stopped Stopped Stopped
diagnosticshub…. Microsoft (R) Diagnostics Hub Stand… Stopped Stopped Stopped Stopped
wlidsvc Microsoft Account Sign-in Assistant Stopped Stopped Stopped Stopped
AppVClient Microsoft App-V Client Stopped Stopped Stopped
MSiSCSI Microsoft iSCSI Initiator Service Stopped Stopped Stopped Stopped
NgcSvc Microsoft Passport Stopped Stopped Stopped Stopped
NgcCtnrSvc Microsoft Passport Container Stopped Stopped Stopped Stopped
swprv Microsoft Software Shadow Copy Prov… Stopped Stopped Stopped Stopped
smphost Microsoft Storage Spaces SMP Stopped Stopped Stopped Stopped
SmsRouter Microsoft Windows SMS Router Service. Stopped Running Stopped Stopped
NaturalAuthenti… Natural Authentication Stopped Stopped
NetTcpPortSharing Net.Tcp Port Sharing Service Stopped Stopped Stopped Stopped
Netlogon Netlogon Running Running Running Running
NcdAutoSetup Network Connected Devices Auto-Setup Stopped Stopped Stopped Stopped
NcbService Network Connection Broker Running Running Running Running
Netman Network Connections Stopped Stopped Stopped Stopped
NcaSvc Network Connectivity Assistant Stopped Stopped Stopped Stopped
netprofm Network List Service Running Running Running Running
NlaSvc Network Location Awareness Running Running Running Running
NetSetupSvc Network Setup Service Stopped Stopped Stopped Stopped
nsi Network Store Interface Service Running Running Running Running
CscService Offline Files Stopped Stopped Stopped Stopped
defragsvc Optimize drives Stopped Stopped Stopped Stopped
SEMgrSvc Payments and NFC/SE Manager Stopped Stopped
PNRPsvc Peer Name Resolution Protocol Stopped Stopped Stopped Stopped
p2psvc Peer Networking Grouping Stopped Stopped Stopped Stopped
p2pimsvc Peer Networking Identity Manager Stopped Stopped Stopped Stopped
PerfHost Performance Counter DLL Host Stopped Stopped Stopped Stopped
pla Performance Logs & Alerts Stopped Stopped Stopped Stopped
PhoneSvc Phone Service Stopped Stopped Stopped
PlugPlay Plug and Play Running Running Running Running
PNRPAutoReg PNRP Machine Name Publication Service Stopped Stopped Stopped Stopped
WPDBusEnum Portable Device Enumerator Service Stopped Stopped Stopped Stopped
Power Power Running Running Running Running
Spooler Print Spooler Running Running Running Running
PrintNotify Printer Extensions and Notifications Stopped Stopped Stopped Stopped
PrintWorkdlowUser Printer Workflow Stopped
wercplsupport Problem Reports and Solutions Contr… Stopped Stopped Stopped Stopped
PcaSvc Program Compatibility Assistant Ser… Running Running Running Running
PushToInstall Windows PushToInstall Service Stopped
QWAVE Quality Windows Audio Video Experience Stopped Stopped Stopped Stopped
RmSvc Radio Management Service Stopped Stopped Stopped
RasAuto Remote Access Auto Connection Manager Stopped Stopped Stopped Stopped
RasMan Remote Access Connection Manager Stopped Stopped Stopped Stopped
SessionEnv Remote Desktop Configuration Running Running Running Running
TermService Remote Desktop Services Running Running Running Running
UmRdpService Remote Desktop Services UserMode Po… Running Running Running Running
RpcSs Remote Procedure Call (RPC) Running Running Running Running
RpcLocator Remote Procedure Call (RPC) Locator Stopped Stopped Stopped Stopped
RemoteRegistry Remote Registry Stopped Stopped Stopped Stopped
RetailDemo Retail Demo Service Stopped Stopped Stopped Stopped
RemoteAccess Routing and Remote Access Stopped Stopped Stopped Stopped
RpcEptMapper RPC Endpoint Mapper Running Running Running Running
seclogon Secondary Logon Running Running Running Stopped
SstpSvc Secure Socket Tunneling Protocol Se… Stopped Stopped Stopped Stopped
SamSs Security Accounts Manager Running Running Running Running
wscsvc Security Center Running Running Running Running
SensorDataService Sensor Data Service Stopped Stopped Stopped Stopped
SensrSvc Sensor Monitoring Service Stopped Stopped Stopped Stopped
SensorService Sensor Service Stopped Stopped Stopped Stopped
LanmanServer Server Running Running Running Running
shpamsvc Shared PC Account Manager Stopped Stopped Stopped
SharedRealitySvc Spatial Data Service Stopped
ShellHWDetection Shell Hardware Detection Running Running Running Running
SCardSvr Smart Card Stopped Stopped Stopped Stopped
ScDeviceEnum Smart Card Device Enumeration Service Running Running Running Running
SCPolicySvc Smart Card Removal Policy Stopped Stopped Stopped Stopped
SNMPTRAP SNMP Trap Stopped Stopped Stopped Stopped
sppsvc Software Protection Stopped Stopped Stopped Stopped
svsvc Spot Verifier Stopped Stopped Stopped Stopped
SSDPSRV SSDP Discovery Running Running Running Running
StateRepository State Repository Service Running Running Running Running
WiaRpc Still Image Acquisition Events Stopped Stopped Stopped Stopped
StorSvc Storage Service Stopped Stopped Running Running
TieringEngineSe… Storage Tiers Management Stopped Stopped Stopped
SysMain Superfetch Running Running Running Running
OneSyncSvc_4e094 Sync Host_4e094 Running Running Stopped
SENS System Event Notification Service Running Running Running Running
SystemEventsBroker System Events Broker Running Running Running Running
Schedule Task Scheduler Running Running Running Running
lmhosts TCP/IP NetBIOS Helper Running Running Running Running
TapiSrv Telephony Stopped Stopped Stopped Stopped
Themes Themes Running Running Running Running
tiledatamodelsvc Tile Data model server Running Running Running Running
TimeBrokerSvc Time Broker Running Running Running Running
TokenBroker TokenBroker Running Running
TabletInputService Touch Keyboard and Handwriting Pane… Stopped Stopped Stopped Running
UsoSvc Update Orchestrator Service Stopped Stopped Stopped Stopped
upnphost UPnP Device Host Stopped Stopped Stopped Stopped
UserDataSvc_4e094 User Data Access_4e094 Stopped Stopped Stopped
UnistoreSvc_4e094 User Data Storage_4e094 Stopped Stopped Stopped
UevAgentService User Experience Virtualization Service Stopped Stopped Stopped
UserManager User Manager Running Running Running Running
ProfSvc User Profile Service Running Running Running Running
vds Virtual Disk Stopped Stopped Stopped Stopped
VSS Volume Shadow Copy Stopped Stopped Stopped Stopped
WalletService WalletService Stopped Stopped Stopped Stopped
WarpJITSvc WarpJITSvc Stopped
WebClient WebClient Stopped Stopped Stopped Stopped
WFDSConMgrSvc Wi-Fi Direct Services Connection Ma… Stopped Stopped
Audiosrv Windows Audio Running Running Running Running
AudioEndpointBu… Windows Audio Endpoint Builder Running Running Running Running
SDRSVC Windows Backup Stopped Stopped Stopped Stopped
WbioSrvc Windows Biometric Service Stopped Stopped Stopped Stopped
FrameServer Windows Camera Frame Server Stopped Stopped Stopped Stopped
WcsPlugInService Windows Color System
wcncsvc Windows Connect Now – Config Registrar Stopped Stopped Stopped Stopped
Wcmsvc Windows Connection Manager Running Running Running Running
Sense Windows Defender Advanced Threat Pr… Stopped Stopped Stopped
WdNisSvc Windows Defender Antivirus Network … Running Running Running Running
WinDefend Windows Defender Antivirus Service Running Running Running Running
SecurityHealthS… Windows Defender Security Center Se… Running Running
wudfsvc Windows Driver Foundation – User-mo… Stopped Running Stopped
WEPHOSTSVC Windows Encryption Provider Host Se… Stopped Stopped Stopped Stopped
WerSvc Windows Error Reporting Service Stopped Stopped Stopped Stopped
Wecsvc Windows Event Collector Stopped Stopped Stopped Stopped
EventLog Windows Event Log Running Running Running Running
MpsSvc Windows Firewall Running Running Running Running
FontCache Windows Font Cache Service Running Running Running Running
stisvc Windows Image Acquisition (WIA) Stopped Stopped Stopped Stopped
wisvc Windows Insider Service Stopped Stopped Stopped
msiserver Windows Installer Stopped Stopped Stopped Stopped
LicenseManager Windows License Manager Service Stopped Stopped Running Running
Winmgmt Windows Management Instrumentation Running Running Running Running
WMPNetworkSvc Windows Media Player Network Sharin… Stopped Stopped Stopped Stopped
icssvc Windows Mobile Hotspot Service Stopped Stopped Stopped Stopped
TrustedInstaller Windows Modules Installer Stopped Stopped Stopped Stopped
spectrum Windows Perception Service Stopped Stopped
WpnService Windows Push Notifications System S… Stopped Running Running Stopped
WpnUserService_… Windows Push Notifications User Ser… Stopped Running Running
WinRM Windows Remote Management (WS-Manag… Stopped Stopped Stopped Stopped
WSearch Windows Search Running Running Running Running
WSService Windows Store Service (WSService) Stopped
W32Time Windows Time Running Running Running Running
wuauserv Windows Update Stopped Stopped Stopped Stopped
WinHttpAutoProx… WinHTTP Web Proxy Auto-Discovery Se… Running Running Running Running
dot3svc Wired AutoConfig Stopped Stopped Stopped Stopped
WlanSvc WLAN AutoConfig Stopped Stopped Stopped Stopped
wmiApSrv WMI Performance Adapter Stopped Stopped Stopped Stopped
workfolderssvc Work Folders Stopped Stopped Stopped Stopped
LanmanWorkstation Workstation Running Running Running Running
WwanSvc WWAN AutoConfig Stopped Stopped Stopped Stopped
XboxGipSvc Xbox Accessory Management Service Stopped Stopped
xbgm Xbox Game Monitoring Stopped Stopped
XblAuthManager Xbox Live Auth Manager Stopped Stopped Stopped Stopped
XblGameSave Xbox Live Game Save Stopped Stopped Stopped Stopped
XboxNetApiSvc Xbox Live Networking Service Stopped Stopped Stopped Stopped

Note: For Windows Search, consider leaving it active but change the index parameters to only include indexing of the Windows Start Menu.

Daniel (Follow on Twitter @djfeller)
Citrix XenApp and XenDesktop 7.6 VDI Handbook
XenApp Best Practices
XenApp Video

Advertisements

Windows 10 Optimization – Part 2 – Services


Note: New article on Services Optimization for VDI posted that includes the Anniversary (Build 1607) and Creator (Build 1703) updates. This post is only for the original (Build 1511) release.

In the Windows 10 Optimization – Part 1, I mostly focused on those applications which come pre-installed. Removing the apps shouldn’t help us get better server density, unless the users are spending all day watching videos or interacting with Xbox. Mostly, removing unneeded applications will create a cleaner image from which we can build our master image.

In this part, I want to take a closer look at Windows 10 services. Are there any that we can shut down to make the operating system consume less resources? Will it impact the experience? And while we are looking at services, let’s keep in mind our XenApp Best Practice

For the best combination of user experience and resource consumption, optimize appropriately

And maybe we should add “optimize responsibly” when it comes to services. The more you monkey with the services, the more likely you will experience application or user issues.

First, these services are running, by default, and can be stopped and disabled (Caution: Disabling these services can result in applications not working appropriately and will increase troubleshooting time).

Service Name Default State Default Status Notes
Background Intelligent Transfer Service Automatic (Delayed Start) Running Set default state to “Manual” as 3rd party software might require the service.
Diagnostic Policy Services Automatic Running
Diagnostic Service Host Manual Running
Diagnostic System Host Manual Running
Diagnostics Tracking Service Automatic Running
Function Discovery Provider Host Manual Running
Function Discovery Resource Publication Manual Running
Home Group Provider Manual (Trigger Start) Running Not used in VDI environment
Security Center Automatic (Delayed Start) Running
Shell Hardware Detection Service Automatic Running Supports AutoPlay, which is not typically used in VDI.
SSDP Discovery Manual Running Not typically used in corporate environments.
SuperFetch Automatic Running Can enable for dedicated desktops
Themes Automatic Running This will impact the user experience
Windows Connect Now – Config Registrar Service Manual Running Not required in VDI
Windows Search Automatic (Delayed Start) Running Consider disabling. Will have a high impact on server density.

Second, these services are not running, but they are set to Manual or Manual (Trigger Start). Although they are not running, disabling them will prevent their accidental execution in a VDI environment. (Caution: Disabling these services can result in applications not working appropriately and will increase troubleshooting time).

Service Name Default State Default Status Notes
AllJoyn Router Manual (Trigger Start) Stopped
Application Layer Gateway Service Manual Stopped Not needed for VDI environments.
BitLocker Drive Encryption Service Manual (Trigger Start) Stopped Drive encryption not typically used in VDI environments.
Block Level Backup Engine Service Manual Stopped Windows backup not typically used in VDI.
Bluetooth Hands free Service Manual (Trigger Start) Stopped Not typically used in VDI.
Bluetooth Support Service Manual (Trigger Start) Stopped
BranchCache Service Manual Stopped Used for network savings to a WAN and not typically needed in VDI
Computer Browser Service Manual (Trigger Start) Stopped
Encrypting File System Service Manual (Trigger Start) Stopped
Fax Service Manual Stopped
Home Group Listener Manual Stopped Not used within corporate environments.
Internet Connection Sharing (ICS) Manual Stopped Not used within VDI environments.
Offline Files Manual (Trigger Start) Stopped
Optimize Drives Manual Stopped Should only optimize in the master image
Retail Demo Manual Stopped
Sensor Monitoring Service Manual (Trigger Start) Stopped
UPnP Device Host Service Manual Stopped
Windows Error Reporting Service Manual (Trigger Start) Stopped Disable if logs are not being gathered and analyzed
Windows Media Player Network Sharing Manual Stopped Not typically used in VDI environments.
Windows Update Manual (Trigger Start) Stopped Only update the master image.
WLAN AutoConfig Manual Stopped Not typically used in VDI environments.
WWAN AutoConfig Manual Stopped Not typically used in VDI environments.
Xbox Live Auth Manager Manual Stopped Not typically used in VDI environments.
Xbox Live Game Save Manual Stopped Not typically used in VDI environments.
Xbox Live Networking Service Manual Stopped Not typically used in VDI environments.

IMPORTANT

If these services are disabled in the master image, it will be more difficult to effectively manage the master image. For example, if Windows Update is disabled in the master image, an administrator will be required to re-enable the Windows Update Service BEFORE trying to run Windows Update. The administrator will then have to remember to disable Windows Update when the update process is complete.

It is advisable to use a Group Policy to disable the services and apply the policy onto to the VDI-based desktop objects.

And remember our XenApp Best Practice:

For the best combination of user experience and resource consumption, optimize appropriately

If you are unsure about a service, LEAVE IT ALONE!

Note: The complete Windows 10 optimization blog series

Daniel ()
XenApp Best Practices
XenApp Videos


Windows 7 Migration at BriForum


What would you say if I were to tell you that migrating to a virtual desktop was no different than if you were going to migrate to Windows 7?  I’m being serious.  Migrating a user to a virtual desktop has many similarities to migrating a user to Windows 7 on a traditional desktop.  With a Windows 7 migration, we are concerned with hardware, operating system, applications, personalization, and more.  With a virtual desktop migration, we are focused on hardware, operating system, applications, personalization and more. Same focus areas. Interesting

Of course there are some differences. For example, regardless of the path you are taking, most organizations will create their “Corporate Desktop Image”. At its core, the standard desktop image would have similar configurations like removing games, disabling Media Center, adding anti-virus software, etc. This would be done if Windows 7 were on a traditional desktop or on a virtual desktop.  But on the virtual desktop we will likely do more. Continue reading Windows 7 Migration at BriForum