Windows OS Hub for SysAdmins
π Installing PowerShell Modules Offline (Without Internet Access) PowerShell modules can be installed online from the official PowerShell Gallery (https://www.powershellgallery.com/). using the PSGallery repository, which is enabled by default in Windows.β¦
βΆοΈ (Video): Using Offline PowerShell Repository in Disconnected Environments
https://www.youtube.com/watch?v=FwJ1wp7H4eY
https://www.youtube.com/watch?v=FwJ1wp7H4eY
YouTube
Installing PowerShell Modules without Internet (Offline) from NUPKG Package
# β How to Install PowerShell Modules in the Offline Windows Environment
There is a Windows 11 machine or Windows Server in a completely disconnected network (no internet, no direct access to PowerShell Gallery, firewalled systems or air-gapped setups).β¦
There is a Windows 11 machine or Windows Server in a completely disconnected network (no internet, no direct access to PowerShell Gallery, firewalled systems or air-gapped setups).β¦
π₯4π3β€2
π Viewing Active TCP Connections and Open Ports with PowerShell
As an alternative to the classic
πΉ View listening TCP ports:
πΉ Display TCP sessions with a specific local port:
πΉ Count the number of active TCP sessions.
πΉ Display the name of the process that is listening on a specific TCP port and the name of the user running the process:
πΉ The top 10 remote IP addresses, ordered by the number of active connections:
πΉ Continuous monitoring of connections to a specific port:
β The article covers these and other practical examples of using Get-NetTCPConnection to view active TCP sessions, enumerate open ports, and identify the processes responsible for network activity in Windows.
β‘οΈ Exploring the Powershell Alternative to NetStat: Get-NetTCPConnection & Get-NetUDPEndpoint
As an alternative to the classic
netstat CLI command, PowerShell provides the Get-NetTCPConnection cmdlet for viewing active TCP sessions and open ports and the Get-NetUDPEndpoint for UDP protocol endpoints.Unlike Netstat, which returns plain text that requires parsing with text filters, PowerShell returns structured objects. This makes it much easier to filter, sort, group, and automate the analysis of network connections with PowerShell pipelines πͺ.
πΉ View listening TCP ports:
Get-NetTCPConnection -State Listen
πΉ Display TCP sessions with a specific local port:
Get-NetTCPConnection -LocalPort 443 | Format-Table -AutoSize
πΉ Count the number of active TCP sessions.
(Get-NetTCPConnection -LocalPort 443 -State Established).Count
πΉ Display the name of the process that is listening on a specific TCP port and the name of the user running the process:
Get-Process -Id (Get-NetTCPConnection -LocalPort 8080).OwningProcess -IncludeUserName
πΉ The top 10 remote IP addresses, ordered by the number of active connections:
Get-NetTCPConnection -State Established |
Group-Object RemoteAddress |
Sort-Object Count -Descending |
Select-Object -First 10 Count, Name
πΉ Continuous monitoring of connections to a specific port:
while ($true) {
Clear-Host
Get-NetTCPConnection -LocalPort 443 -State Established
Start-Sleep -Seconds 5
}β The article covers these and other practical examples of using Get-NetTCPConnection to view active TCP sessions, enumerate open ports, and identify the processes responsible for network activity in Windows.
β‘οΈ Exploring the Powershell Alternative to NetStat: Get-NetTCPConnection & Get-NetUDPEndpoint
π5π₯4π4β€1π1
βοΈ Windows Sandbox: Built-in Sandboxed Environment in Windows 11
Windows 11 includes Windows Sandbox, a native feature utilizing containerization technology to operate a lightweight virtual machine within an isolated environment. The sandbox environment leverages a Dynamic Base Image that references the host's existing system files, thereby achieving significantly reduced disk space and resource consumption compared to traditional virtual machines.
β Windows Sandbox is ideal for running untrusted or unknown software, testing application behavior, and validating deployment scripts in a clean environment. A Hyper-V NAT virtual switch is automatically generated on the host system, permitting the Sandbox to access the network and the Internet.
β οΈ Any modifications made within the sandbox are discarded upon closure. Each time Windows Sandbox is launched, it initializes from a clean, pristine state.
To enable Windows Sandbox, run rhe following PowerShell command:
π The sandbox window behaves much like an RDP session. Clipboard redirection is supported, local folders can be mapped into the sandbox, and GPU acceleration can be enabled.
β Only one Windows Sandbox instance can run at a time. However, by using WSB configuration files, you can create multiple sandbox profiles with different settings and environments. The article includes a sample WSB configuration file and startup scripts for automatically installing WinGet and any other required applications upon sandbox launch.
Windows Sandbox in Windows 11: How to Enable and Configure It
Windows 11 includes Windows Sandbox, a native feature utilizing containerization technology to operate a lightweight virtual machine within an isolated environment. The sandbox environment leverages a Dynamic Base Image that references the host's existing system files, thereby achieving significantly reduced disk space and resource consumption compared to traditional virtual machines.
β Windows Sandbox is ideal for running untrusted or unknown software, testing application behavior, and validating deployment scripts in a clean environment. A Hyper-V NAT virtual switch is automatically generated on the host system, permitting the Sandbox to access the network and the Internet.
β οΈ Any modifications made within the sandbox are discarded upon closure. Each time Windows Sandbox is launched, it initializes from a clean, pristine state.
To enable Windows Sandbox, run rhe following PowerShell command:
Enable-WindowsOptionalFeature -FeatureName "Containers-DisposableClientVM" -Online
π The sandbox window behaves much like an RDP session. Clipboard redirection is supported, local folders can be mapped into the sandbox, and GPU acceleration can be enabled.
β Only one Windows Sandbox instance can run at a time. However, by using WSB configuration files, you can create multiple sandbox profiles with different settings and environments. The article includes a sample WSB configuration file and startup scripts for automatically installing WinGet and any other required applications upon sandbox launch.
Windows Sandbox in Windows 11: How to Enable and Configure It
π5π₯5β€4
Device Lockdown with Unified Write Filter (UWF) in Windows
π Unified Write Filter (UWF) is a built-in feature available in the Enterprise editions of Windows 10 and Windows 11 that can protect a protect a partition against write accesses and therefore unintentional system changes. When UWF is enabled, all changes to files and folders are redirected to a virtual overlay stored in RAM (or on disk). This works because the UWF driver intercepts all write operations to the file system and transparently redirects them to the overlay. Any changes made during a user session are discarded after a reboot when the overlay is cleared.
Add the UWF feature in Windows using PowerShell:
UWF is managed through the
Enable UWF protection and protect a volume from writes:
View the current UWF configuration and status:
You can add specific files, folders, or registry keys to the UWF exclusion list. Changes to these objects will persist across reboots:
If you need to permanently commit changes to a specific file without disabling UWF:
Disable UWF protection:
β UWF allows you to "freeze" the state of a Windows device while still permitting normal operation. Any files, settings, or changes made by users are automatically removed after a restart. Typical use cases include public kiosks, training labs, embedded systems, and shared computers that need protection from accidental misconfiguration or unwanted user changes.
Unified Write Filter (UWF): Disk Write Protection for Windows
π Unified Write Filter (UWF) is a built-in feature available in the Enterprise editions of Windows 10 and Windows 11 that can protect a protect a partition against write accesses and therefore unintentional system changes. When UWF is enabled, all changes to files and folders are redirected to a virtual overlay stored in RAM (or on disk). This works because the UWF driver intercepts all write operations to the file system and transparently redirects them to the overlay. Any changes made during a user session are discarded after a reboot when the overlay is cleared.
Add the UWF feature in Windows using PowerShell:
Enable-WindowsOptionalFeature -Online -FeatureName "Client-UnifiedWriteFilter" βAll
UWF is managed through the
uwfmgr.exe command-line tool.Enable UWF protection and protect a volume from writes:
uwfmgr.exe filter enable
uwfmgr.exe volume protect c:
View the current UWF configuration and status:
uwfmgr.exe get-config
You can add specific files, folders, or registry keys to the UWF exclusion list. Changes to these objects will persist across reboots:
Uwfmgr.exe file add-exclusion c:\labs\report.docx
If you need to permanently commit changes to a specific file without disabling UWF:
uwfmgr file commit C:\Labs\MyApp.log
Disable UWF protection:
uwfmgr.exe volume unprotect C:
uwfmgr.exe filter disable
The UWF is not suitable for continuous operation (24/7). The overlay will grow continually up to the maximum preset size even in excluded areas. If the overlay run full the system will automatically be restarted by Windows.
β UWF allows you to "freeze" the state of a Windows device while still permitting normal operation. Any files, settings, or changes made by users are automatically removed after a restart. Typical use cases include public kiosks, training labs, embedded systems, and shared computers that need protection from accidental misconfiguration or unwanted user changes.
Unified Write Filter (UWF): Disk Write Protection for Windows
β€3π₯3π2π1
To display the built-in help regarding available Store CLI options and command examples:
store
To list installed Microsoft Store applications:
store installed
To search for applications:
store search vlc
To find similar applications:
store similar telegram
To browse the most popular free applications in the Developer Tools category:
store browse-apps top-free --category "Developer Tools"
To find Microsoft Store applications capable of opening a specific file extension:
store extension PSD
To show detailed information regarding a specific application:
store show "Telegram Desktop"
To install a Store application directly from the terminal without opening graphical windows:
store install "Telegram Desktop"
Unlike the built-in WinGet package manager, Store CLI supports both free and paid Microsoft Store applications. It is also linked to the user's Microsoft account on the device.
While Store CLI is unlikely to become an essential everyday tool, it serves as a useful addition for power users and administrators who prefer managing Microsoft Store applications from the command prompt. It remains unclear why Microsoft introduced a separate utility rather than extending WinGet features, which already support the msstore repository as a package source.
Store CLI: A Command-Line Interface for Microsoft Store in Windows 11
Please open Telegram to view this post
VIEW IN TELEGRAM
π₯7β€4π3π€1π1
βοΈ iVentoy is a lightweight PXE deployment server that can be used to install virtually any operating system, whether Windows or Linux, from an ISO image over the network. It includes everything required for PXE booting (DHCP, TFTP, and NBD) in a single package. Compared to traditional enterprise OS deployment solutions, iVentoy is significantly simple to install and configure. It is available for both Windows and Linux.
πΉ Setup is straightforward: simply launch iVentoy on a machine and copy (or create symbolic links to) the ISO images you want to deploy into the iVentoy directory.
πΉ When iVentoy starts, it automatically opens its web management interface at
πΉ Once configured, any computer on the LAN configured to boot via PXE will receive a menu of available ISO images.
πΉ You can install an operating system directly from any ISO image stored in iVentoy directory or boot into a Live CD Environment.
πΉ With iVentoy, you can eliminate the need for bootable USB installation media when deploying operating systems. The free edition supports up to 20 concurrent PXE clients.
β Deploy and Boot Operating Systems from ISO Images over the Network with iVentoy
πΉ Setup is straightforward: simply launch iVentoy on a machine and copy (or create symbolic links to) the ISO images you want to deploy into the iVentoy directory.
πΉ When iVentoy starts, it automatically opens its web management interface at
http://127.0.0.1:26000, where you can configure basic server settings, including network parameters and the built-in DHCP service, or specify that an external DHCP server is being used.πΉ Once configured, any computer on the LAN configured to boot via PXE will receive a menu of available ISO images.
πΉ You can install an operating system directly from any ISO image stored in iVentoy directory or boot into a Live CD Environment.
πΉ With iVentoy, you can eliminate the need for bootable USB installation media when deploying operating systems. The free edition supports up to 20 concurrent PXE clients.
β Deploy and Boot Operating Systems from ISO Images over the Network with iVentoy
π₯9β€3π2π1
π‘ CrowdSec is often considered a modern, high-performance alternative to Fail2Ban for protecting servers against network attacks such as password brute-force attempts and port scanning. Although it is widely associated with Linux, CrowdSec also provides native support for Windows. A typical Windows deployment includes of two main components: the Security Engine, which analyzes logs, and the Windows Firewall Bouncer, which automatically blocks malicious IP addresses by changing Windows Defender Firewall rules.
Install the CrowdSec Security Engine, the Windows Firewall Bouncer, and the .NET 6 Desktop Runtime:
Enable auditing of failed logon attempts:
Run the services:
Verify that the crowdsecurity/windows collection is installed::
Also verify that the crowdsecurity/windows-bf detection scenario is enabled. This scenario detects password brute-force attacks by monitoring failed logon events in the Windows Event Log and supports RDP, SMB, and Outlook on the Web (OWA) authentication.
When CrowdSec detects a brute-force attack (by default, 5 failed logon attempts within 1 minute),the Windows Firewall Bouncer automatically creates a firewall rule named
View active blocking decisions:
View the history of detected attacks:
β Install CrowdSec on Windows: Step-by-Step Guide From Installation to Threat Blocking
π This article covers the simplest deployment scenario, in which all CrowdSec components, the log analyzer, Local API (LAPI), and Windows Firewall Bouncer, run on a single Windows host. With the default configuration, CrowdSec can already detect and block password brute-force attacks against common Windows services such as RDP and SMB.
Install the CrowdSec Security Engine, the Windows Firewall Bouncer, and the .NET 6 Desktop Runtime:
winget install CrowdSecurity.CrowdSec, CrowdSecurity.CrowdSecWindowsFirewallBouncer, Microsoft.DotNet.DesktopRuntime.6
Enable auditing of failed logon attempts:
secpol.msc βLocal Security Policy β Advanced Audit Policy Configuration β Audit Policies β Logon/Logoff β Audit Logon β Enable Failure events auditing.Run the services:
Get-Service Crowdsec, cs-windows-firewall-bouncer| Start-service -verbose
Verify that the crowdsecurity/windows collection is installed::
cscli collections list
Also verify that the crowdsecurity/windows-bf detection scenario is enabled. This scenario detects password brute-force attacks by monitoring failed logon events in the Windows Event Log and supports RDP, SMB, and Outlook on the Web (OWA) authentication.
When CrowdSec detects a brute-force attack (by default, 5 failed logon attempts within 1 minute),the Windows Firewall Bouncer automatically creates a firewall rule named
crowdsec-blocklist-<ID> and adds the attacker's IP address to it. By default, the IP address is blocked for 4 hours.View active blocking decisions:
cscli decisions list
View the history of detected attacks:
cscli alerts list
β Install CrowdSec on Windows: Step-by-Step Guide From Installation to Threat Blocking
π₯11β€4π3
π One of the most valuable, yet frequently overlooked, features of SMB file servers (whether Windows or Samba) is Access-Based Enumeration (ABE).
β When ABE is enabled for a shared folder, users can only see the files and subfolders for which they possess NTFS read permissions (at a minimum). All other files and folders are hidden from the shared folder view. This feature is particularly beneficial for large file shares containing departmental or project folders, ensuring users only view resources to which they are authorized to access.
πΉ Enable Access-Based Enumeration on a Windows file share using Server Manager or PowerShell:
πΉ On Samba, add the following option to smb.conf:
To also hide shares that users cannot access when browsing the network, enable:
β Learn how to hide files and folders for which users do not have permissions using Access-Based Enumeration (ABE) on Windows and Samba file servers.
https://woshub.com/enable-access-based-enumeration-in-windows-server/
β When ABE is enabled for a shared folder, users can only see the files and subfolders for which they possess NTFS read permissions (at a minimum). All other files and folders are hidden from the shared folder view. This feature is particularly beneficial for large file shares containing departmental or project folders, ensuring users only view resources to which they are authorized to access.
πΉ Enable Access-Based Enumeration on a Windows file share using Server Manager or PowerShell:
Get-SmbShare Public | Set-SmbShare -FolderEnumerationMode AccessBased
πΉ On Samba, add the following option to smb.conf:
hide unreadable = Yes
To also hide shares that users cannot access when browsing the network, enable:
access based share enum = Yes
β Learn how to hide files and folders for which users do not have permissions using Access-Based Enumeration (ABE) on Windows and Samba file servers.
https://woshub.com/enable-access-based-enumeration-in-windows-server/
β€6π5π₯2π1
πΆ Windows' built-in
List all saved WLAN profiles on a machine:
Export a specific WLAN profile to a directory (including the saved Wi-Fi password in plain text):
Export all saved WLAN profiles:
Each WLAN profile is saved as a separate XML file. You can copy the file to another computer and import it:
Or import all WLAN profiles from a directory using PowerShell:
β Export and Import Wi-Fi Profiles in Windows Using Netsh
netsh command can be used to export saved Wi-Fi (WLAN) profile configurations, including passwords, to XML files, which can then be imported on other computers. This is useful for backing up saved Wi-Fi networks, migrating clients to new devices or SSIDs, and deploying wireless profiles in advance without having to configure each machine manually.List all saved WLAN profiles on a machine:
netsh wlan show profile
Export a specific WLAN profile to a directory (including the saved Wi-Fi password in plain text):
netsh wlan export profile name="woshub" key=clear folder="C:\backup"
Export all saved WLAN profiles:
netsh wlan export profile folder=C:\backup key=clear
Each WLAN profile is saved as a separate XML file. You can copy the file to another computer and import it:
netsh wlan add profile filename="C:\backup\Wi-Fi-woshub.xml"
Or import all WLAN profiles from a directory using PowerShell:
Get-ChildItem C:\backup\ | foreach {$fname=$_.Fullname;netsh.exe wlan add profile filename=$fname}β Export and Import Wi-Fi Profiles in Windows Using Netsh
π₯7β€4π4
π₯ RemoteApp is a technology used to deliver apps installed on a Remote Desktop Session Host (RDSH) directly to a user's desktop through Remote Desktop Services (RDS). RemoteApp applications behave as if they are running locally on the client computer. Instead of displaying the entire remote desktop, only the published application's window is streamed to the client. The window can be resized, appears on the local desktop taskbar with its own icon, and provides a seamless user experience.
βΆοΈ A standard RemoteApp deployment requires Windows Server with the Remote Desktop Session Host role, along with an RDS Licensing Server and valid RDS CALs. However, it's also possible to run any app in RemoteApp mode on Windows 10 and Windows 11 desktop editions. This is particularly useful when you use RDP to access a remote PC for just one or two applications instead of an entire desktop session.
1οΈβ£ To enable the RemoteApp feature on desktop versions of Windows, enable the Allow remote start of unlisted programs policy, or create the registry value fAllowUnlistedRemotePrograms and set it to 1.
2οΈβ£ Then edit the *.RDP connection file and add the required RemoteApp parameters, specifying the path to the application you want to launch in RemoteApp mode.
β How to Run Any App in the RemoteApp Mode on Windows 11 Without a Windows Server
βΆοΈ A standard RemoteApp deployment requires Windows Server with the Remote Desktop Session Host role, along with an RDS Licensing Server and valid RDS CALs. However, it's also possible to run any app in RemoteApp mode on Windows 10 and Windows 11 desktop editions. This is particularly useful when you use RDP to access a remote PC for just one or two applications instead of an entire desktop session.
1οΈβ£ To enable the RemoteApp feature on desktop versions of Windows, enable the Allow remote start of unlisted programs policy, or create the registry value fAllowUnlistedRemotePrograms and set it to 1.
2οΈβ£ Then edit the *.RDP connection file and add the required RemoteApp parameters, specifying the path to the application you want to launch in RemoteApp mode.
remoteapplicationmode:i:1
RemoteApplicationName:s:Remote_Notepad
RemoteApplicationProgram:s:"%windir%\notepad.exe"
DisableRemoteAppCheck:i:1
Alternate Shell:s:rdpinit.exe
β How to Run Any App in the RemoteApp Mode on Windows 11 Without a Windows Server
π₯4β€3π2π1
π Windows Server Update Services (WSUS) is traditionally used in corporate networks for centralized deployment of security updates and patches for Microsoft products such as Windows and Office. However, user workstations also run many third-party applications (such as web browsers, PDF readers, archivers, and other tools) that require regular updates and patch management.
π¦ WSUS Package Publisher (WPP) is an open-source extension for WSUS that lets you create and publish custom update packages for virtually any thirdβparty apps, and deploy them through your existing WSUS infrastructure.
β In the article, we demonstrate how to create a custom WSUS update package for 7-Zip and centrally deploy it to user computers, including upgrading older versions, using the standard Windows Update mechanism.
β‘οΈ Deploying and Updating Third-Party Apps via Microsoft WSUS (Windows Server Update Services)
π¦ WSUS Package Publisher (WPP) is an open-source extension for WSUS that lets you create and publish custom update packages for virtually any thirdβparty apps, and deploy them through your existing WSUS infrastructure.
β In the article, we demonstrate how to create a custom WSUS update package for 7-Zip and centrally deploy it to user computers, including upgrading older versions, using the standard Windows Update mechanism.
By leveraging WSUS Package Publisher, organizations can extend their existing patch management process beyond Microsoft products without introducing additional deployment tools.
β‘οΈ Deploying and Updating Third-Party Apps via Microsoft WSUS (Windows Server Update Services)
π₯9β€3π1π1
π¨ A common issue with Windows Remote Desktop Services (RDS) hosts that have local printer redirection enabled is a large number of Inactive TS ports for redirected client printers that remain even after those clients disconnect. Over time, these orphaned print ports can degrade RDS Session Host performance, cause redirected printers to disappear from user sessions, and lead to other Print Spooler related issues. The problem is intermittent and is most noticeable on high load RDS hosts with a large number of concurrent user sessions (50+).
β Consider the following best practices to prevent printer-related issues on Windows terminal servers:
πΉ Redirect only the user's default printer into the RDP session (can be set via Group Policy). This significantly reduces the number of TS printer ports that are created.
πΉ Periodically remove inactive TS printer ports using a maintenance script.
πΉ Reboot the RDS Session Host to clear orphaned TS printer ports.
Cleaning Up Inactive TS Printer Ports on Windows RDS Servers
β Consider the following best practices to prevent printer-related issues on Windows terminal servers:
πΉ Redirect only the user's default printer into the RDP session (can be set via Group Policy). This significantly reduces the number of TS printer ports that are created.
πΉ Periodically remove inactive TS printer ports using a maintenance script.
πΉ Reboot the RDS Session Host to clear orphaned TS printer ports.
Cleaning Up Inactive TS Printer Ports on Windows RDS Servers
β€5π4π3
π¬ You can use the built-in MSG command to send a pop-up message to a user's desktop on a local or remote Windows computer. Specify the target host with the /server parameter and the message text.
β Send a message to a specific user:
β Show a pop-up notification to all active user sessions on the server:
β If you need a more customized pop-up notification solution, you can use a simple PowerShell script such as RemoteSendToastNotification.ps1 (available on GitHub) to show a rich toast notification with an icon or image on a remote Windows computer.
How to Send a Pop-Up Notification to a User with PowerShell
β Send a message to a specific user:
MSG k.fabian /server:MUN-SAP01 "Restart the SUPGUI client to apply the latest update!"β Show a pop-up notification to all active user sessions on the server:
MSG * /server:MUN-SAP01 "The server will be restarted in 10 minutes. Please save your work and close all documents "β If you need a more customized pop-up notification solution, you can use a simple PowerShell script such as RemoteSendToastNotification.ps1 (available on GitHub) to show a rich toast notification with an icon or image on a remote Windows computer.
How to Send a Pop-Up Notification to a User with PowerShell
π₯5β€4π4
π Windows indicates the current Internet connectivity status using both the network icon in the system tray and the information shown in the Network settings interface. This is a convenient visual indicator that allows users to quickly determine whether a device has Internet access.
The Network Connectivity Status Indicator (NCSI) is a dedicated Windows component responsible for performing network connectivity checks. It performs two simple tests:
β DNS connectivity check
Windows verifies that the DNS query for dns.msftncsi.com returns the expected IP address:
IPv4:
131.107.255.255IPv6:
fd3e:4f5a:5b81::1β HTTP connectivity check
If the DNS check fails, Windows additionally tests access to:
http://www.msftconnecttest.com/connecttest.txtThe service verifies that the text file is accessible and contains the expected string:
Microsoft Connect TestπThe target addresses and expected responses used by NCSI can be customized via the registry
HKLM\SYSTEM\CurrentControlSet\Services\NlaSvc\Parameters\InternetAvailable parameters include:
πΉ EnableActiveProbing : enables or disables NCSI Internet connectivity checks (
0 disables active probing)πΉ ActiveDnsProbeHost / ActiveDnsProbeHostV6 : DNS hostname used for connectivity testing
πΉ ActiveDnsProbeContent / ActiveDnsProbeContentV6 : expected IPv4 and IPv6 addresses returned by the DNS probe
πΉ ActiveWebProbeHost / ActiveWebProbeHostV6 : web servers used for HTTP connectivity checks (default:
www.msftconnecttest.com and ipv6.msftconnecttest.com)πΉ ActiveWebProbePath / ActiveWebProbePathV6 : path to the test file on the web server
(default:
connecttest.txt)πΉ ActiveWebProbeContent / ActiveWebProbeContentV6 : expected content of the HTTP response (default:
Microsoft Connect Test)βοΈ Administrators can override these registry values to redirect NCSI checks to internal corporate resources instead of external Microsoft endpoints, or completely disable active Internet connectivity testing for privacy and security reasons.
Corporate administrators can also configure a custom internal HTTP endpoint for NCSI checks, allowing them to log device activity (startup, shutdown, and connectivity status) through web server logs.
Windows Network Connectivity Check Explained: NCSI and Internet Access
π₯4β€2π1π₯°1
β Windows Safe Mode is a troubleshooting and recovery environment that loads the operating system with only the bare minimum of essential drivers and service, In this mode, Windows prevents third-party apps, services and drivers from startup when the computer boots up. Safe Mode is commonly used to remove software that cannot be uninstalled during a normal boot, or when Windows fails to start after installing incompatible software or drivers. Typical examples include antivirus software, firewalls, endpoint security agents, device management tools, and other enterprise applications.
β οΈ However, the Windows Installer service (
If you try to uninstall an application either via the Control Panel or by running its MSI source package, Windows displays the following error:
β To enable the Windows Installer (MSIServer) service in Safe Mode, create the appropriate registry entry.
πΉ If Windows is running in Safe Mode with Networking:
πΉ If Windows is started in standard Safe Mode (without networking):
Then start the Windows Installer service using the command:
Once the service is running, you can uninstall applications that depend on the Windows Installer service directly from Safe Mode.
β How to Enable the Windows Installer Service in Safe Mode
β οΈ However, the Windows Installer service (
MSIServer) is disabled by default in Safe Mode. This behavior is somewhat counterintuitive: although one of Safe Modeβs primary purposes is troubleshooting and recovery, it cannot natively uninstall MSIβbased apps.If you try to uninstall an application either via the Control Panel or by running its MSI source package, Windows displays the following error:
The Windows Installer Service is not accessible in Safe Mode.
Please try again when your computer is not in Safe Mode or you can use System Restore to return your machine to a previous good state.
β To enable the Windows Installer (MSIServer) service in Safe Mode, create the appropriate registry entry.
πΉ If Windows is running in Safe Mode with Networking:
REG ADD "HKLM\SYSTEM\CurrentControlSet\Control\SafeBoot\Network\MSIServer" /VE /T REG_SZ /F /D "Service"
πΉ If Windows is started in standard Safe Mode (without networking):
REG ADD "HKLM\SYSTEM\CurrentControlSet\Control\SafeBoot\Minimal\MSIServer" /VE /T REG_SZ /F /D "Service"
Then start the Windows Installer service using the command:
net start msiserver
Once the service is running, you can uninstall applications that depend on the Windows Installer service directly from Safe Mode.
β How to Enable the Windows Installer Service in Safe Mode
π₯9π5β€2
π This is a 'classic' Windows admin trick for resetting a local administrator password or regaining administrative privileges when the password has been lost or forgotten.
1οΈβ£ Boot the computer into WinRE or from any Windows installation USB drive.
2οΈβ£ Open a Command Prompt by pressing
3οΈβ£ Use
4οΈβ£ Back up utilman.exe:
Then replace it with cmd.exe:
5οΈβ£ Restart the computer:
6οΈβ£ At the Windows sign-in screen, click the Accessibility (Ease of Access) icon in the lower-right corner.
7οΈβ£ Instead of the accessibility tools, a
8οΈβ£ From this elevated command prompt, you can perform local account recovery tasks, for example:
Reset the password of a local user:
Re-enable a disabled account:
Create a new local admin account:
9οΈβ£ After confirming that you can successfully sign in, boot back into WinRE or the installation media and restore the original utilman.exe file:
π How to Reset a Forgotten Local Admin Password in Windows
Note: This method requires physical access to the computer and the ability to boot into the Windows Recovery Environment (WinRE) or from Windows installation media. It should only be used on systems you own or are authorized to administer.
1οΈβ£ Boot the computer into WinRE or from any Windows installation USB drive.
2οΈβ£ Open a Command Prompt by pressing
Shift+F10.3οΈβ£ Use
DiskPart to identify the drive letter assigned to the partition containing the Windows installation.4οΈβ£ Back up utilman.exe:
copy C:\Windows\System32\utilman.exe C:\Windows\System32\utilman.exe.bakThen replace it with cmd.exe:
copy C:\Windows\System32\cmd.exe C:\Windows\System32\utilman.exe /y5οΈβ£ Restart the computer:
wpeutil reboot6οΈβ£ At the Windows sign-in screen, click the Accessibility (Ease of Access) icon in the lower-right corner.
7οΈβ£ Instead of the accessibility tools, a
Command Prompt will open with NT AUTHORITY\SYSTEM privileges.8οΈβ£ From this elevated command prompt, you can perform local account recovery tasks, for example:
Reset the password of a local user:
net user localadm *Re-enable a disabled account:
net user localadm /active:yesCreate a new local admin account:
net user newlocadm /add *net localgroup Administrators newlocadm /add9οΈβ£ After confirming that you can successfully sign in, boot back into WinRE or the installation media and restore the original utilman.exe file:
copy C:\Windows\System32\utilman.exe.bak C:\Windows\System32\utilman.exe /yβ This is a well-known recovery technique that provides a SYSTEM command prompt directly from the Windows sign-in screen without requiring authentication. Besides resetting local account passwords, it can also be used to re-enable administrator accounts, create a new local administrator, or perform offline recovery tasks such as disabling problematic services, removing incompatible software, resetting GPO settings, or reverting configuration changes that prevent Windows from booting normally.
π How to Reset a Forgotten Local Admin Password in Windows
π8π₯6β€2π2
π»Today is the 27th annual SysAdmin Day, making it the perfect time to recognize and appreciate the people who keep your infrastructure stable, secure, and running smoothly! π
Maintaining a secure network, keeping systems running, assisting with user issues, and putting out IT βfiresβ is not an easy job, so take a moment today to thank your SysAdmin and IT teams for everything they do. π
Happy SysAdmin Day!
#SysAdminDay
Maintaining a secure network, keeping systems running, assisting with user issues, and putting out IT βfiresβ is not an easy job, so take a moment today to thank your SysAdmin and IT teams for everything they do. π
Happy SysAdmin Day!
#SysAdminDay
β€14π12π₯3π2
π¨ There is no need to connect to the user's desktop to perform typical printer management tasks on Windows computers. Most of the operations can be performed remotely using
π± For example, installing a new network printer in a remote PowerShell session:
πΉ Connect to the user's computer via PowerShell Remoting (WinRM):
πΉ Add the printer driver package to the driver store:
πΉ Install the printer driver:
πΉ Create a TCP/IP printer port for the network printer:
πΉ Create the printer:
β How to Install, Add, Remove and Manage Printers with PowerShell
PowerShell.π± For example, installing a new network printer in a remote PowerShell session:
πΉ Connect to the user's computer via PowerShell Remoting (WinRM):
Enter-PSSession -ComputerName Comp123πΉ Add the printer driver package to the driver store:
pnputil.exe -i -a "\\fs01\Drivers\Kyocera\OEMsetup.inf" πΉ Install the printer driver:
Add-PrinterDriver -Name "Kyocera Classic UniversalDriver PCL6"πΉ Create a TCP/IP printer port for the network printer:
Add-PrinterPort -Name "IP_192.168.100.16" -PrinterHostAddress "192.168.100.16"πΉ Create the printer:
Add-Printer -Name "Ricoh M2540" -DriverName "Kyocera Classic UniversalDriver PCL6" -PortName "IP_192.168.100.16" -Verbose β How to Install, Add, Remove and Manage Printers with PowerShell
π3π3β€2π₯2
β οΈ Following the July 2026 Patch Tuesday, many administrators reported a dramatic increase in WSUS synchronization times, synchronization timeouts, and higher IIS resource utilization.
βοΈ Microsoft has already resolved the issue on the update service side, meaning that newly deployed WSUS servers are not affected. However, any existing WSUS servers that have synchronized invalid metadata must be cleaned up manually. The complete remediation procedure is explained in KB5121986.
β Recommended remediation steps:
1οΈβ£ Connect to the SUSDB database using SQL Server Management Studio (SSMS).
2οΈβ£ Backup the WSUS database.
3οΈβ£ Temporarily remove the MaxXMLPerRequest limit:
This removes the default 5 MB limit on the XML metadata that clients can retrieve from WSUS in a single request.
4οΈβ£ Execute the
5οΈβ£ Restore the original MaxXMLPerRequest value:
6οΈβ£ Restart the
7οΈβ£ If necessary, rebuild the SUSDB indexes and run the WSUS Server Cleanup Wizard.
β Microsoft recommends performing this procedure on all WSUS servers in your environment, including upstream and downstream servers and any replicas that have synchronized the metadata.
The root cause was Microsoft's accidental publication of a large number of test Detectoid objects into the WSUS update catalog. The resulting spike in update metadata significantly increased the time required to synchronize and process the catalog. Windows clients may also experience Windows Update errors such as 0x80244010 (WU_E_PT_EXCEEDED_MAX_SERVER_TRIPS), 0x80244022, 0x80072EE2, HTTP 503, and other update scan failures.
βοΈ Microsoft has already resolved the issue on the update service side, meaning that newly deployed WSUS servers are not affected. However, any existing WSUS servers that have synchronized invalid metadata must be cleaned up manually. The complete remediation procedure is explained in KB5121986.
β Recommended remediation steps:
1οΈβ£ Connect to the SUSDB database using SQL Server Management Studio (SSMS).
2οΈβ£ Backup the WSUS database.
3οΈβ£ Temporarily remove the MaxXMLPerRequest limit:
UPDATE tbConfigurationC SET MaxXMLPerRequest = 0;This removes the default 5 MB limit on the XML metadata that clients can retrieve from WSUS in a single request.
4οΈβ£ Execute the
SQL cleanup script published in KB5121986 to remove the incorrectly published Detectoid objects.5οΈβ£ Restore the original MaxXMLPerRequest value:
UPDATE tbConfigurationC SET MaxXMLPerRequest = 5242880;6οΈβ£ Restart the
WsusPool application pool or restart IIS (iisreset)7οΈβ£ If necessary, rebuild the SUSDB indexes and run the WSUS Server Cleanup Wizard.
β Microsoft recommends performing this procedure on all WSUS servers in your environment, including upstream and downstream servers and any replicas that have synchronized the metadata.
Windows OS Hub
0x80244010 Exceeded Max Server Round Trips: Windows Update Error | Windows OS Hub
After deploying a new WSUS server on our corporate network, many Windows clients were unable to receive updates from the server with the error 0x80244010. It turns out that thisβ¦
π₯4β€2π2
Windows OS Hub for SysAdmins
π‘Secure Boot is a UEFI security feature that is designed to prevent the execution of unsigned or malicious code before the operating system is initialized. The certificates used in the Secure Boot trust chain (Microsoft Corporation UEFI CA 2011) were issuedβ¦
βοΈ Following the widespread rollout of the Windows UEFI CA 2023 Secure Boot certificates, administrators have started encountering an unexpected issue on some devices.
β οΈ After the CMOS battery went flat (vacation season strikes again π€·), a UEFI firmware update or a BIOS/UEFI reset, Windows may fail to boot on certain laptop models with the following error:
The issue occurs because the current Windows bootloader is signed with the Windows UEFI CA 2023 certificate, while the certificate itself is missing from the UEFI firmware's Secure Boot trusted certs database (db) after the firmware settings have been reset.
π In this article, we cover how to diagnose and resolve the issue:
πΉ Verify whether the Windows UEFI CA 2023 certificates are present in the Secure Boot database.
πΉ Check which certificate was used to sign the Windows bootloader (
πΉ Use Microsoft's official Secure Boot Recovery tool (
πΉ Learn how to prepare a bootable USB drive containing SecureBootRecovery.efi to perform an offline Secure Boot certificate update.
β Recovering Windows UEFI CA 2023 Secure Boot Certificates After a UEFI Reset
https://woshub.com/fix-invalid-signature-detected-check-secure-boot-policy
β οΈ After the CMOS battery went flat (vacation season strikes again π€·), a UEFI firmware update or a BIOS/UEFI reset, Windows may fail to boot on certain laptop models with the following error:
Secure Boot Violation
Invalid Signature Detected. Check Secure Boot Policy in Setup.
The issue occurs because the current Windows bootloader is signed with the Windows UEFI CA 2023 certificate, while the certificate itself is missing from the UEFI firmware's Secure Boot trusted certs database (db) after the firmware settings have been reset.
π In this article, we cover how to diagnose and resolve the issue:
πΉ Verify whether the Windows UEFI CA 2023 certificates are present in the Secure Boot database.
πΉ Check which certificate was used to sign the Windows bootloader (
bootmgfw.efi).πΉ Use Microsoft's official Secure Boot Recovery tool (
SecureBootRecovery.efi) to install the Windows UEFI CA 2023 certificates to the Secure Boot db stored in the motherboard's UEFI NVRAM.πΉ Learn how to prepare a bootable USB drive containing SecureBootRecovery.efi to perform an offline Secure Boot certificate update.
β Recovering Windows UEFI CA 2023 Secure Boot Certificates After a UEFI Reset
https://woshub.com/fix-invalid-signature-detected-check-secure-boot-policy
π₯7π2β€1π1