Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisTitusTech committed Oct 1, 2024
2 parents b43d310 + 4fa1b0d commit ae74965
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions config/tweaks.json
Original file line number Diff line number Diff line change
Expand Up @@ -2430,12 +2430,6 @@
"Order": "a001_",
"InvokeScript": [
"
# Check if the user has administrative privileges
if (-Not ([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole]::Administrator)) {
Write-Host \"Please run this script as an administrator.\"
return
}

# Check if System Restore is enabled for the main drive
try {
# Try getting restore points to check if System Restore is enabled
Expand Down

0 comments on commit ae74965

Please sign in to comment.