mirror of
https://github.com/ChrisTitusTech/winutil
synced 2026-02-05 07:20:09 +00:00
Compile Winutil
This commit is contained in:
committed by
github-actions[bot]
parent
9a1fbd77a7
commit
ee0a2818b6
@@ -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
|
||||
|
||||
|
||||
|
||||
```
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
|
||||
|
||||
|
||||
```
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user