Compile Winutil

This commit is contained in:
ChrisTitusTech
2024-08-07 16:57:14 +00:00
committed by github-actions[bot]
parent 9a1fbd77a7
commit ee0a2818b6
19 changed files with 388 additions and 171 deletions

View File

@ -41,7 +41,7 @@ Runs Disk Cleanup on Drive C: and removes old Windows Updates.
cleanmgr.exe /d C: /VERYLOWDISK
Dism.exe /online /Cleanup-Image /StartComponentCleanup /ResetBase
```

View File

@ -81,7 +81,7 @@ Most modern laptops have connected standby enabled which drains the battery, thi
Start-Process -FilePath powercfg -ArgumentList "/change standby-timeout-dc 60" -NoNewWindow -Wait
Start-Process -FilePath powercfg -ArgumentList "/change monitor-timeout-ac 10" -NoNewWindow -Wait
Start-Process -FilePath powercfg -ArgumentList "/change monitor-timeout-dc 1" -NoNewWindow -Wait
```
## Undo Script
@ -96,7 +96,7 @@ Most modern laptops have connected standby enabled which drains the battery, thi
Start-Process -FilePath powercfg -ArgumentList "/change standby-timeout-dc 15" -NoNewWindow -Wait
Start-Process -FilePath powercfg -ArgumentList "/change monitor-timeout-ac 15" -NoNewWindow -Wait
Start-Process -FilePath powercfg -ArgumentList "/change monitor-timeout-dc 15" -NoNewWindow -Wait
```
## Registry Changes
@ -113,7 +113,7 @@ You can find information about the registry on [Wikipedia](https://www.wikiwand.
**New Value:** 2
### Registry Key: Attributes
### Registry Key: Attributes
**Type:** DWord

View File

@ -126,7 +126,7 @@ Creates a restore point at runtime in case a revert is needed from WinUtil modif
Checkpoint-Computer -Description $description -RestorePointType "MODIFY_SETTINGS"
Write-Host -ForegroundColor Green "System Restore Point Created Successfully"
}
```

View File

@ -428,7 +428,7 @@ Disables Microsoft Telemetry. Note: This will lock many Edge Browser settings. M
# Disable Defender Auto Sample Submission
Set-MpPreference -SubmitSamplesConsent 2 -ErrorAction SilentlyContinue | Out-Null
```
## Registry Changes