Deploys UniFi OS Server in a Podman container on Debian.
- Debian 12 or 13
- Root access
| #Requires -RunAsAdministrator | |
| Clear-Host | |
| Write-Host "=== Sysprep Fix ===" -ForegroundColor Cyan | |
| Write-Host "" | |
| # -- Registry fixes --- | |
| Write-Host "" | |
| Write-Host "Applying registry fixes..." -ForegroundColor Yellow | |
| reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform" /v SkipRearm /t REG_DWORD /d 1 /f |
This script has moved to https://github.com/asheroto/UniFiOSServer-AutoStart
A simple PowerShell script to reliably control monitor/display state.
This uses the same method as when a computer display times out through normal power settings. Unlike tools like ControlMyMonitor that change monitor hardware settings and actually power off the monitor, this script uses Windows messaging to place displays into standby (not a full power-off) and runs entirely in PowerShell with no external dependencies. You can wake the screens manually by moving the mouse or pressing a key and allowing a few seconds for them to resume, or wake them remotely through the script.
Use -TurnOff to put displays into standby, or -TurnOn to wake them.
| #Requires -RunAsAdministrator | |
| <# | |
| .SYNOPSIS | |
| Force removes Webroot SecureAnywhere remnants. | |
| .DESCRIPTION | |
| Designed to be run in Safe Mode. Performs process termination, uninstall attempt, | |
| service removal, registry cleanup, and filesystem cleanup with existence checks. | |
| #> |
Warning
The UniFi Network Application is no longer supported by Ubiquiti. Migration to UniFi OS Server is recommended. See this script for user account setup and automatic startup.
The controller will run fine using the built-in java.exe included with the UniFi software, so no additional installation is required for basic functionality. However, Ubiquiti recommends using Adoptium due to Oracle Java licensing concerns and to stay current with supported versions.
If you choose to follow that recommendation instead of using the bundled Java, refer to the official guide to determine the correct Java version for your UniFi release. If using Adoptium, update the path to java.exe to match your installed version (the
Restoring files from an image-based backup or offline drives of a OneDrive folder can result in files appearing corrupted or inaccessible. This issue is often due to OneDrive's Files On-Demand feature, which stores placeholder files instead of the actual data locally. Additionally, even when files are fully downloaded, they may retain reparse point attributes that can prevent the files from opening correctly.
This problem can occur with image-based backup solutions or when restoring files from offline drives if the backup includes placeholders instead of the actual file data. The following software are examples of those which may be impacted.
This PowerShell script is designed to remove and block Webroot's Web Threat Shield browser extension from Chrome and Edge.
Note: This script does not support Firefox. It specifically targets only Chrome and Edge.
When you disable Web Threat Shield within Webroot, the extension may remain installed in users' browsers. Additionally, even if you manually remove the extension, Webroot may attempt to reinstall it.
This script uses simple and safe registry modifications to remove and block the installation of the extension without requiring a browser or system restart. The browser remains open during the process.
This gist has been converted into a repo: https://github.com/asheroto/Get-SystemInfo
This PowerShell script allows you to bypass TPM 2.0, unsupported CPU, and memory checks enforced by the Windows 11 Upgrade Assistant and setup.exe from Windows installation media. It eliminates common upgrade blocks such as: