08 - Windows 11

Windows 11 Stuff

Windows 11 Application Update Strategy – Patch My PC, WinGet, and Microsoft Store

Category: Windows 11 / System Maintenance
Purpose: Automate updates for third-party Windows applications
Target Audience: Home users, power users, IT professionals
Date: 12/28/2025


Overview

Keeping third-party Windows applications up to date is critical for security, stability, and performance, but manually checking each vendor is inefficient and error prone.

Patch My PC Home Updater is a free, lightweight utility that automatically scans for outdated applications and updates them silently in the background. It complements Windows Update and Microsoft Store auto-updates by handling non-Store desktop applications.

This guide documents how to install, configure, and automate Patch My PC Home Updater on Windows 11.


What Patch My PC Home Updater Does

Patch My PC Home Updater focuses on third-party application patching, not Windows itself.

Key Capabilities

What It Does Not Do


Supported Application Types (Examples)

Patch My PC supports hundreds of popular applications, including:

Applications like Battle.net, Steam, Discord, and GPU drivers are intentionally excluded since they handle their own updates internally.


Installation

  1. Download Patch My PC Home Updater from the official site:
    https://patchmypc.com/home-updater

     

    image.png


  2. Run PatchMyPC.exe (run as administrator for best functionality)

  3. No installation wizard, no account, no ads

The application will immediately scan your system.

image.png


Initial Update Baseline

On first launch:

Click Perform Updates once to bring all supported apps fully up to date.
This establishes a clean baseline before enabling automation.

image.png


Open Settings (gear icon) and apply the following:

Safety Settings

Silent Operation

Cleanup

These settings ensure updates run quietly and safely in the background.


Application Selection

Under Settings → Applications:

This gives you granular control over what Patch My PC manages.


Automatic Scheduling (Core Feature)

Patch My PC uses Windows Task Scheduler for automation. 

  1. Go to Settings → Scheduling

  2. Enable Automatically update applications

  3. Recommended schedule:

    • Frequency: Weekly

    • Day: Sunday

    • Time: Early morning (e.g., 3:00 AM)

image.png

Once enabled, Patch My PC will run automatically without user interaction.


Verifying the Scheduled Task (Optional)

To confirm the task exists:

  1. Press Win + R

  2. Run:

    taskschd.msc

    image.png

  3. Navigate to:

    Task Scheduler Library → Patch My PC

    image.png


For broader application coverage, Patch My PC Home Updater pairs effectively with WinGet (Windows Package Manager). While Patch My PC focuses on common third-party desktop applications, WinGet excels at managing developer tools, command-line utilities, and Microsoft-maintained packages.

Right click start button > Run Terminal as administrator

image.png

WinGet Command

Run this once to create the folder, then run the WinGet command.

Create Folder

New-Item -Path "C:\Logs" -ItemType Directory -Force

image.png

Then run this command

winget upgrade --all

This will show everything happening in the terminal window:

image.png

Note Ubisoft connect failed because it sux and it probably needs a game to be launched before updating

To run silently and just record to the log file we can run this:

winget upgrade --all --silent --accept-package-agreements --accept-source-agreements >> C:\Logs\winget.log 2>&1

Optional (.ps1 script for better logging)

If you want the log to include timestamps and also capture errors cleanly:

Copy the code below in NPP and save as a .ps1 file

New-Item -Path "C:\Logs" -ItemType Directory -Force
"==== $(Get-Date) ====" | Out-File -FilePath "C:\Logs\winget.log" -Append -Encoding utf8
winget upgrade --all --silent --accept-package-agreements --accept-source-agreements 2>&1 | Out-File -FilePath "C:\Logs\winget.log" -Append -Encoding utf8

This command updates all supported WinGet-managed applications silently and is well-suited for automation through Task Scheduler and also provides a log file at C:\Logs\ for any errors.


Best Practice Update Coverage

A layered approach provides the most reliable results:

These tools operate independently, do not conflict, and together provide near-complete application update coverage on Windows 11.


Security & Reliability Notes


Final Notes

Patch My PC Home Updater significantly reduces manual maintenance while improving overall system security and reliability.

When combined with WinGet automation and Microsoft Store auto-updates, it creates a fully automated, low-maintenance application update strategy suitable for both home labs and professional Windows 11 environments.

Domain-Joined Windows 11 VM with Microsoft Edge Lockdown for Lab Use

