Clean some code

main
Plínio Larrubia 4 years ago committed by Plínio Larrubia
parent 18fa40a230
commit 9c74fdfd57
No known key found for this signature in database
GPG Key ID: 057B0A87CB137C69

@ -65,9 +65,9 @@ REM #
@ECHO.
pushd scripts
@PowerShell Get-ExecutionPolicy -List
@PowerShell Set-ExecutionPolicy Unrestricted -Force -Scope CurrentUser
@PowerShell Set-ExecutionPolicy Unrestricted -Force -Scope LocalMachine
@PowerShell Get-ExecutionPolicy -List
@PowerShell -NoProfile ls -Recurse *.ps*1 Unblock-File
@PowerShell ls
@ECHO.
@ -88,9 +88,8 @@ cls && @ECHO ===================================================================
PowerShell -NoProfile -ExecutionPolicy Bypass -file .\optimize-windows-update.ps1
cls && @ECHO ========================================================================================= && @ECHO remove-default-apps.ps1 && @ECHO.
PowerShell -NoProfile -ExecutionPolicy Bypass -file .\remove-default-apps.ps1
cls && @ECHO ========================================================================================= && @ECHO repair-100%-disk-usage.ps1 && @ECHO.
PowerShell -NoProfile -ExecutionPolicy Bypass -file ".\repair-100%%-disk-usage.ps1"
@REM PowerShell -NoProfile -ExecutionPolicy Bypass -file .\remove-onedrive.ps1
cls && @ECHO ========================================================================================= && @ECHO remove-onedrive.ps1 && @ECHO.
PowerShell -NoProfile -ExecutionPolicy Bypass -file .\remove-onedrive.ps1
popd
cls && @ECHO ========================================================================================= && @ECHO ///***EXTRA***\\\ && @ECHO.
@ -122,9 +121,9 @@ REM ShutUp10 is portable now
start OOSU10.exe ooshutup10.cfg REM /quiet
@popd
@PowerShell Get-ExecutionPolicy -List
@PowerShell Set-ExecutionPolicy Restricted -Force -Scope CurrentUser
@PowerShell Set-ExecutionPolicy Restricted -Force -Scope LocalMachine
@PowerShell Get-ExecutionPolicy -List
taskkill /F /IM explorer.exe

@ -125,4 +125,6 @@ reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Ad
# *** Show file extensions in Explorer ***
reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "HideFileExt" /t REG_DWORD /d 0 /f
Write-Output "*** Misc. Tweaks ***"
Start-Process wsreset

@ -74,7 +74,7 @@ $apps = @(
# Redstone 5 apps
"Microsoft.MixedReality.Portal"
"Microsoft.ScreenSketch"
"Microsoft.XboxGamingOverlay"
#"Microsoft.XboxGamingOverlay"
#"Microsoft.YourPhone"
# non-Microsoft

Loading…
Cancel
Save