added xbox gaming overlay and unblock files powershell

This commit is contained in:
2025-12-17 13:16:28 +01:00
parent cda56e3a95
commit b8e992f90e
2 changed files with 19 additions and 0 deletions

15
Windows/Unblock-Files.ps1 Normal file
View File

@@ -0,0 +1,15 @@
# Unlock all files in the specified directory
param ([string]$directoryPath)
if (Test-Path $directoryPath) {
$files = Get-ChildItem -Path $directoryPath
foreach ($file in $files) {
Unblock-File -Path $file.FullName
Write-Host "Unlocked: $($file.FullName)"
}
}
else {
Write-Host "Incorrect path"
}

View File

@@ -0,0 +1,4 @@
Get-AppxPackage Microsoft.XboxGamingOverlay | Remove-AppxPackage
reg add HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\GameDVR /f /t REG_DWORD /v "AppCaptureEnabled" /d 0
reg add HKEY_CURRENT_USER\System\GameConfigStore /f /t REG_DWORD /v "GameDVR_Enabled" /d 0