Date: June 7, 2025
Category: Windows 11 / GPO / Domain Lab Hardening
Backlink: Bypassing TPM, Secure Boot, and Microsoft Account During Windows 11 VM Setup


Overview

This VM is domain-joined to library.local and intended to simulate a public-access or library-style machine for a generic user (libraryuser). Group Policy was used to lock down Microsoft Edge and restrict system-level access.


Environment


GPO Settings Applied

Control Panel & Program Access

Microsoft Edge Configuration

Edge Extensions & Downloads

Startup / Homepage Settings

Start Menu and Taskbar Restrictions

Ctrl+Alt+Del Restrictions


Results

Logging in as libraryuser now:


Next Steps

  1. Prevent Edge Settings Access

    • If not already enabled, locate:
      Prevent access to the settings page in Microsoft Edge
      → Set to Enabled

  2. Add AppLocker Rules

    • Restrict .exe launches outside of C:\Program Files and C:\Windows

  3. Enable SmartScreen & SafeSearch Policies

    • Protect against malicious or adult content

    • Optionally configure DNS-based content filtering (NextDNS/OpenDNS)

  4. Redirect Known Folders

    • Use Folder Redirection to isolate documents and desktop paths per user

  5. Add User Logoff Timer / Idle Policy

    • Use Task Scheduler or GPO to log off inactive users after X minutes

Bypassing TPM, Secure Boot, and Microsoft Account During Windows 11 VM Setup

Date: June 7, 2025
Category: Windows / Virtualization / Lab Setup
Purpose: Create Windows 11 VMs for a domain lab without being blocked by hardware checks or Microsoft Account requirements.


Background

When installing Windows 11 on VirtualBox or similar platforms, you may encounter the following issues:

This guide walks through bypassing both roadblocks for lab environments.


Requirements


Step 1: Bypass TPM, Secure Boot, and RAM Checks

  1. When you see a message like “This PC can’t run Windows 11,” press:

    Shift + F10

    to open Command Prompt.

  2. Type:

    regedit
  3. In Registry Editor, navigate to:

    HKEY_LOCAL_MACHINE\SYSTEM\Setup
  4. Right-click SetupNew > Key → name it:

    LabConfig
  5. Inside LabConfig, create the following DWORD (32-bit) Values:

    • BypassTPMCheck → 1 (Decimal)

    • BypassSecureBootCheck → 1 (Decimal)

    • BypassRAMCheck → 1 (Decimal)

  6. Close Regedit and the Command Prompt.

  7. Click Back then Next to retry setup.


Step 2: Bypass Microsoft Account Requirement

Once Windows setup asks you to connect to a network or sign in:

Option A: Use Bypass Command

  1. Press:

    Shift + F10
  2. Type:

    oobe\bypassnro
  3. The VM will reboot automatically.

  4. On reboot, choose:

    • “I don’t have internet” or

    • “Continue with limited setup”

  5. Create a local user account to complete setup.

Option B: Temporarily Disable Networking (Optional)

If oobe\bypassnro doesn’t show the offline setup:


Result

You now have a clean Windows 11 VM with:

Creating a PowerShell Backup Script for VPS Syncthing Folders

I'm using Robocopy to sync folders with logic to skip unchanged files.

# Define source and destination paths
$source1 = "C:\Users\aonat\BookStack-VPS-Backups"
$source2 = "C:\Users\aonat\Default Folder"
$destination = "E:\VPS-Backups"

# Ensure destination exists
if (!(Test-Path -Path $destination)) {
    New-Item -Path $destination -ItemType Directory
}

# Mirror BookStack-VPS-Backups
Robocopy $source1 "$destination\BookStack-VPS-Backups" /MIR /Z /FFT /XA:H /W:5 /R:3 /XO

# Mirror Default Folder
Robocopy $source2 "$destination\Default Folder" /MIR /Z /FFT /XA:H /W:5 /R:3 /XO

The only thing that is confusing in the script is all the logic trailing the Robocopy commands. Here is the breakdown of that:

I tested and made sure the script worked as intended:

2025-05-17 18_01_57-Administrator_ Windows PowerShell ISE.png

It indeed copied the folders and files I needed:

2025-05-17 18_23_57-1TB SSD (E_) and 1 more tab - File Explorer.png

2025-05-17 18_24_25-screenshots and 1 more tab - File Explorer.png

I then created a task in the Task Scheduler by doing Win + R and entering taskschd.msc

2025-05-17 18_02_46-Run.png

