Uploaded February 2024 | Updated September 2026, 2 weeks ago
Liked my video? Buy me a cup of coffee!
youtube.com/channel/UCMz232hZ7fD75uGWhuLNjtA/join
Do let me know in the comment section, which of the step worked for you. So, that it can be helpful to other user's as well!
โ TIMESTAMPS
00:00 Intro
00:45 1. REPAIR OR RESET THE WINDOWS SECURITY APP
Windows 11 includes a useful repair tool for fixing app-related issues. You can use it to fix any common issues with the Windows Security app and see if that helps.
01:50 2. RESET THE WINDOWS SECURITY APP USING POWERSHELL
Several users on the Microsoft forums reported fixing issues with the Windows Security app by resetting it via PowerShell. You can also give this method a shot. Run the below command:
Get-AppxPackage Microsoft.SecHealthUI -AllUsers | Reset-AppxPackage
02:35 3. RESTART THE SECURITY CENTER SERVICE
Security Center service is a small program that monitors security settings on your computer. Typically, this service runs automatically every time your PC boots up. However, if the service has failed to start correctly for some reason, you might have trouble accessing the Windows Security app.
03:50 4. RUN THE SFC AND DISM SCANS
If youโre facing similar issues with other apps and programs as well, some system files on your PC may be damaged or missing.
SFC /scannow
DISM /Online /Cleanup-Image /CheckHealth
DISM /Online /Cleanup-Image /ScanHealth
DISM /Online /Cleanup-Image /RestoreHealth
05:10 5. UNINSTALL ANY THIRD-PARTY ANTIVIRUS PROGRAM
At times, third-party antivirus programs can also interfere with the Windows Security app and prevent it from opening on your Windows 11 PC. To avoid any conflicts, itโs best to disable or uninstall any third-party antivirus program.
06:10 6. PERFORM A CLEAN BOOT
Malicious third-party apps and services running on your PC can also disrupt Windows operations and cause such problems.
msconfig
Restart your PC to enter a clean boot state and try to open Windows Security again. If this solves your problem, look through any recently installed apps and programs and remove them.
To boot in normal mode again, follow the steps above to enable all startup apps and services, and restart your PC.
09:20 7. INSTALL WINDOWS UPDATES
Updates are crucial for any operating system and Windows is no exception. Aside from new features and security patches, these updates also carry important bug fixes. You can download and install any available updates and check if that resolves the issue.
10:10 8. ENABLE BACKGROUND APPS
Disabling background apps is a common method used by many Windows users to make their computer run faster. However, sometimes by mistake they disable Windows Security app from running in the background.
11:30 9. REBUILD WINDOWS APPS
In this method you will use Windows PowerShell commands to rebuild the Windows apps.
I have described two set of commands to rebuild all the apps in Windows. You have to follow one process among the two mentioned below. If you are unable to complete the first process, then try the second one.
9.a) First Process:
Set-ExecutionPolicy Unrestricted
Press 'A' and hit enter
Get-AppxPackage Microsoft.SecHealthUI -AllUsers | Reset-AppxPackage
9.b) Second Process:
Set-ExecutionPolicy Unrestricted
Press 'A' and hit enter
Get-AppxPackage -AllUsers | Foreach app: Add-AppxPackage -DisableDevelopmentMode -Register โ$($_InstallLocation)\AppXManifest.xml"
One of the two processes given above would surely work for you. After completion of the process, restart your computer for the changes to take effect.
13:55 10. PERFORM SYSTEM RESTORE
15:40 11. RESET YOUR PC
๐บ RELATED VIDEOS
Fix Windows:
youtube.com/playlist?list=PLnisUReSm0-mScTFJJlZX0Q_eh35AO68w
๐ฝ CONNECT WITH ME
- Facebook: fb.me/tanzTalks.tech
facebook.com/groups/769372597093758
- Instagram: instagram.com/tanztalks.tech
instagram.com/tanzeelosama
- LinkedIn: in.linkedin.com/in/tanzeelosama
๐ SUBSCRIBE ON YOUTUBE
youtube.com/@tanzTalks.tech2
youtube.com/@tanzTalkstech
๐ SUPPORT THE CHANNEL
- Hit the THANKS button in any video!
- Buy me a cup of coffee! youtube.com/@tanzTalkstech/join
More Tutorials for VMWare Player: youtube.com/playlist?list=PLnisUReSm0-ncHac3_ZAsE5g7nWy88Qta
Install macOS 13 Ventura on VMware Player: youtu.be/CeSqdrf1WOg
Windows Tips: youtube.com/playlist?list=PLnisUReSm0-n126_vs1cXCCGhyzLTIVvj
Windows 11 Tutorials: youtube.com/playlist?list=PLcf-JAvuIjm09yxBkz74i22C2hIneheyM
VirtualBox playlist: youtube.com/playlist?list=PLnisUReSm0-lwVz0CcHg9_NlMY-Vtqd8Y
#Windows #tanzTalkstech #TanzeelOsama #tanztalkstech2
Disclaimer: It is advised to create a system restore point or take a complete backup of your device before you follow any tutorials. All tutorials are verified ways to fix, customize, or fine-tune your devices, still, just in case, take a full backup
Liked my video? Buy me a cup of coffee!
youtube.com/channel/UCMz232hZ7fD75uGWhuLNjtA/join
Do let me know in the comment section, which of the step worked for you. So, that it can be helpful to other user's as well!
โ TIMESTAMPS
00:00 Intro
00:45 1. REPAIR OR RESET THE WINDOWS SECURITY APP
Windows 11 includes a useful repair tool for fixing app-related issues. You can use it to fix any common issues with the Windows Security app and see if that helps.
01:50 2. RESET THE WINDOWS SECURITY APP USING POWERSHELL
Several users on the Microsoft forums reported fixing issues with the Windows Security app by resetting it via PowerShell. You can also give this method a shot. Run the below command:
Get-AppxPackage Microsoft.SecHealthUI -AllUsers | Reset-AppxPackage
02:35 3. RESTART THE SECURITY CENTER SERVICE
Security Center service is a small program that monitors security settings on your computer. Typically, this service runs automatically every time your PC boots up. However, if the service has failed to start correctly for some reason, you might have trouble accessing the Windows Security app.
03:50 4. RUN THE SFC AND DISM SCANS
If youโre facing similar issues with other apps and programs as well, some system files on your PC may be damaged or missing.
SFC /scannow
DISM /Online /Cleanup-Image /CheckHealth
DISM /Online /Cleanup-Image /ScanHealth
DISM /Online /Cleanup-Image /RestoreHealth
05:10 5. UNINSTALL ANY THIRD-PARTY ANTIVIRUS PROGRAM
At times, third-party antivirus programs can also interfere with the Windows Security app and prevent it from opening on your Windows 11 PC. To avoid any conflicts, itโs best to disable or uninstall any third-party antivirus program.
06:10 6. PERFORM A CLEAN BOOT
Malicious third-party apps and services running on your PC can also disrupt Windows operations and cause such problems.
msconfig
Restart your PC to enter a clean boot state and try to open Windows Security again. If this solves your problem, look through any recently installed apps and programs and remove them.
To boot in normal mode again, follow the steps above to enable all startup apps and services, and restart your PC.
09:20 7. INSTALL WINDOWS UPDATES
Updates are crucial for any operating system and Windows is no exception. Aside from new features and security patches, these updates also carry important bug fixes. You can download and install any available updates and check if that resolves the issue.
10:10 8. ENABLE BACKGROUND APPS
Disabling background apps is a common method used by many Windows users to make their computer run faster. However, sometimes by mistake they disable Windows Security app from running in the background.
11:30 9. REBUILD WINDOWS APPS
In this method you will use Windows PowerShell commands to rebuild the Windows apps.
I have described two set of commands to rebuild all the apps in Windows. You have to follow one process among the two mentioned below. If you are unable to complete the first process, then try the second one.
9.a) First Process:
Set-ExecutionPolicy Unrestricted
Press 'A' and hit enter
Get-AppxPackage Microsoft.SecHealthUI -AllUsers | Reset-AppxPackage
9.b) Second Process:
Set-ExecutionPolicy Unrestricted
Press 'A' and hit enter
Get-AppxPackage -AllUsers | Foreach app: Add-AppxPackage -DisableDevelopmentMode -Register โ$($_InstallLocation)\AppXManifest.xml"
One of the two processes given above would surely work for you. After completion of the process, restart your computer for the changes to take effect.
13:55 10. PERFORM SYSTEM RESTORE
15:40 11. RESET YOUR PC
๐บ RELATED VIDEOS
Fix Windows:
youtube.com/playlist?list=PLnisUReSm0-mScTFJJlZX0Q_eh35AO68w
๐ฝ CONNECT WITH ME
- Facebook: fb.me/tanzTalks.tech
facebook.com/groups/769372597093758
- Instagram: instagram.com/tanztalks.tech
instagram.com/tanzeelosama
- LinkedIn: in.linkedin.com/in/tanzeelosama
๐ SUBSCRIBE ON YOUTUBE
youtube.com/@tanzTalks.tech2
youtube.com/@tanzTalkstech
๐ SUPPORT THE CHANNEL
- Hit the THANKS button in any video!
- Buy me a cup of coffee! youtube.com/@tanzTalkstech/join
More Tutorials for VMWare Player: youtube.com/playlist?list=PLnisUReSm0-ncHac3_ZAsE5g7nWy88Qta
Install macOS 13 Ventura on VMware Player: youtu.be/CeSqdrf1WOg
Windows Tips: youtube.com/playlist?list=PLnisUReSm0-n126_vs1cXCCGhyzLTIVvj
Windows 11 Tutorials: youtube.com/playlist?list=PLcf-JAvuIjm09yxBkz74i22C2hIneheyM
VirtualBox playlist: youtube.com/playlist?list=PLnisUReSm0-lwVz0CcHg9_NlMY-Vtqd8Y
#Windows #tanzTalkstech #TanzeelOsama #tanztalkstech2
Disclaimer: It is advised to create a system restore point or take a complete backup of your device before you follow any tutorials. All tutorials are verified ways to fix, customize, or fine-tune your devices, still, just in case, take a full backup
![How to edit Hosts file in Ubuntu | How to Block Websites in Linux using /etc/hosts file
Liked my video? ๐Buy me a cup of coffee! ๐ต
https://www.youtube.com/channel/UCMz232hZ7fD75uGWhuLNjtA/join
Hosts file is used to resolve domain names without using Domain Name System (DNS).
This means that whenever your computer tries to connect to the domain (say) www.facebook.com it will not request DNS for its IP address and instead consider 0.0.0.0 to be the IP address of www.facebook.com
127.0.0.1 is a special address, called loopback IP address and If any public switch, router, or gateway receives a packet addressed to the loopback IP address, it is required to drop the packet without logging the information.
So, we have made domain www.facebook.com unreachable in our example.
Click on like button if you liked the video.
Steps to block domains & subdomains using hosts file:
1. Once you have your hosts file open, enter a comment in your hosts file to organize your mappings of IP addresses to host names
2. To add a comment, make sure youre on a new line and type # followed by your comment details. The # symbol will tell your computer to ignore anything that comes after # on the same line
3. Next, again on a separate line, enter 0.0.0.0 and a space followed by your domain name or subdomain name (website address) to be blocked.
For example:
#Block Facebook
0.0.0.0 www.facebook.com
4. In the above example www.facebook.com (domain name) will be blocked by the hosts file. To save these entries, navigate to the top left hand corner to file, left click on it and left click on save.
5. Open up your browser and navigate to the website URL address you have just added to your hosts file. The blocked website will now be unreachable meaning that it has been blocked successfully.
โช
โช[Note] Ubuntu hosts file location:
etchosts
Ubuntu Tutorials: https://www.youtube.com/playlist?list=PLnisUReSm0-nc0N5IlO0QoJd78oBhlHoX
Bash Shell Scripting Tutorial: https://www.youtube.com/playlist?list=PLnisUReSm0-n4vwT7Dzjhw5Vjz32clx6N
Install Android Studio on Ubuntu 22.04 LTS | Android Studio on Ubuntu 22.04 LTS: https://youtu.be/hEdpm1PfvvM
Install Ubuntu on Windows 11 (WSL) | Windows Subsystem for Linux with GUI Support: https://youtu.be/NXJjutYp4x8
Reset Forgotten Ubuntu Linux Password on WSL | Debian, Kali, Linux Password Reset on WSL | Windows 11: https://youtu.be/oeXuxqR60Ns
Install Vim (Vi Improved) Text Editor on Ubuntu | Debian Linux: https://youtu.be/zr17y9YHopQ
Ubuntu 23.04 - Is it WORTH Making the Upgrade? Lets learn how to upgrade!: https://youtu.be/dj38ni4dOpA
Upgrade Ubuntu to Ubuntu 23.04 Lunar Lobster using Graphical User Interface | Using GUI: https://youtu.be/Q0xF4wrfA90
Edit Hosts file in Ubuntu | How to Block Websites in Linux using /etc/hosts file: https://youtu.be/z6RxqJzLaQY
More Tutorials for VMWare Workstation Player:
https://www.youtube.com/playlist?list=PLnisUReSm0-ncHac3_ZAsE5g7nWy88Qta
Install Microsoft Windows 11 on VMware Player: https://youtu.be/3HBSuoVOpt0
Make Windows 11 Full Screen in VMware Workstation Player: https://youtu.be/1XaPXGYMwTo
Install macOS 12 Monterey on VMware Player: https://youtu.be/WLMTAqZ_3xU
Install VMware Tools and Make macOS 12 Monterey Full Screen: https://youtu.be/pF4mwgiYIaY
Fix No Internet Connection in macOS 12 Monterey on VMware Player: https://youtu.be/S7yRdl-kAAg
Install macOS 13 Ventura on VMware Player: https://youtu.be/CeSqdrf1WOg
Install VMware Tools and Make macOS 13 Ventura Full Screen: https://youtu.be/WQdGIRFL8qw
Fix No Internet Connection in macOS 13 Ventura in VMware Player: https://youtu.be/i-DDDDiAmPw
Install Ubuntu 22.04 LTS on VMware Player: https://youtu.be/LvYaZMV-ZlY
Create Manual Snapshot in VMware Player: https://youtu.be/QOTJbtyu0XQ
Install Ubuntu 23.04 on VMware Workstation Player On Windows 11: https://youtu.be/St4UOkJVlMU
VMware Workstation/Pro very Slow on Windows 11 22H2 - VMware Technology Network VMTN
https://youtu.be/2cG7Cew_41A
More Tutorials on macOS: https://www.youtube.com/playlist?list=PLnisUReSm0-kC89Ml7Wm5kPdXvgbqndUp
Download and Install NodeJS, HomeBrew (Package Manager) and N (Version Manager) on macOS: https://youtu.be/O6MKC5TgQao
Install Oracle Java JDK and OpenJDK on macOS 13 Ventura: https://youtu.be/F5HTPakOdi4
My Gear:
MSI GL65 Leopard Gaming Laptop
Intel Core i7-10750H 2.6GHz, 10th Gen (6 Cores)
15.6 FHD (1920*1080), IPS-Level 144Hz
16GB DDR4 RAM, 2666Mhz
Nvidia GeForce RTX 2060, 6GB โGDDR6
256GB NVMe M.2 SSD + 1TB SATA 7200RPM HDD
Windows 11 Home, 64Bit
HD Webcam (720p at 30 fps)
Per Key RGB SteelSeries Keypad
#Ubuntu #Linux #tanztalkstech2 #tanzTalkstech #tanzeelosama @tanzTalks.tech2 @tanzTalkstech @TanzeelOAnsari How to edit Hosts file in Ubuntu | How to Block Websites in Linux using /etc/hosts file](https://i.ytimg.com/vi/z6RxqJzLaQY/mqdefault.jpg)