Skip to content

Commit

Permalink
Update script.ps1
Browse files Browse the repository at this point in the history
  • Loading branch information
choc1024 authored Mar 15, 2024
1 parent 5e16651 commit 7885a80
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions script.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Get the ID and security principal of the current user account
# Get the ID and security principal of the current user account
$myWindowsID=[System.Security.Principal.WindowsIdentity]::GetCurrent()
$myWindowsPrincipal=new-object System.Security.Principal.WindowsPrincipal($myWindowsID)

Expand Down Expand Up @@ -43,4 +43,4 @@ reg delete "HKLM\Software\Microsoft\WindowsSelfHost" /f
reg delete "HKLM\Software\Policies" /f
reg delete "HKLM\Software\WOW6432Node\Microsoft\Policies" /f
reg delete "HKLM\Software\WOW6432Node\Microsoft\Windows\CurrentVersion\Policies" /f
reg delete "HKLM\Software\WOW6432Node\Microsoft\Windows\CurrentVersion\WindowsStore\WindowsUpdate" /f
reg delete "HKLM\Software\WOW6432Node\Microsoft\Windows\CurrentVersion\WindowsStore\WindowsUpdate" /f

0 comments on commit 7885a80

Please sign in to comment.