Create New Task:

2025-05-17 18_03_12-Task Scheduler.png

Under General Tab create a Name and check the 2 boxes below:

2025-05-17 18_04_10-Create Task.png

Under the Triggers tab click New, Begin Task at Logon, and for Any User:

2025-05-17 18_04_43-Create Task.png

2025-05-17 18_05_30-New Trigger.png

Under the Actions Tab, Click New > Start a Program > powershell.exe

2025-05-17 18_08_34-New Action.png

Add this argument script in the Add arguments section replacing the path to the script:

-NoProfile -ExecutionPolicy Bypass -File "C:\Path\To\backup-vps-folders.ps1"

2025-05-17 18_09_29-New Action.png

Under Settings do the following:

2025-05-17 18_10_26-Create Task.png

Click OK and then it will prompt you for your logon password:

2025-05-17 18_11_31-Task Scheduler.png

Once you enter that correctly this will run on logon and make sure you have another offsite backup out of Syncthing.

 

Resetting Network Adapters and TCP/IP Stack

To reset network adapters in Windows, you can use the Command Prompt with administrative privileges. Here's how:

1. Open Command Prompt as an administrator. You can do this by searching for "Command Prompt" in the Start menu, right-clicking on it, and selecting "Run as administrator."

2. In the Command Prompt window, type the following command and press Enter:

netsh winsock reset

This command resets the Winsock catalog to a clean state.

3. After executing the above command, restart your computer.

Additionally, if you want to reset TCP/IP stack, you can use the following command:

netsh int ip reset

Again, restart your computer after running this command. This will reset the TCP/IP stack back to its default settings.

After the restart, your network adapters should be reset, and any network connectivity issues you were experiencing may be resolved.

Disabling the default admin account in Windows 10/11

To disable the local administrator account in Windows, you can use either the Command Prompt or the Local Users and Groups manager. Here's how to do it using both methods:

Using Command Prompt
1.  Open Command Prompt as Administrator:
   - Right-click the Start button and select “Command Prompt (Admin)” or “Windows PowerShell (Admin)”.

2.  Disable the Administrator Account:
   - Type the following command and press Enter:

net user Administrator /active:no

   - This command disables the built-in Administrator account.

Using Local Users and Groups
1.  Open Local Users and Groups Manager:
   - Press `Win + R` to open the Run dialog.
   - Type `lusrmgr.msc` and press Enter.

2. Navigate to Users:
   - In the Local Users and Groups window, click on “Users” in the left panel.

3. Disable the Administrator Account:
   - Right-click the “Administrator” account in the center pane and select “Properties.”
   - Check the box “Account is disabled” in the Administrator Properties window.
   - Click “OK” or “Apply” to save the changes.

Both methods will effectively disable the local administrator account, enhancing the security of your Windows system.

20 things you can do with Win+R

The "Win + R" keyboard shortcut in Windows, which opens the "Run" dialog box, is a quick way to access various utilities, folders, and settings on your computer. Here are 20 useful things you can do with the "Win + R" command:

1. **msconfig** - Open System Configuration to manage startup settings and services.
2. **cmd** - Launch the Command Prompt.
3. **powershell** - Open Windows PowerShell for advanced command-line tasks.
4. **appwiz.cpl** - Access the Programs and Features pane to uninstall or change programs.
5. **ncpa.cpl** - Open Network Connections to manage network adapters.
6. **services.msc** - Open the Services manager to configure or disable system services.
7. **resmon** - Launch the Resource Monitor to view system resource usage.
8. **diskmgmt.msc** - Open Disk Management to manage disk partitions and volumes.
9. **devmgmt.msc** - Access Device Manager to manage hardware devices.
10. **sysdm.cpl** - Open System Properties for advanced system settings.
11. **regedit** - Launch the Registry Editor to modify the system registry.
12. **compmgmt.msc** - Access Computer Management for system tools, storage, and services.
13. **cleanmgr** - Launch Disk Cleanup to free up space on your drives.
14. **control** - Open the Control Panel.
15. **eventvwr.msc** - Access Event Viewer to view logs and system messages.
16. **mstsc** - Launch Remote Desktop Connection to connect to another computer.
17. **msinfo32** - Open System Information to view detailed system data.
18. **snippingtool** - Open the Snipping Tool to capture screenshots.
19. **explorer** - Open File Explorer.
20. **calc** - Launch the Calculator.

