Test 2023 08 09 (#1004)

* Add Message confirming restore point created (#953)

* Compile Winutil

* readme update

* remove unnecessary space from property name (#965)

* Compile Winutil

* Add application (#969)

Add BCU to Utilities

* Update winget.ps1 (#979)

I just updated the script to version 3.0.0 and am pushing this out to your project too. 😊

https://github.com/asheroto/winget-install

You can use the signed version from releases if preferred.

* Compile Winutil

* Commit to fix #983

* Compile Winutil

* Disables the icons on the taskbar for: (#996)

- Chat/Teams
- Search Bar
- Task View
- Widgets

* Compile Winutil

* Add naps2 (#999)

* Compile Winutil

* Update autohotkey id (#1000)

* Compile Winutil

* fix package name (#1001)

* Compile Winutil

---------

Co-authored-by: Stephen Harris <stephen@lunamile.com>
Co-authored-by: ChrisTitusTech <ChrisTitusTech@users.noreply.github.com>
Co-authored-by: edelvarden <42596339+edelvarden@users.noreply.github.com>
Co-authored-by: Giannis Lagodimos <62063308+Giann1s@users.noreply.github.com>
Co-authored-by: asheroto <49938263+asheroto@users.noreply.github.com>
Co-authored-by: FriendlyButFire <antoguada96@gmail.com>
Co-authored-by: Padsala Tushal <57517785+padsalatushal@users.noreply.github.com>
This commit is contained in:
Chris Titus
2023-09-07 14:37:27 -05:00
committed by GitHub
parent 8e138c38d3
commit 8047393dc8
9 changed files with 712 additions and 194 deletions

View File

@ -20,6 +20,13 @@ function Set-WinUtilRestorePoint {
Write-Host "An error occurred while enabling System Restore: $_"
}
# Check if the SystemRestorePointCreationFrequency value exists
$exists = Get-ItemProperty -path "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SystemRestore" -name "SystemRestorePointCreationFrequency" -ErrorAction SilentlyContinue
if($null -eq $exists){
write-host 'Changing system to allow multiple restore points per day'
Set-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SystemRestore" -Name "SystemRestorePointCreationFrequency" -Value "0" -Type DWord -Force -ErrorAction Stop | Out-Null
}
# Get all the restore points for the current day
$existingRestorePoints = Get-ComputerRestorePoint | Where-Object { $_.CreationTime.Date -eq (Get-Date).Date }
@ -28,5 +35,6 @@ function Set-WinUtilRestorePoint {
$description = "System Restore Point created by WinUtil"
Checkpoint-Computer -Description $description -RestorePointType "MODIFY_SETTINGS"
Write-Host -ForegroundColor Green "System Restore Point Created Successfully"
}
}