added xbox gaming overlay and unblock files powershell
This commit is contained in:
15
Windows/Unblock-Files.ps1
Normal file
15
Windows/Unblock-Files.ps1
Normal 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"
|
||||
}
|
||||
4
Windows/Xbox Gamebar/Remove-ms-gamingoverlay.ps1
Normal file
4
Windows/Xbox Gamebar/Remove-ms-gamingoverlay.ps1
Normal 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
|
||||
Reference in New Issue
Block a user