mirror of
https://github.com/ChrisTitusTech/winutil.git
synced 2024-11-14 14:45:52 -06:00
Update winutil.ps1
This commit is contained in:
parent
0c7ce9cb2c
commit
b53afd0fb7
@ -1062,7 +1062,7 @@ $WPFtweaksbutton.Add_Click({
|
|||||||
|
|
||||||
Write-Host "Finished Removing Bloatware Apps"
|
Write-Host "Finished Removing Bloatware Apps"
|
||||||
$WPFEssTweaksDeBloat.IsChecked = $false
|
$WPFEssTweaksDeBloat.IsChecked = $false
|
||||||
|
}
|
||||||
Write-Host "Doing Security checks for Administrator Account and Group Policy"
|
Write-Host "Doing Security checks for Administrator Account and Group Policy"
|
||||||
if(($(Get-WMIObject -class Win32_ComputerSystem | select username).username).IndexOf('Administrator') -eq -1){
|
if(($(Get-WMIObject -class Win32_ComputerSystem | select username).username).IndexOf('Administrator') -eq -1){
|
||||||
net user administrator /active:no
|
net user administrator /active:no
|
||||||
@ -1078,7 +1078,7 @@ $WPFtweaksbutton.Add_Click({
|
|||||||
Write-Host "================================="
|
Write-Host "================================="
|
||||||
Write-Host "-- Tweaks are Finished ---"
|
Write-Host "-- Tweaks are Finished ---"
|
||||||
Write-Host "================================="
|
Write-Host "================================="
|
||||||
}
|
|
||||||
$ButtonType = [System.Windows.MessageBoxButton]::OK
|
$ButtonType = [System.Windows.MessageBoxButton]::OK
|
||||||
$MessageboxTitle = "Tweaks are Finished "
|
$MessageboxTitle = "Tweaks are Finished "
|
||||||
$Messageboxbody = ("Done")
|
$Messageboxbody = ("Done")
|
||||||
|
Loading…
Reference in New Issue
Block a user