These commands can enhance your productivity by providing fast access to frequently used tools and settings.

Running Syncthing Automatically and Hidden on Log on.

Here are the steps to run Syncthing automatically on startup and hide the terminal window on Windows:

Create a Task in Task Scheduler:

Press `Win + R`, type `taskschd.msc`, and press Enter to open Task Scheduler.   

2024-06-13 00_06_18-Run.png
In the Task Scheduler, click on "Create Task..." in the right panel.

2024-06-13 00_07_18-C__Users_aonat_OneDrive_Desktop_screenshots_2024-06-13 00_06_18-Run.png - Greens.png

In the "General" tab, provide a name for the task (e.g., "Syncthing Autostart").
Select "Run whether user is logged on or not" and check "Do not store password" if you don't want to provide a password.
Check "Run with highest privileges".

2024-06-13 00_08_55-Create Task.png

Configure the Trigger:
Go to the "Triggers" tab and click on "New...".
Set the "Begin the task" dropdown to "At log on".
Click "OK".

2024-06-13 00_09_30-Create Task.png

2024-06-13 00_10_15-New Trigger.png

Configure the Action:
-Go to the "Actions" tab and click on "New...".
-Set "Action" to "Start a program".
-Click "Browse..." and navigate to the Syncthing executable (`syncthing.exe`).
-In the "Add arguments" field, add `-no-console -no-browser` to hide the terminal and prevent Syncthing from opening the web interface on startup.
-Click "OK".

2024-06-13 00_12_45-Edit Action.png

Set Conditions and Settings:

-Go to the "Conditions" tab. Ensure "Start the task only if the computer is on AC power" is unchecked if you want it to run on battery power as well.
-Go to the "Settings" tab and ensure "Allow task to be run on demand" is checked. You can also set other preferences as needed.

Finish and Test:
-Click "OK" to finish creating the task.
-You will be prompted to enter your user account password if you chose to run the task with highest privileges.
-To test it, right-click the task in the Task Scheduler library and select "Run".

This setup should start Syncthing automatically when you log in and keep the terminal window hidden.

Using Robocopy

Example of copying files from a drive on my local PC to the cloud share:

robocopy E:\Proxmox-Backups \\WIN-SRV-22\localcloud\Proxmox-Backups-Nate /ETA /E /V /TEE

Explanation of Options

Final Output:

2024-06-13 01_07_49-Enabling SSH in Ubuntu _ BookStack v24.02.2 — Mozilla Firefox.png

 

Windows Sysinternals Toolkit Walkthrough

Date: June 12th 2025
Category:
 Windows 11 Projects


Tools Installed

Installed via Chocolatey:

choco install sysinternals -y --ignore-checksums

Install location:
C:\ProgramData\chocolatey\lib\sysinternals\tools

Command-line access enabled for:

procexp
autoruns
procmon
tcpview

🔗 Official Microsoft page:
https://learn.microsoft.com/sysinternals


1. Process Explorer


2. Autoruns


3. Process Monitor (Procmon)


4. TCPView – Active Network Monitoring

Tool Summary:

Observations:

Process Remote Host/Service Notes
firefox.exe google.com (via 142.250.x.x) Normal browser activity
steam.exe valve.net, akamai.net, u2-puls.tech Related to Steam/Valve CDN
PowerPanel Internal kubernetes.docker.internal Local/VM bridge — normal
syncthing.exe u2-puls.tech / Docker bridges Syncthing sync traffic — expected

WHOIS Lookup: akamaitechnologies.com

TCPView revealed connections to domains like akamaistream.net, a known CDN subdomain.

WHOIS record for akamaitechnologies.com:

Field Value
Domain akamaitechnologies.com
Registrar MarkMonitor Inc.
Created August 18, 1998
Updated July 16, 2024
Expires August 17, 2025
DNS AX0.AKAMAISTREAM.NET, NS2-32.AKAMAISTREAM.NET, etc.
Status Protected (delete/transfer/update disabled)
Registrar Abuse abusecomplaints@markmonitor.com
Official Whois https://www.icann.org/wicf/

🔗 Akamai Official Site: https://www.akamai.com

Conclusion:


5. PowerShell Signature Verification

Command used:

Get-AuthenticodeSignature "C:\Path\To\File.exe"

Example:

Get-AuthenticodeSignature "C:\ProgramData\chocolatey\lib\sysinternals\tools\procexp.exe"

Reviewed:

There are tons of other tools for system analysis as well.