Windows Services�Windows 11 and Server 2022�Manage-Configure-Troubleshoot
TECH SAVVY PRODUCTIONS
Created by:
Lowell Vanderpool & Nathan Vanderpool
Compare Win11 vs Server 2022
2
Installed services are not all running!
3
What are services?
4
Run: msconfig
5
Services.exe: Service Control Manager
6
GUI interface to services.exe
7
8
9
PsService
10
Services:
11
Services and Sessions in XP
12
Services and Sessions after Vista
13
Windows Sessions
14
Services cannot directly interact with a user due to separate sessions
Services need accounts to run
Service accounts are a special type of non-human privileged account used to execute applications and run automated services, virtual machine instances, and other processes.
15
16
17
System account
18
Special accounts run services
19
20
My anti-virus service
21
22
SCM can modify Local System with Network restricted rights
Special accounts run services
23
24
Special accounts run services
25
26
27
SCM can modify Local Service with NoNetwork rights
28
Windows service accounts are one of the preferred attack surface for privilege escalation.
If you are able to compromise such an account, it is quite easy to get the highest privileges, mainly due to the powerful impersonation privileges that are granted by default to services by the operating system.
Managed Service Accounts
29
30
gMSA accounts are critical to applications like:
Exchange
SQL
Web-Servers
Containers
Svchost.exe
Why are so many services running under that same executable?
31
Svchost.exe
32
33
Svchost.exe Windows 11/10
34
x86 and x64 Services?
35
x64 Services and x32 Services
36
Where are services in the Registry?
37
Regedit: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services
38
Services can have complex
interrelationships
39
Dependencies
40
41
42
Service Dependencies on a single host
Troubleshooting services can be challenging!
43
Startup Type
44
Services Recovery
Administrators can modify how they want the operating system to handle service failures.
45
Recovery settings for Server Applications
46
Monitoring Services
47
Can I turn any application into a Windows Service?
Yes / No
48
Can you Yes, should you ????
49
Troubleshooting Services
Start with 3rd party
50
Troubleshooting Services
51
52
Using Event logs to Troubleshoot services
53
Services fail often due to:
54
DISM repair system files
55
56
57
58
CBS.log
Fixing *.dll files
59
60
This video series is a comprehensive study using powerful tools to lift the hood of the Windows Operating System and allow the tech to understand and troubleshoot applications and services.
We will cover how to use Process Explorer, Process Hacker and many other Sysinternal tools but most importantly we will discover how Windows really works and how we can understand our applications and effectively troubleshoot problems. From your PC/laptop to servers this understanding is critical to every IT professional. �
TECHSAVVYPRODUCTIONS.COM
Day 1: Troubleshooting Windows Applications. What is a process and What are threads?
YouTube: https://youtu.be/H1eN5kGJ5oc
61
This video series is a comprehensive study using powerful tools to lift the hood of the Windows Operating System and allow the tech to understand and troubleshoot applications and services. We will dive into process types and how our tools categorize processes.
We will cover how to use Process Explorer, Process Hacker, and many other Sysinternal tools but most importantly we will discover how Windows really works and how we can understand our applications and effectively troubleshoot problems. From your PC/laptop to servers this understanding is critical to every IT professional.�
TECHSAVVYPRODUCTIONS.COM
Day 2: Troubleshooting Windows Applications. Types of Applications and Processes.
YouTube: https://youtu.be/My-n26Xl7ok
62
This video series is a comprehensive study using powerful tools to lift the hood of the Windows Operating System and allow the tech to understand and troubleshoot applications and services. Keep a good attitude! We will dive into powerful features of Process Explorer and in doing so learn more about processes, process states and a better understanding of how programs run in RAM and the page file.
We will cover how to use Process Explorer, Process Hacker and many other Sysinternal tools but most importantly we will discover how Windows really works and how we can understand our applications and effectively troubleshoot problems. From your PC/laptop to servers this understanding is critical to every IT professional. �
TECHSAVVYPRODUCTIONS.COM
Day 3: Troubleshooting Windows Applications: Process States
YouTube: https://youtu.be/g68UQCId4uQ
63
We will look at Process Explorer Metrics, understanding these values, and how to apply them to analyzing and troubleshooting applications. Why context delta is such an important metric to use in analyzing processes. This video series is a comprehensive study using powerful tools to lift the hood of the Windows Operating System and allow the tech to understand and troubleshoot applications and services. We will dive into powerful features of Process Explorer and in doing so learn more about processes, process states, and a better understanding of how programs run in RAM and the page file.
We will cover how to use Process Explorer, Process Hacker, and many other Sysinternal tools but most importantly we will discover how Windows really works and how we can understand our applications and effectively troubleshoot problems. From your PC/laptop to servers this understanding is critical to every IT professional.
TECHSAVVYPRODUCTIONS.COM
Day 4: Process Explorer Metrics and Troubleshooting Windows Applications
YouTube: https://youtu.be/0_stNrjBv9k
64
A quick look at the Windows 11 Microsoft store and the promises of Microsoft. Why do Windows Apps have such tight security? How to identify Windows Apps in Process Explorer. How do we run 32-bit apps in an x64 operating system? A look at the framework for Windows Apps. Android apps and how they will work in Windows 11. A peek at Windows 11 and ARM. This video series is a comprehensive study using powerful tools to lift the hood of the Windows Operating System and allow the tech to understand and troubleshoot applications and services. We will dive into powerful features of Process Explorer and in doing so learn more about processes, process states, and a better understanding of how programs run in RAM and the page file.
We will cover how to use Process Explorer, Process Hacker, and many other Sysinternal tools but most importantly we will discover how Windows really works and how we can understand our applications and effectively troubleshoot problems. From your PC/laptop to servers this understanding is critical to every IT professional.
TECHSAVVYPRODUCTIONS.COM
Day 5: A Look at Microsoft Store Apps and Why we don’t Troubleshoot them!
YouTube: https://youtu.be/UvOjmOXUU5I
65
How Microsoft is developing frameworks allowing Linux GUI applications to run with the Windows Subsystem for Linux. My favorite 3rd party Windows application support tools. Understanding the importance of processes and why all operating systems use them. How all processes use IPC or Interprocess communication protocols to share and communicate with each other. What are handles? This video series is a comprehensive study using powerful tools to lift the hood of the Windows Operating System and allow the tech to understand and troubleshoot applications and services. Keep a good attitude!
We will dive into powerful features of Process Explorer and in doing so learn more about processes, process states and a better understanding of how programs run in RAM and the page file. We will cover how to use Process Explorer, Process Hacker and many other Sysinternal tools but most importantly we will discover how Windows really works and how we can understand our applications and effectively troubleshoot problems. From your PC/laptop to servers this understanding is critical to every IT professional.�
TECHSAVVYPRODUCTIONS.COM
Day 6: Linux GUI Applications are coming to Windows
YouTube: https://youtu.be/FikZ0tiovS8
66
What are Dynamic Link Libraries or *.dll files. Why are they so critical to Windows and Windows Applications? Learn who can execute *.dll files. Why is ntdll.dll one of the most critical DLL files in Windows? A look at application memory, private bytes, working set and page faults. The basics of application troubleshooting. This video series is a comprehensive study using powerful tools to lift the hood of the Windows Operating System and allow the tech to understand and troubleshoot applications and services. Keep a good attitude! We will dive into powerful features of Process Explorer and in doing so learn more about processes, process states and a better understanding of how programs run in RAM and the page file.
TECHSAVVYPRODUCTIONS.COM
Day 7: Understanding Application *.DLL files
YouTube: https://youtu.be/_EFcQJC-lWQ
67
A technical comparison between Windows 11 and Server 2022. A look at over 200 services on Windows 11 and why server has so few. A review of Server Core and the importance of server hardware. Why Windows Server operating systems are stable and reliable compared to laptops and desktops running Windows clients? Why Azure makes sense for many companies looking to expand their Windows environment. What are server roles and features?
TECHSAVVYPRODUCTIONS.COM
Comparing Windows 11 vs Windows Server 2022
YouTube: https://youtu.be/qSSPBXuHhd0
SOCIAL MEDIA
CREDITS
68
Become a member
69
Check out our website: �https://www.techsavvyproductions.com
70
Want an easy and free way to support this Channel?�Please Subscribe!�80% of the individuals who watch our content do not subscribe.�
71
We have subtitles for the following languages:
We translate subtitles on our videos into the following languages: عربى, българскиB, 简体中文), 中國傳統的), Nederlands, Suomalainen, Pilipino, français, Deutsche, हिंदी , Magyar, bahasa Indonesia, 日本語, 한국어, norsk, Polskie, português, Română, русский, Española, Kiswahili, Svenska, and Tiếng Việt
72
�A BIG THANK YOU TO ALL OF OUR VIEWERS AND SUBSCRIBERS!�
73